Skip to content

Identify all field types in CUAD dataset#25

Open
anaynasingh wants to merge 5 commits into
TheAtticusProject:mainfrom
anaynasingh:claude/cuad-field-types-roRPy
Open

Identify all field types in CUAD dataset#25
anaynasingh wants to merge 5 commits into
TheAtticusProject:mainfrom
anaynasingh:claude/cuad-field-types-roRPy

Conversation

@anaynasingh
Copy link
Copy Markdown

Extracted the 5 documents with the most annotated clauses from CUADv1.json for use in the loan extractor engine.

https://claude.ai/code/session_01LUzUuGk96w6XUAcus9Gcrs

claude added 5 commits April 16, 2026 17:43
Extracted the 5 documents with the most annotated clauses from CUADv1.json
for use in the loan extractor engine.

https://claude.ai/code/session_01LUzUuGk96w6XUAcus9Gcrs
Organises rough session notes into structured action items across 13 areas:
multi-span schema, confidence display, metrics, scoring systems, FP/FN analysis,
field QA, dashboard improvements, seed data, and dataset expansion.

https://claude.ai/code/session_01LUzUuGk96w6XUAcus9Gcrs
Covers root causes of poor scores (multi-span schema mismatch + narrow field
descriptions), improved descriptions for 4 problem fields, and prioritised
fix list with concrete examples from CUAD GT.

https://claude.ai/code/session_01LUzUuGk96w6XUAcus9Gcrs
9 attack contracts + 1 clean baseline covering: direct instruction override,
fake system prompt blocks, role hijack, system prompt exfiltration, confidence
inflation, hidden HTML comment injection, fake assistant turn, tab-hidden
injection, and schema format override. Includes automated test runner.

https://claude.ai/code/session_01LUzUuGk96w6XUAcus9Gcrs
…nner

Layer 2: schema type checks, value length guards, unknown field detection,
and injection keyword scan across all field values — catches unknown attacks
without needing to know the payload upfront.

Layer 3: Claude-as-judge reads contract + extraction and flags manipulated
output. Opt-in via --layer3 flag, requires --anthropic-key.

https://claude.ai/code/session_01LUzUuGk96w6XUAcus9Gcrs
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