DOCUMENTS · SYSTEMS · EXPERIMENTAL METHOD
Follow the Thread.
Find where a value went wrong. Rehearse a repair. Keep the proof.
DESIGN & ENGINEERING
Factura.
PR-1042USD · SYNTHETIC
The document says $1,300. The system returned $1,800. Every stage completed. Follow the value to find the missing check.
03 / THE EXPERIMENT
Change one rule.
Keep the same evidence.
Require a matching source. Route uncertain recognition to a person. The number itself stays untouched.
An illustrative review policy. Lower it to 60 to expose a regression.
The amount has a valid shape. This rule does not inspect its evidence.
Run the proposed rule against this exact fixture.
04 / THE PROOF
A failure becomes a test.
7 assertions, including the case this repair cannot solve.
The Python download includes the validator, fixtures, and your current threshold. Run python3 thread-regression-80.py. No packages or account required.
WHY A WEB?
Make the hidden
connections visible.
A spider’s web carries information through its structure. Here, a thread connects a value to inspectable evidence. The drawing is a map of those relationships, with an architectural section that opens on demand.
The research behind the inspirationWHAT THIS PROVES
Bounded claims.
Reproducible work.
This prototype executes a deterministic validator. The Textract-shaped and Bedrock-shaped responses are hand-authored fixtures. It does not call AWS, infer code dependencies, or run an AI model. The tenant test uses a supplied trusted context; production authentication and storage isolation require separate integration tests.
High-confidence mistakes can still pass. Confidence alone cannot establish business correctness.
Inspect the Python validatorThe person behind the project
A note from Luis.
Document interfaces connect my professional experience with my interest in making hidden relationships visible. This is the rule-testing notebook behind that idea, using authored examples rather than private documents or live OCR.
Who it helps
Engineers checking the rules behind document review.
Try this
Select a suspicious total, inspect its source, then run the regression suite after changing the rule.
Start with the guided Fondeo story