mirror of
https://github.com/addyosmani/agent-skills.git
synced 2026-10-26 15:05:04 +00:00
Two hardening changes to parseGrading: - Once a result's id is validated, overwrite its text with the declared expectation at that index. The id is the binding, so a grader that paraphrases an expectation no longer leaks its own wording into the saved grading report. - Stop rejecting a grading whose summary.pass_rate disagrees with the counters. pass_rate is derived, not an independent observation, so a rounded or mis-divided value is now recomputed from the validated results instead of discarding the run. The integer counters (passed/failed/total) remain exact-match checks. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>