Skip to content

test(llmops): reproduce checker JSON failure on typographic quotes - #21

Closed
bweinzierl wants to merge 1 commit into
networkteam:mainfrom
Format-D:fix/json-typographic-quotes
Closed

bweinzierl wants to merge 1 commit into
networkteam:mainfrom
Format-D:fix/json-typographic-quotes

Conversation

@bweinzierl

@bweinzierl bweinzierl commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a reproduction for #. Test only, no fix.

  • json_response_test.go: JSON containing typographic quotes parses; a closing quote normalized to an unescaped " is rejected.
  • writingguide_eval_test.go: eval case with a German draft using „…“. It currently fails (1/6 on claude-sonnet-4-6).

SDD_EVAL_CONFIG=~/.config/sdd/config.yaml SDD_EVAL_RUNS=6 go test -tags=eval -run TestWritingGuideEval_TypographicQuotesStayValidJSON ./internal/llmops/ -v

refs #20

RetriggerConfidence Score: 5/5

The test-only PR appears safe to merge; its live eval intentionally records a currently failing behavior.

Summary

Adds deterministic JSON-response cases for typographic quotes and a live writing-guide eval case that reproduces the reported malformed-response behavior.

Reviews (1) · Last reviewed commit: "test(llmops): reproduce checker JSON fai..."

@hlubek

hlubek commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for the reproduction cases. They are carried over into #26, anonymized: the parser cases as tests, and the German draft as an eval case. #26 fixes #20 with native structured output: pre-flight and the writing guide now send a JSON schema that each provider enforces, so typographic quotes in a draft can no longer break the response. Closing this in favour of #26.

@hlubek hlubek closed this Nov 2, 2026
fza pushed a commit to fza/sdd that referenced this pull request Nov 8, 2026
Carries the parser cases and the eval case of networkteam#21, anonymized: the networkteam#21
draft crossed with typographic, ASCII and code-like characters, plus the
past JSON failures, as data files the format evals read. Every response
is recorded raw for later scoring (20261031-141038-d-tac-p8l).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.

2 participants