Measure correctness: bracket check and a 102-row tagged hand test #12

Merged
paultal merged 1 commits from issue-3-eval-correctness into main 2026-11-27 01:29:25 +02:00
Owner

Closes #3 (first two items; render-match evaluation is left for later).

  • isotope-eval reports a balanced column next to exact and compiles, because Typst math renders unbalanced parens without an error.
  • Hand-test exact match is broken down by category: basic, bigop, equation, variables, robustness, bounds, bigop-lhs, long, new-math, numbers.
  • eval/hand_test.jsonl grows from 32 to 102 rows, built from the stress-test failures in #2 and #4–#9. Each row has a cat field.
  • New tests/test_evaluate.py checks the bracket function and that every hand-test target compiles, is balanced and is unique.

Baseline with the current model: hand exact 41.2%, compiles 99.0%. Basic and bigop are at 95–100%, equation 43%, variables 0%.

Merge this first so #2 and #4 can be measured.

Closes #3 (first two items; render-match evaluation is left for later). - `isotope-eval` reports a **balanced** column next to exact and compiles, because Typst math renders unbalanced parens without an error. - Hand-test exact match is broken down by category: basic, bigop, equation, variables, robustness, bounds, bigop-lhs, long, new-math, numbers. - `eval/hand_test.jsonl` grows from 32 to 102 rows, built from the stress-test failures in #2 and #4–#9. Each row has a `cat` field. - New `tests/test_evaluate.py` checks the bracket function and that every hand-test target compiles, is balanced and is unique. Baseline with the current model: hand exact 41.2%, compiles 99.0%. Basic and bigop are at 95–100%, equation 43%, variables 0%. Merge this first so #2 and #4 can be measured.
paultal added 1 commit 2026-11-27 01:26:27 +02:00
compiles alone accepts unbalanced parens and stray letters, so isotope-eval
now also reports a balanced column and breaks hand-test exact match down by
category (equation, variables, robustness, bounds, bigop-lhs, long, ...).
The new rows come from the stress-test failures in #2 and #4-#9.

Baseline with the current model: hand exact 41.2%, compiles 99.0%.

Refs #3
paultal merged commit 40145d1fce into main 2026-11-27 01:29:25 +02:00
Sign in to join this conversation.