szerhoudi commited on
Commit
375d96d
·
verified ·
1 Parent(s): 870335e

Add files using upload-large-folder tool

Browse files
README.md ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: AgentArtifactCorpus (AAC)
4
+ language:
5
+ - en
6
+ tags:
7
+ - ai-agents
8
+ - agent-memory
9
+ - prompts
10
+ - llm
11
+ - knowledge-management
12
+ task_categories:
13
+ - text-generation
14
+ - text-classification
15
+ size_categories:
16
+ - 100K<n<1M
17
+ extra_gated_prompt: >-
18
+ AgentArtifactCorpus is released for research use under a Data Use Agreement.
19
+ By requesting access you agree to: (1) use the data only for research;
20
+ (2) not attempt to re-identify authors of the source repositories;
21
+ (3) honour removal requests propagated from the opt-out registry;
22
+ (4) preserve upstream file licenses and provide attribution under CC-BY-4.0;
23
+ (5) cite the accompanying paper.
24
+ extra_gated_fields:
25
+ Name: text
26
+ Affiliation: text
27
+ Intended use: text
28
+ I agree to the Data Use Agreement: checkbox
29
+ configs:
30
+ - config_name: corpus
31
+ data_files: corpus/*.parquet
32
+ default: true
33
+ - config_name: manifest
34
+ data_files: manifest/*.parquet
35
+ ---
36
+
37
+ # AgentArtifactCorpus (AAC)
38
+
39
+ Agent configuration artefacts (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`, `.mdc`
40
+ rules, system-prompt files) crawled from public GitHub repositories under
41
+ permissive licences. AAC underpins the compaction, decomposition, and
42
+ classifier experiments in the CIKM 2026 paper *The Compaction Cliff in
43
+ Long-Running AI Agent Memory*.
44
+
45
+ - **Code and reproduction:** https://github.com/searchsim-org/knowledge-triage
46
+ - **Datasheet:** see `DATASHEET.md` in the code repository
47
+ - **Access:** gated, with a one-page Data Use Agreement (see above)
48
+
49
+ ## Configurations
50
+
51
+ | Config | Contents | Use |
52
+ |---|---|---|
53
+ | `corpus` (default) | one row per artefact, with redacted `text` | training / analysis |
54
+ | `manifest` | same rows without `text` (hash + metadata) | full index, dedup and opt-out bookkeeping |
55
+
56
+ ```python
57
+ from datasets import load_dataset
58
+ ds = load_dataset("searchsim/AgentArtifactCorpus", "corpus", split="train")
59
+ ```
60
+
61
+ ## Schema
62
+
63
+ Rows are at the **occurrence level**: a template copied across many repositories
64
+ appears once per repository, each with its own provenance. `dup_count` and
65
+ `is_duplicate` let you deduplicate by content when you need to.
66
+
67
+ | Column | Type | Notes |
68
+ |---|---|---|
69
+ | `id` | string | SHA-256 of the artefact content; the dedup key |
70
+ | `repo_slug` | string | **anonymised** pseudonym (`anon/<hash>`); the real GitHub repo name is never published |
71
+ | `anonymized` | bool | always True: every source repository is anonymised |
72
+ | `file_path` | string | path of the artefact within its repository |
73
+ | `family` | string | `claude.md`, `agents.md`, `cursorrules`, `copilot`, `system-prompt`, `other` |
74
+ | `platform` | string | crawler platform: `claude`, `cursor`, `copilot`, `windsurf`, `continue`, `aider`, `universal` |
75
+ | `function` | string | `instruction`, `strategy`, `configuration`, `memory` |
76
+ | `authorship` | string | `human`, `template`, `agent`, `hybrid`, `unknown` |
77
+ | `specificity` | string | e.g. `project`, `global` |
78
+ | `size_bytes` | int | original file size |
79
+ | `char_count` | int | original character count (from the crawl) |
80
+ | `crawl_timestamp` | string | ISO 8601 crawl time |
81
+ | `dup_count` | int | number of occurrences sharing this `id` |
82
+ | `is_duplicate` | bool | False on the first occurrence of an `id`, True on the rest |
83
+ | `char_len` | int | length of the redacted text (`corpus` config only) |
84
+ | `redactions` | int | number of PII/secret redactions applied (`corpus` config only) |
85
+ | `text` | string | redacted artefact text (`corpus` config only) |
86
+
87
+ The `manifest` config carries every in-scope artefact (metadata only, no `text`),
88
+ including artefacts whose body is not materialised. The `corpus` config carries
89
+ the materialised, scrubbed subset with `text`.
90
+
91
+ ## Anonymity, provenance, and licensing
92
+
93
+ Source repositories are **anonymised**: every `repo_slug` is a stable pseudonym
94
+ (`anon/<hash>`) and the real GitHub repository name is not published. The
95
+ `repo_license` column records the upstream SPDX licence (not identifying). The
96
+ dataset is distributed under **CC-BY-4.0**; cite the paper below rather than
97
+ individual repositories.
98
+
99
+ ## Scrubbing
100
+
101
+ Every artefact passes these filters (see the code repository's `build_full.py`):
102
+
103
+ 1. **Secret scan** — `gitleaks` / `trufflehog` / bearer-token shapes; any hit drops the file.
104
+ 2. **PII redaction** — emails, GitHub @handles, internal hostnames, IPs, user paths, and attribution front-matter lines are replaced with `<REDACTED_*>` placeholders.
105
+ 3. **Anonymisation** — the `repo_slug` is replaced with a pseudonym.
106
+
107
+ ## Opt-out
108
+
109
+ To have your repository removed, open a data-removal request on the code
110
+ repository. Because slugs are anonymised, maintainers resolve the request
111
+ through a private map held off-Hub, then publish a new gated revision (and
112
+ Zenodo version) with the matching rows removed.
113
+
114
+ ## Citation
115
+
116
+ ```bibtex
117
+ @inproceedings{zerhoudi2026compaction,
118
+ author = {Zerhoudi, Saber and Mitrovi\'{c}, Jelena and Granitzer, Michael},
119
+ title = {The Compaction Cliff in Long-Running AI Agent Memory},
120
+ year = {2026},
121
+ booktitle = {Proceedings of the 35th ACM International Conference on Information and Knowledge Management},
122
+ series = {CIKM '26},
123
+ doi = {10.1145/3799682.3840567},
124
+ }
125
+ ```
build_stats.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "in_scope": 265999,
3
+ "unique_content": 190317,
4
+ "manifest_rows": 265999,
5
+ "corpus_rows": 252926,
6
+ "opted_out": 0,
7
+ "redactions_applied": 332978,
8
+ "unique_repos_anonymized": 54445,
9
+ "corpus_drop_reasons": {
10
+ "size-out-of-range": 9497,
11
+ "secret-detected": 294,
12
+ "not-materialised": 2000,
13
+ "read-error": 1282
14
+ },
15
+ "families": [
16
+ "continuerules",
17
+ "cursorrules",
18
+ "md",
19
+ "mdc",
20
+ "windsurfrules"
21
+ ]
22
+ }
corpus/part-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:267cd7b74ce3c87ea8676a2c5055a10ee848a9a62a8cd2d751f154d66b0fc986
3
+ size 86225984
corpus/part-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:171160f786d496fae01dc5164d58419b2300d0f59d139ee216b90451760b4552
3
+ size 92731157
corpus/part-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df8e379a5376789a0ce6e1d1ffd2c4a87087c1dbd518c80d8d0aa6eb0460b9a0
3
+ size 91195702
corpus/part-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90f9f170f6f76b171114d607744095c55d5b588d617d4432a5f9c9fb8a5daea4
3
+ size 99026155
corpus/part-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d7b8b7aa7f04839ee5280d79d50111f0e2b0077958ba53ce15113405ac12b7c
3
+ size 124775422
corpus/part-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60803b95ad98c05daa9149f6f105a9051e2a0b3180d01c17cce4839f6de0641b
3
+ size 8676256
manifest/part-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08ace6f0cf6a141b34bbdf991ec3b94a9b7851fc0e4039ac5c9be78bf9a37568
3
+ size 2677391
manifest/part-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b2167c8277431ff393256f6a4d19f45f9526035a94d83e7ea647fd2fc6519fc
3
+ size 2501749
manifest/part-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9e0dedc7fb603cfc3827b031c696f5f7c165b6fbb5f5c1e8067b24e38011540
3
+ size 2527695
manifest/part-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1175ddf4b08e40f70c6025aecf77ebf582cba8be129711c493531567298af08a
3
+ size 2556884
manifest/part-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75176c9e4f3c82c2a8fef391ba1d5f7576b5776667f58355be1ec508a303f692
3
+ size 2608018
manifest/part-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9286c414304eff0506f4938aa6d1f50e0d49c06a2879734ee279e88c5a22385b
3
+ size 879785