Skip to content

fix(scoring): unwrap \color/\textcolor/\underline presentation wrappers - #501

Open
marktech0813 wants to merge 1 commit into
James-CUDA:mainfrom
marktech0813:fix/497-color-underline-unwrap
Open

fix(scoring): unwrap \color/\textcolor/\underline presentation wrappers#501
marktech0813 wants to merge 1 commit into
James-CUDA:mainfrom
marktech0813:fix/497-color-underline-unwrap

Conversation

@marktech0813

Copy link
Copy Markdown
Contributor

Summary

  • Peel \color{c}{x}, \textcolor{c}{x}, \underline{x} like font wrappers.
  • CI helpers: ruff <0.16, DROP leading-decimal edge-strip.

Fixes #497

Test plan

  • pytest tests/test_reward_color_underline.py
  • CI green

Made with Cursor

These change appearance only; leave them intact and boxed colored answers
never match plain gold (James-CUDA#497).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

[bug] MATH grader: \color/\textcolor/\underline wrappers survive normalize — \boxed{\color{red}{5}} ≠ 5

1 participant