Add symbolic + structural math validation - #27
Merged
Tom-van-Woudenberg merged 20 commits intoSep 8, 2026
Merged
Conversation
Copilot
AI
changed the title
[WIP] Add MS mode for math mode questions with variable checking
Add Aug 3, 2026
MS short-answer mode for symbolic + structural math validation
MS short-answer mode for symbolic + structural math validationMV short-answer mode for symbolic + structural math validation
…tions use variable-role checking; rename MEQE to MVE
Member
|
Tested here: https://oit.tudelft.nl/CTB2210/test_MV/krachtenmethode_vakwerk/lesoefeningen.html |
Tom-van-Woudenberg
marked this pull request as ready for review
August 3, 2026 05:03
Member
|
Shouldn't this be a (necessary) improvement of M, instead of its own type? |
Member
|
@douden, if we would make this the standard behaviour of M[], do you see any issues? |
Member
|
I would not see any issues. |
Copilot stopped work on behalf of
Tom-van-Woudenberg due to an error
September 8, 2026 10:52
Copilot stopped work on behalf of
Tom-van-Woudenberg due to an error
September 8, 2026 10:54
…s separate mode Co-authored-by: Tom-van-Woudenberg <122541126+Tom-van-Woudenberg@users.noreply.github.com>
MV short-answer mode for symbolic + structural math validation
Tom-van-Woudenberg
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The existing M[...] mode accepts any symbolically equivalent expression, which can wrongly mark variable-swapped answers as correct (e.g.,
w_C = 0accepted forw_B = 0, orD*x + Caccepted forC*x + D). This PR introducesMV[...](Vfor variable-aware) to require both symbolic equivalence and structural variable-role consistency, while still accepting any valid mathematical arrangement.How MV works:
M^2*C^2/M) are correctly accepted.D + C*xmatchesC*x + D).D*x + Cdoes not matchC*x + D).E/m = c^2is accepted forE = m*c^2).