Skip to content

Add cross-clause contradiction detector (use-cases/palak171) - #11

Open
palak171 wants to merge 1 commit into
superdocsapp:mainfrom
palak171:cross-clause-contradiction-detector-palak-grover
Open

Add cross-clause contradiction detector (use-cases/palak171)#11
palak171 wants to merge 1 commit into
superdocsapp:mainfrom
palak171:cross-clause-contradiction-detector-palak-grover

Conversation

@palak171

@palak171 palak171 commented Aug 8, 2026

Copy link
Copy Markdown

Name: Palak Grover

Cross-clause contradiction detector, built on the SuperDocs API for the SuperDocs Round 2 assigned build (Full-Stack AI Engineer). Finds contradictions between contract clauses, explains them, and proposes reviewable edits through SuperDocs' human-in-the-loop approval flow.

Verified live against the real API — see LIVE_VERIFICATION.md in the project folder: the default model tier missed a genuine contradiction that max/deep caught correctly, and both tiers correctly avoided flagging a deliberate near-miss (a valid invoice-dispute carve-out). A real bug was found and fixed along the way (Windows console encoding crash on emoji in SuperDocs' response text).

Built on the SuperDocs API for the SuperDocs Round 2 assigned build. Uses
the chat/search surface for read-only contradiction detection and the
Review/HITL surface for per-change approve/reject edits, then exports the
result. Verified live: default model tier missed a genuine contradiction
that max/deep caught correctly, while both correctly left a deliberate
near-miss (a valid invoice-dispute carve-out) unflagged. 12 tests pass
against a mocked API, no live key required.
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