Skip to content

Add syntax selection for instructor-authored exercises#139

Merged
sidprasad merged 2 commits intomainfrom
codex/instructor-exercise-syntax
Mar 5, 2026
Merged

Add syntax selection for instructor-authored exercises#139
sidprasad merged 2 commits intomainfrom
codex/instructor-exercise-syntax

Conversation

@sidprasad
Copy link
Contributor

Summary

  • add per-exercise syntax setting for instructor-authored exercises (Classic/Forge/Electrum)
  • add student start-time syntax chooser for instructor exercises without a fixed syntax
  • render instructor exercise formulas in the resolved syntax before display and show active syntax in the exercise view
  • persist ltlsyntax cookie from the chosen/resolved syntax to keep UI consistent

Validation

  • python -m py_compile src/app.py src/authroutes.py
  • pytest -q test/test_parsing.py (fails in this environment because inflect is missing)

Notes

  • left unrelated change in experiments/preprocess_responses.ipynb untouched

@sidprasad sidprasad merged commit 4084bf9 into main Mar 5, 2026
1 check passed
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.

1 participant