Repository navigation
Fix: report cards read model replies written in markdown - #62
Merged
Merged
Conversation
…le case A model asked for `JUDGMENT: CORRECT` will print `**JUDGMENT:** CORRECT`, put the lines in a list, wrap the reply in a code fence or write the key in title case. The report parser now ignores all of that, so the card shows the headline chip, quotation and callout instead of falling back to the raw text. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After the release, a real KATALYST run of Workshop 1 showed the conceptual assessment as raw
JUDGMENT: …text instead of the headline chip, quotation and next-step callout. The parser only accepted bare upper-caseKEY: valuelines, and the model wraps its keys in markdown bold, lists them or writes them in title case.parseReportnow ignores list markers, heading hashes, markdown emphasis around keys and values, code fences and full-width colons, and accepts the prompt contract's keys in title case.output-presentation.spec.ts; the frontend card tests still pass unchanged.Verification
ResultCard,yarn typecheckandyarn lint:checkgreen.🤖 Generated with Claude Code