Skip to content

docs: define typed assistant response and citation contract - #25

Merged
PureSaber merged 2 commits into
masterfrom
codex/llm-notebook-acceptance
Oct 22, 2026
Merged

PureSaber merged 2 commits into
masterfrom
codex/llm-notebook-acceptance

Conversation

@PureSaber

@PureSaber PureSaber commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

The public assistant response contract left the claims container, citation root and value types open to interpretation. Real model runs produced metric dictionaries, /content-prefixed references and quoted booleans. Define a preferred JSON Schema, field shapes and general decision/caveat rules; document pointers relative to each source's content.

This clarifies the existing interface without changing cases, scoring code, frozen labels or model answers. The documentation explicitly states that v1 requires exact citation sets, cannot recognize all semantically equivalent references, and has a parsed-integer restriction beyond JSON Schema's mathematical integer type.

Validation: 26 local Notebook/assessment regressions pass. An independent JSON Schema validator accepts the schema; 10 type checks and claim-key coverage checks pass. Independent review accepts the clarification after documenting citation and integer limitations. The final live public regression generated 13 responses with no retries: 18/18 values correct, strict case score 9/13, with four citation failures retained. This is a public regression, not an unseen holdout; several prompt-contract revisions preceded the final run.

Before merging on 2026-10-22, all 6 hosted CI checks passed on the updated PR head and the 26 local Notebook/assessment regressions passed again. Real historical market data remains pending. No runtime dependencies or financial scoring rules change; rollback is a two-file revert.

@PureSaber
PureSaber merged commit 0ffcc9e into master Oct 22, 2026
6 checks passed
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.

1 participant