Skip to content

[BUG FIX] [MER-5037] handle legacy numeric match patterns with operators like >,>=,!= #290

Merged
rgachuhi merged 1 commit intomasterfrom
MER-5037-handle-numeric-operator-rules
Oct 27, 2025
Merged

[BUG FIX] [MER-5037] handle legacy numeric match patterns with operators like >,>=,!= #290
rgachuhi merged 1 commit intomasterfrom
MER-5037-handle-numeric-operator-rules

Conversation

@andersweinstein
Copy link
Contributor

Legacy match patterns for numeric questions could include a math operator before the number, though use of these was fairly rare. E.g. match=">100" would match if number is greater than 100. Patterns of this form were not being handled by migration tool. This PR fixes migration tool to translate match patterns of this form into the appropriate torus rules.

There are a few examples in the legacy CS111 course at
https://svn.oli.cmu.edu/svn/content/editor/projects/echo-oli-cmu-edu/cs111-dnfwscpn/branches/v_2_8-echo

@rgachuhi rgachuhi merged commit eb364aa into master Oct 27, 2025
2 checks passed
@rgachuhi rgachuhi deleted the MER-5037-handle-numeric-operator-rules branch October 27, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants