pair_id stringlengths 16 16 | final_pair_has_conflict stringclasses 2
values | final_conflict_count int64 0 4 | final_conflict_types stringclasses 17
values |
|---|---|---|---|
0034b12591ebd140 | no | 0 | null |
007672813709e5ee | no | 0 | null |
009b84d9fca3298b | no | 0 | null |
021517de10593319 | yes | 2 | style_or_api |
0288f62c8d7429d2 | no | 0 | null |
0354eff8765b93d2 | no | 0 | null |
03e5da9641a55d6b | no | 0 | null |
042451163449f4b7 | no | 0 | null |
06a5fdaae53f3ca9 | no | 0 | null |
076786a9bd0f8446 | no | 0 | null |
0a4f35c1791b055d | no | 0 | null |
0b725538e30e780f | no | 0 | null |
0be047ef69817ebc | no | 0 | null |
0d6334247e36e55b | yes | 4 | polarity;command_or_toolchain;version_or_dependency;style_or_api;other |
0d7306540002a51e | yes | 1 | polarity;safety_or_permission |
0e76f89aa0d542dc | no | 0 | null |
0ef771f62a0b5f49 | no | 0 | null |
11eef15671c51297 | yes | 1 | style_or_api |
12246d34a19c4785 | no | 0 | null |
129234dd9e7e3896 | no | 0 | null |
12d4e7a6b1ce70e8 | no | 0 | null |
139d63f32c8aa430 | no | 0 | null |
1747041dbdc45c40 | no | 0 | null |
17bd2ffe4cdd15ac | no | 0 | null |
188c2729caab35dd | no | 0 | null |
18ce448b52c05218 | no | 0 | null |
196534ec91ca7fa9 | yes | 1 | polarity;validation_or_release |
19eaf880629ede31 | no | 0 | null |
1a6170755b678a72 | no | 0 | null |
1a9b66788b330efe | no | 0 | null |
1aeb072572d35ff5 | yes | 3 | command_or_toolchain;architecture_or_location;style_or_api |
1aebdc74fced0740 | no | 0 | null |
1bba8913906f50fe | yes | 1 | architecture_or_location |
1c8d702eafbe9386 | no | 0 | null |
1db6204c25f0f4d9 | no | 0 | null |
1ec9b90aac801fb8 | yes | 1 | command_or_toolchain;validation_or_release |
2163b61c3ed3b67e | no | 0 | null |
2233c7fd432b5990 | no | 0 | null |
224fb8b98243d9f3 | no | 0 | null |
22e740d2ae0583c9 | yes | 1 | other |
27604f1e4711e80f | no | 0 | null |
27ba57a833600edc | no | 0 | null |
2855ba7780974f1a | no | 0 | null |
2880d6acaa401a62 | no | 0 | null |
28ba16116b8fef2b | no | 0 | null |
2abc877ec411be90 | yes | 1 | command_or_toolchain |
2adcca1e94d3a167 | yes | 1 | polarity |
2bad3a62e28f2b7f | no | 0 | null |
2cb39cdbe48ed296 | no | 0 | null |
2ce2629c2aa770ed | no | 0 | null |
2d08c5fd25117c3c | no | 0 | null |
2f65f831bbff2398 | no | 0 | null |
2f96ea8eb78a6f76 | no | 0 | null |
30947b9549a8d19c | no | 0 | null |
330d0db86b148479 | no | 0 | null |
33a47f4fdeb310c2 | no | 0 | null |
35697d960d8a2fcf | yes | 3 | command_or_toolchain;architecture_or_location;style_or_api |
35a0912b8ddd3516 | no | 0 | null |
35a77984f4ff5d36 | yes | 1 | architecture_or_location |
35de6dde2fee42f4 | yes | 1 | version_or_dependency |
35e7255291d5d16b | no | 0 | null |
374deef0b408fd3a | no | 0 | null |
383fef7b3c64506a | no | 0 | null |
38a2fedd45c0e3d3 | no | 0 | null |
38da0dce3db1269b | no | 0 | null |
3b59255840de04c8 | no | 0 | null |
3e67dfd697bbbb3d | no | 0 | null |
3f2ee726b256377b | no | 0 | null |
3ff97a9bf8882e1f | no | 0 | null |
42e2bc7056deacc0 | yes | 1 | validation_or_release |
4458868e3aee4230 | no | 0 | null |
44f389e66d99104e | no | 0 | null |
473cfacb5079d94a | no | 0 | null |
477345b126e6d93a | no | 0 | null |
48ded03772a05714 | no | 0 | null |
4afea1c9ff83bc7e | no | 0 | null |
4b9e8bf749f8f19f | no | 0 | null |
4bfa5af1728f83fe | no | 0 | null |
4d698d0f625e6a99 | no | 0 | null |
4de7d4261934b914 | no | 0 | null |
50b3be832ed78b89 | no | 0 | null |
520fe3702f889244 | no | 0 | null |
52329cadfd09ffde | yes | 2 | polarity;command_or_toolchain |
547ae764858e39f9 | yes | 1 | style_or_api |
5692860598b7a217 | no | 0 | null |
58726d5dd780f9ab | no | 0 | null |
5da0560570eb28a1 | yes | 1 | architecture_or_location |
5fcf983b41f936b5 | no | 0 | null |
61675718ba3f0511 | no | 0 | null |
61a3724ebb5bb224 | no | 0 | null |
643450908b519694 | no | 0 | null |
646ebc7c826436f3 | no | 0 | null |
667fffb3d8cf28af | yes | 3 | command_or_toolchain;version_or_dependency;style_or_api;other |
66a6d8c0a0a70b83 | no | 0 | null |
68b3f573828939b4 | no | 0 | null |
6a92efa65d1e00f8 | yes | 1 | command_or_toolchain |
6a969f4bd3f1b029 | no | 0 | null |
6b327eadc98a7b69 | no | 0 | null |
6c6927907fbfb9e6 | no | 0 | null |
6d7b48f3cc010f1e | yes | 1 | architecture_or_location |
Context Clash: cross-tool coding-agent instruction conflicts
This dataset holds the benchmark behind the paper "Context Clash: Prevalence and Limits of Lightweight Detectors for Cross-Tool Coding-Agent Instruction Conflicts" (arXiv 2612.00485, accepted at ACM SAC 2027). Many repositories keep a separate instruction file for each coding tool, such as AGENTS.md, CLAUDE.md, GEMINI.md, GitHub Copilot instructions and Cursor rules. Each file can look fine on its own while two of them tell an agent to do incompatible things. The benchmark labels 241 eligible file pairs from a probability sample of 128 GitHub repositories as conflicting or not. Two annotators labeled every pair independently, and the final labels were adjudicated.
What you can do with it
- Estimate how common cross-tool conflicts are. 38 of the 241 pairs conflict, and 28 of the 128 repositories have at least one conflicting pair. With the sampling weights, the estimated share of eligible repositories with a conflict is 20.83%.
- See which kinds of conflict occur. Each conflicting pair carries one or more types; commands and toolchains are the most common.
- Evaluate a new conflict detector on the held-out split (149 pairs from 77 repositories, 23 of them conflicting) and compare it with the three screeners in the paper.
Links
- Paper: arXiv:2612.00485 and its Hugging Face paper page
- Full replication package (analysis code, scripts that rebuild the file pairs, scorer for new detectors, derived results): doi.org/10.5281/zenodo.24599998
- Source corpus: A Dataset of Agentic AI Coding Tool Configurations, doi.org/10.5281/zenodo.20090356
What is and is not included
The files here are byte-identical copies of files in the Zenodo package. They contain labels, sampling metadata and detector scores only. Repositories appear as opaque identifiers (repo_ plus a hash). The instruction files themselves, repository names, annotator identities and annotation notes are not included. The instruction files stay under their own repositories' licenses, so they are not redistributed. The Zenodo package includes scripts that rebuild the development and test inputs from the source corpus above.
Tables
labels (default): gold_pair_conflicts.csv
One row per file pair: 241 rows.
| Column | Meaning |
|---|---|
pair_id |
File pair identifier, shared by all tables |
final_pair_has_conflict |
Adjudicated label, yes or no |
final_conflict_count |
Number of distinct conflicts in the pair (0 when there is none) |
final_conflict_types |
Conflict types separated by ;: polarity, command_or_toolchain, version_or_dependency, architecture_or_location, style_or_api, validation_or_release, safety_or_permission, other |
sample: cross_sectional_sample.csv
One row per file pair: 241 rows. The sampling design behind the prevalence estimate.
| Column | Meaning |
|---|---|
pair_id, repository_id |
Pair and opaque repository identifiers |
tool_a, tool_b |
The two tools whose instruction files form the pair: agents (AGENTS.md), claude (CLAUDE.md), copilot (GitHub Copilot instructions), cursor (Cursor rules), gemini (GEMINI.md) |
exact_copy |
Whether the two files are identical |
word_count_a, word_count_b |
Word counts of the two files |
main_language, license |
The repository's main programming language and license |
stratum, eligible_pair_count, stratum_population, stratum_sample, inclusion_probability |
Sampling stratum (tool combination), eligible pairs in the repository, repositories in the stratum and in the sample, and the repository's inclusion probability |
repository_outcomes: rq1_repository_outcomes.csv
One row per sampled repository: 128 rows, with repository_id, repository_has_conflict (yes or no), stratum, inclusion_probability and design_weight. The sum of design_weight over repositories with a conflict, divided by the sum over all 128, gives the 20.83% estimate.
heldout_predictions: rq2_file_pair_predictions.csv
One row per screener and held-out pair: 3 × 149 = 447 rows.
| Column | Meaning |
|---|---|
method |
Screener: lexical (lexical similarity), nli (natural language inference) or scope_aware (the structured-atom model in the paper) |
pair_id, repository_id, split |
Pair, repository and split (test for every row) |
gold_conflict |
Adjudicated label for the pair (True or False) |
candidate_count |
Number of candidate statement pairs the screener compared for this file pair |
conflict_probability |
The screener's score for the pair; higher means stronger evidence of conflict |
predicted_conflict |
The screener's frozen decision at its high-precision threshold |
The 92 pairs in labels that do not appear here form the development split (51 repositories). Choose any method or threshold on those pairs before scoring the test pairs.
Annotation codebook
focused_pair_screen_codebook.md gives the rules both annotators used. A pair is a conflict only when at least one pair of statements concerns the same subject, has overlapping scope, and cannot be satisfied together by a competent coding agent. Different instructions are not automatically conflicting.
License
The labels, sampling metadata, detector scores and decisions, and codebook are released by Aditi Patodiya under CC BY 4.0. The source corpus is separately licensed under CC BY 4.0 by its creators, and the original instruction files keep their repositories' licenses.
Citation
@inproceedings{patodiya2027contextclash,
author = {Aditi Patodiya},
title = {{Context Clash}: Prevalence and Limits of Lightweight Detectors for Cross-Tool Coding-Agent Instruction Conflicts},
booktitle = {Proceedings of the 42nd ACM/SIGAPP Symposium on Applied Computing},
year = {2027},
note = {Accepted for publication. arXiv:2612.00485}
}
@misc{patodiya_contextclash_benchmark,
doi = {10.5281/zenodo.24599998},
author = {Aditi Patodiya},
title = {{Context Clash}: Benchmark Data and Analysis Code for Cross-Tool Coding-Agent Instruction Conflicts},
note = {Replication package for ACM SAC 2027}
}
- Downloads last month
- -