On 17 November 2026 the preprint RagHarnessDebugger appeared on arXiv, signed by five authors led by Moriya Dechtiar. S97 It describes a system that retrieves passages from non-disclosure agreements, lets a language model answer, and then tries to repair a wrong answer. Jev does not answer the question about the contract; it only steers which evidence reaches the language model. S97 For anyone building a similar loop the work is useful for two reasons: it shows which decisions Jev proved suited to in the authors' hands, and it measures how many correct answers the repair mechanism breaks. This is a preprint, meaning a text that has not gone through peer review.
Where exactly Jev sits in the system
The task comes from the ContractNLI dataset. A statement is given for a contract and the system has to determine whether the contract supports it, contradicts it, or does not address it. S97 The procedure has six steps: passage retrieval, reading with first checks, reading repair, evidence repair, validation and final adjudication. Two language models do the reading, gpt-5.6-terra and gemini-3.5-flash-lite, both at temperature zero. S97
Jev (typesafe/jev-1.13) has several narrow jobs in this procedure. It reranks the retrieved passages. Among those that did not make it into the evidence package, it ranks the 30 best by BM25 together with the option "none of these"; the number is configurable. The gate for adding evidence opens only when a reading reports that the package is insufficient and Jev also places some unselected passage above that option. When the budget is full, Jev picks what drops out of the package, and it also judges whether an added passage distracts the reader. The initial package holds 800 approximate tokens and edits may add at most 600. S97
The vendor documentation meanwhile lists Jev 1.14 as the newest release, available from 14 October 2026. S01 The preprint therefore measured an older version; what the alias change means for an integration is covered in the article on jev-latest moving to Jev 1.14.
Accuracy rose only slightly
The authors worked with two sets. The development set had 100 contracts with four statements each, which with two readers gives 800 runs. The replication set had 22 contracts with all 17 statements, that is 748 runs. According to the authors, the replication set is not an untouched hold-out sample, because its initial packages and answers were produced and inspected in an earlier evaluation. S97
BM25 retrieval alone reached an accuracy of 77.75% on the development set and 77.01% on the replication set. With the evidence package ordered by Jev, the initial answer had an accuracy of 80.25% and 79.81%; the table gives no confidence interval for this difference. The revised version of the whole system ended at 81.38% and 80.75%. Compared with the initial answer that is an improvement of 1.12 points with an interval from 0.12 to 2.25, and of 0.94 points with an interval from 0.00 to 2.01. These are 95% intervals that the authors did not adjust for multiple comparisons. Reading the whole contract gave 80.25% and 78.34%, but the authors list it only as a reference, because it is not realistic for long contracts. S97
The first version repaired a lot and broke a lot
The story of the first version is more interesting. It had almost the same accuracy as the initial answer, 80.12% and 79.68%, yet large shifts were happening beneath the surface. It repaired 20.9% and 16.6% of the initially wrong answers and at the same time broke 5.3% and 4.4% of the initially correct ones. The revised version repaired less, 9.5% and 9.3%, but broke only 0.9% and 1.2% of correct answers. The intervals for the difference between the versions, however, include zero. S97
One of the first version's defects concerned Jev directly. Passages were added and dropped according to a fixed threshold on its score. According to the authors this did not change accuracy, but it shifted the balance between repairs and broken answers; the preprint does not state the threshold value. The cost per 1,000 runs fell by 30.5% and 32.3% in the revised version; absolute amounts are missing from the text. S97
Where the repairs get lost
The audit of recorded runs showed that the system missed 77% of the available repairs on the development set and 76% on the replication set. Most of them were stopped by a veto in the last step: if the selected candidate carried an objection from a reader that had not seen the preceding course of the run, the system went back to the initial answer. S97
The veto is not pointless, though. Replaying the runs without it, the authors found that it prevented 87% of potential breakages on the development set (40 of 46) and 80% on the replication set (28 of 35). It also blocked 63% of potential repairs (25 of 40) and 59% (20 of 34). The net effect was positive in both sets. S97
The authors also proposed a flag that does not need the correct answers. It captured 88% and 86% of the missed repairs while marking only 15% and 13% of the runs. Most of the flagged runs had a correct answer, so the flag serves to select cases for review, not to detect errors. S97
What to take away
The authors write that Jev outperformed the language models only on narrowly scoped decisions, such as ranking evidence, and was less useful as a reader. Its advice on the answers themselves did not improve performance. S97 A Slovak developer building document search or a customer support assistant for an online shop can take three practices from the preprint that the authors describe. The first is to give Jev a narrow question about passages and include "none of these" among the options, so the model does not have to pick something at any cost. The second is not to measure a repair loop by overall accuracy alone, but to count repaired and broken answers separately. The third is to also record the decisions that the final safeguard rejected, so that it is possible to find out afterwards what it cost. S97
The results have clear limits. They come from one dataset of non-disclosure agreements, from two reader models and from an older version of Jev. The authors themselves recommend verification on further tasks, contract types and models, so that one can tell what holds generally and what holds only for their system. S97 We covered a related topic, verifying claims in RAG, in connection with a different preprint.
Sources and level of verification
- S97RagHarnessDebugger: Jev-Guided Agentic RAG in Contract Inference Repair Auditing ↗
arXiv · Primary source retrieved · check attempted 22 November 2026
- S01Models ↗
TypeSafe AI · Primary source retrieved · check attempted 3 December 2026