Skip to content

Fix for mismatched brackets#265

Open
m-messer wants to merge 1 commit into
mainfrom
fix/mismatched_brackets
Open

Fix for mismatched brackets#265
m-messer wants to merge 1 commit into
mainfrom
fix/mismatched_brackets

Conversation

@m-messer

Copy link
Copy Markdown
Member

With the change in #263, students could enter mismatched brackets [x+y), and it would be translated to (x+y).

This fix requires students to have matched brackets [x+y] for it to pass the preview step. A tag was added to the feedback.

…cket_notation` for better handling of mismatched brackets

@peterbjohnson peterbjohnson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle this looks good, including the custom feedback.

I suggest try it out in the app after deployment to double check UX.

I haven't checked the detail of the code is it's quite dispersed through the function so harder to check - I don't want to add delays.

@m-messer

Copy link
Copy Markdown
Member Author

Thanks, it is currently deployed on the LF staging instance if you want to try it before merging. Otherwise, I'll merge on Monday.

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