Eval-Gerüst gegen aufgezeichnete Antworten #10

Merged
torben merged 9 commits from 4-eval-harness into main 2026-12-02 18:40:45 +00:00
9 Commits
Author SHA1 Message Date
torbenandClaude Sonnet 5.5 ecba5f32a3 Document the eval command in CLAUDE.md and eval-runner
CI / checks (pull_request) Successful in 35s
Replace the placeholder text now that chemenu-eval exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 1fe53dfe12 Run the example eval set in CI
Separate Evals step after Pytest; other checks unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 c423e1039c Add example eval set and its test
Three recorded cases for an entity-extraction step; threshold 1.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 53bed333de Add eval runner, report and chemenu-eval command
Scores each case against its recorded response, prints one line per case plus a summary, and exits 0, 1 or 2 (load error).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 77097dd81c Add eval set and recorded response loader
load_eval_set turns a set directory into an EvalSet; every load
failure becomes an EvalSetError naming the file. RecordedResponses
returns raw response text or None.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 4a6e4ef2a8 Add PyYAML and its type stubs for the eval loader
Eval sets are YAML files; types-PyYAML keeps pyright strict.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 76f2fbbf06 Add eval types and hard graders
Pure grading of recorded responses: equals and contains checks over
JSON Pointers, strict output-model validation, score per case.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 c4e8f35858 Add pydantic dependency
Needed for the typed eval specs and output models.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 86092d8d81 Add ADR 0002 on the eval harness
Record layout, output schema and set format decisions from #4, plus
architecture entry and glossary terms.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00