Datasets:
trajectory_id large_stringlengths 64 64 | inputs dict | outputs dict | language large_stringclasses 17
values | repo_language large_stringclasses 15
values | repo_metadata dict | source_metadata dict | source_action_graph_id large_stringlengths 64 64 | trajectory_index int64 1 181 | trajectory_length int64 2 197 |
|---|---|---|---|---|---|---|---|---|---|
44710889f5341d8c7d658b801914d61205b2bf4a333219113cccca87e9380d90 | {
"file": {
"filepath": "iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/MxReadImpl.java",
"prefix": "/*\n * Copyright 2006-2021 Prowide\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obt... | {
"type": "rewrite",
"filepath": "iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/MxReadImpl.java",
"span": {
"start": 121,
"end_exclusive": 126
},
"span_after": {
"start": 121,
"end_exclusive": 127
},
"original": " resolvedId = new MxId(namespace.get());\n ... | Java | Java | {
"repo_id": "prowide/prowide-iso20022",
"commit": "98a1f2d873b3948601ed5a48c77612ac69f5e51e",
"target_commit": "86f39dfcaf2950e9ee9c6225e4f960a6437b98e5",
"author_login": "zubri",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/apache... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 6e98d643a8031268b8cb3d2824d63e625effc5ca925e3a89ea332ce3872a8666 | 3 | 9 |
4339bd2cf2a9655695ef588edf1b7fbae52da6f0f7a9486dbe17ca0ac2ef0792 | {
"file": {
"filepath": "iso20022-core/src/test/java/com/prowidesoftware/swift/model/mx/adapters/ZuluDateTimeAdapterTest.java",
"prefix": "/*\n * Copyright 2006-2023 Prowide\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Li... | {
"type": "rewrite",
"filepath": "iso20022-core/src/test/java/com/prowidesoftware/swift/model/mx/adapters/ZuluDateTimeAdapterTest.java",
"span": {
"start": 78,
"end_exclusive": 83
},
"span_after": {
"start": 78,
"end_exclusive": 83
},
"original": " XMLGregorianCalendar cal = Datatyp... | Java | Java | {
"repo_id": "prowide/prowide-iso20022",
"commit": "bbf0d3677f978ff7cece4e6f6e1370cf991cca84",
"target_commit": "7cc0e5923471ddfae6c13da801187c517e94bb33",
"author_login": "zubri",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/apache... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 16b9180ea21500299c323892952cb5897c4c5869ebe3b75cd5cc4f6c27f9c938 | 3 | 5 |
50917cf2b6da8dad60f5fb24216b416254b2337d1d8e79953a3744a6c5aed64d | {
"file": {
"filepath": "iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/DefaultMxMetadataStrategy.java",
"prefix": "/*\n * Copyright 2006-2023 Prowide\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\... | {
"type": "rewrite",
"filepath": "iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/DefaultMxMetadataStrategy.java",
"span": {
"start": 148,
"end_exclusive": 153
},
"span_after": {
"start": 148,
"end_exclusive": 153
},
"original": " amount = document.findFirst(\"./P... | Java | Java | {
"repo_id": "prowide/prowide-iso20022",
"commit": "7cc0e5923471ddfae6c13da801187c517e94bb33",
"target_commit": "160524fcea56204efbd5dfe5273033dc7af765f8",
"author_login": "ptorres-prowide",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licen... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | ebe762d7d0bca76ff093f8db54b5ae9382666f1336208612f13d63eb2ec62a3c | 6 | 8 |
680031e6bf99f013f5fa1dbbcd79a122024da1a136e146a87dc130775b603bf4 | {
"file": {
"filepath": "iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/NamespaceReader.java",
"prefix": "/*\n * Copyright 2006-2023 Prowide\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You ma... | {
"type": "rewrite",
"filepath": "iso20022-core/src/main/java/com/prowidesoftware/swift/model/mx/NamespaceReader.java",
"span": {
"start": 114,
"end_exclusive": 120
},
"span_after": {
"start": 114,
"end_exclusive": 122
},
"original": " */\n @Deprecated\n @ProwideDeprecated(phase2... | Java | Java | {
"repo_id": "prowide/prowide-iso20022",
"commit": "2fa3f48d263a1b8e95653a7f9de6d0691135483a",
"target_commit": "e1d097c3fa464b518bcf0975329d59e3f5685a16",
"author_login": "zubri",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/apache... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 41ad08e9386dd5a0a09b4255d672eb5bfbf03f70262662054d4e3a48cbaa403a | 29 | 30 |
209586b29205dd6907d2773653476be1209efea8386cf51f4a88af6af944216a | {
"file": {
"filepath": "iso20022-core/src/test/java/com/prowidesoftware/swift/model/mx/MxWriteTest.java",
"prefix": "/*\n * Copyright 2006-2023 Prowide\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may ob... | {
"type": "rewrite",
"filepath": "iso20022-core/src/test/java/com/prowidesoftware/swift/model/mx/MxWriteTest.java",
"span": {
"start": 272,
"end_exclusive": 277
},
"span_after": {
"start": 272,
"end_exclusive": 277
},
"original": "\n final String expected = \"<?xml version=\\\"1.0\\... | Java | Java | {
"repo_id": "prowide/prowide-iso20022",
"commit": "e87aaeffb3e343252281ea28bd8ecdeaa85e7542",
"target_commit": "9e92516cfd265869b42d3e6fc759a0c9a5a215ab",
"author_login": "ECancrini",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/ap... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | f0c29054ce3dfcec6d376e5cdee82f8cd21afd41b12b64e0dd52060986714e1d | 2 | 3 |
9105d8c4681ceb259aca8ab2d7bcb05851eb5a8f7e5a2d9c34e88bd992142721 | {
"file": {
"filepath": "jetlinks-standalone/pom.xml",
"prefix": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apa... | {
"type": "rewrite",
"filepath": "jetlinks-standalone/pom.xml",
"span": {
"start": 116,
"end_exclusive": 128
},
"span_after": {
"start": 116,
"end_exclusive": 120
},
"original": " <artifactId>common-component</artifactId>\n </dependency>\n\n\n <!-- 默认使用 timescaledb... | XML | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "8ee188c13ca44ffbc30ba732a3676206c87bf4fb",
"target_commit": "5cfd92cd2f5f4d3a15f297f8886f2baa56a0b0f9",
"author_login": "zhou-hao",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | d4f086ae1409b9651a0bbbdf8e308a7b22b63650cf26d0737a5278b194defea2 | 1 | 2 |
3d160c11ea3e1a7b21df442ea02aaa2f8f907c94eecd929c55bdb780d6dc474d | {
"file": {
"filepath": "jetlinks-manager/rule-engine-manager/src/main/java/org/jetlinks/community/rule/engine/alarm/DefaultAlarmHandler.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this f... | {
"type": "rewrite",
"filepath": "jetlinks-manager/rule-engine-manager/src/main/java/org/jetlinks/community/rule/engine/alarm/DefaultAlarmHandler.java",
"span": {
"start": 548,
"end_exclusive": 552
},
"span_after": {
"start": 548,
"end_exclusive": 555
},
"original": " }\n\n public st... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "da121cefee8d047b569f33314d1b2f572d6dfca3",
"target_commit": "7fe35252f3a76022a6b1fd9c6e2c842d2dee9c61",
"author_login": "zhou-hao",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 38fb3d51fb4aac5c648e496e7923d2246f1cf83c272c9906d4851dd4f0bbe820 | 2 | 4 |
6410cb452d87a0f77a542669cd0f781ee7ce23ae5d363863a39260bc6eccbf64 | {
"file": {
"filepath": "jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/impl/id/DefaultPluginDataIdMapper.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use thi... | {
"type": "rewrite",
"filepath": "jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/impl/id/DefaultPluginDataIdMapper.java",
"span": {
"start": 138,
"end_exclusive": 145
},
"span_after": {
"start": 138,
"end_exclusive": 152
},
"original": " ... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "ff336cdae0b688997f140baacb811b2c5d42c318",
"target_commit": "780b14187bf3c41a68b987d0961289e1e0966f4a",
"author_login": "zhou-hao",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 07145ff7f8544443ca935e1fc2b23ab16b27a085cbd579012ea2e683ce0c85ff | 5 | 7 |
e8d995f88c115dc7f910a2b1c4062d40265aad13ec3cdf72ec6f4f6b29b14093 | {
"file": {
"filepath": "jetlinks-components/timescaledb-component/src/main/java/org/jetlinks/community/timescaledb/thing/TimescaleDBColumnModeDDLOperations.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * yo... | {
"type": "rewrite",
"filepath": "jetlinks-components/timescaledb-component/src/main/java/org/jetlinks/community/timescaledb/thing/TimescaleDBColumnModeDDLOperations.java",
"span": {
"start": 75,
"end_exclusive": 79
},
"span_after": {
"start": 75,
"end_exclusive": 82
},
"original": " ... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "555d6ec5d71ec62f5696420f71840bd847705f8d",
"target_commit": "a8b211ad21126d5c4885ded6022c356bd1ebfb4b",
"author_login": "PengyuDeng",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/license... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | c81419a0b101fed3ccb531d8e27282538f418502a996277f539ae6a292d3a5d2 | 3 | 4 |
1b602db4e2c0e667eb856766721c418a800e34a49208fd855b12d4333565b338 | {
"file": {
"filepath": "jetlinks-components/gateway-component/src/main/java/org/jetlinks/community/gateway/DeviceGatewayHelper.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file excep... | {
"type": "rewrite",
"filepath": "jetlinks-components/gateway-component/src/main/java/org/jetlinks/community/gateway/DeviceGatewayHelper.java",
"span": {
"start": 173,
"end_exclusive": 178
},
"span_after": {
"start": 173,
"end_exclusive": 179
},
"original": " }\n... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "99015efd8ec3b851e2efa66596a1cb22079be539",
"target_commit": "5497beff58f56e7b5457e2fca0ad505eee98be7c",
"author_login": "zhou-hao",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 88903beafd6a9a07f401c28bef2eb18c3c8c278b679cabb77bbab464473b753c | 1 | 2 |
efcd3905b6e0ea048d803e769135f9b98965a82b23a075c42dd2fb39d52f2932 | {
"file": {
"filepath": "jetlinks-manager/rule-engine-manager/src/main/java/org/jetlinks/community/rule/engine/service/terms/AlarmBindRuleTerm.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use ... | {
"type": "rewrite",
"filepath": "jetlinks-manager/rule-engine-manager/src/main/java/org/jetlinks/community/rule/engine/service/terms/AlarmBindRuleTerm.java",
"span": {
"start": 59,
"end_exclusive": 68
},
"span_after": {
"start": 59,
"end_exclusive": 68
},
"original": "\n sqlFragmen... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "c711b0e627008d877a4132cd1f961f006ae403c9",
"target_commit": "1ee2c16a48a244166e4ca5845743c220f0273db3",
"author_login": "zhou-hao",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 0d244409792d3a641b4e8e1216219b8c559a9b5da4c7839f706c499c902e4a9c | 3 | 6 |
1c830e2a24da447e22a5b8b1f18127ea5b7c06cf6f446ae499e1db390fea09ee | {
"file": {
"filepath": "jetlinks-components/io-component/src/main/java/org/jetlinks/community/io/excel/ImportHelper.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compli... | {
"type": "rewrite",
"filepath": "jetlinks-components/io-component/src/main/java/org/jetlinks/community/io/excel/ImportHelper.java",
"span": {
"start": 123,
"end_exclusive": 127
},
"span_after": {
"start": 123,
"end_exclusive": 133
},
"original": " return this;\n }\n\n public ... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "1ee2c16a48a244166e4ca5845743c220f0273db3",
"target_commit": "488989d9a09fb0867f6ad9e821592307273a1c99",
"author_login": "zhou-hao",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 34947feb576b6b11dc2d6b824b4e52e700df709729bb3b989a99c9a9003eff2e | 2 | 20 |
c4ee2ed05c50d9b24b031055793b20c2cf2e036d4f8ea6f76af9385097d44707 | {
"file": {
"filepath": "jetlinks-components/timescaledb-component/src/main/java/org/jetlinks/community/timescaledb/metadata/TimescaleDBCreateTableSqlBuilder.java",
"prefix": "/*\n * Copyright 2025 JetLinks https://www.jetlinks.cn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * y... | {
"type": "rewrite",
"filepath": "jetlinks-components/timescaledb-component/src/main/java/org/jetlinks/community/timescaledb/metadata/TimescaleDBCreateTableSqlBuilder.java",
"span": {
"start": 60,
"end_exclusive": 65
},
"span_after": {
"start": 60,
"end_exclusive": 65
},
"original": "\n ... | Java | Java | {
"repo_id": "jetlinks/jetlinks-community",
"commit": "20f589999a5a5d8abf48762d5ac24f54d583ab1e",
"target_commit": "960b940b5c0c32c172334ae169d2191c50034711",
"author_login": "wthee",
"license": {
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"url": "http://choosealicense.com/licenses/apa... | {
"source": "commits",
"scenario_type": null,
"scenario_id": null
} | 3890939ab0902c5880fe5de715e5ca2afe74eed026e3f06b4a92e510ac09bce7 | 2 | 4 |
NESsie-set - Next Edit Suggestion Dataset
NESsie-set, the dataset of the Next Edit Suggestion model NESsie, is mined from real edits in open-source GitHub commits. Each row is a single example: given a snapshot of a coding trajectory (the current state of the file being edited plus the recent edit history), the task is to predict the developer's next edit. Code completion predicts what is typed at the caret; next edit suggestion also covers deletions and modifications anywhere in the file.
Dataset summary
- Source: edits mined from public GitHub commits of repositories with permissive licenses.
- Size: 147,885 examples from 9,146 repositories.
- Splits:
train83,293,validation32,513,test32,079. - Languages: 17 (see Statistics).
- Format: one self-contained example per row; columns are nested structs (see Item format). Retrieved context is a separate configuration.
How the data is collected
- Repositories. A crawler discovers repositories per language and pins each to a commit. Only repositories whose license GitHub classifies as one of Apache-2.0, BSD-2-Clause, BSD-3-Clause, CC0-1.0, MIT, MIT-0, Unlicense, WTFPL are collected; forks, mirrors, templates, repositories that share a root commit with another and repositories on the opt-out list are excluded.
- Commits. Merge commits, commits by bot accounts, version bumps and formatting-only commits are dropped. File changes are filtered by extension, by content (hunk, diff and file size, generated files) and by a path deny list for machine-written files such as lockfiles and IDE state.
- Edits. Each commit is split into atomic edits arranged in an action graph. Replaying a path through the graph reconstructs every intermediate state of the files. The default splitter orders the edits of a file from top to bottom and the files of a commit alphabetically, so a history is this replay order, not the developer's typing order. One point is sampled per commit with a seed derived from the commit, so revisions of the dataset share rows: the edits before the point form the history, the next edit is the target, and the caret is placed without looking at the target. A point without history is redrawn, and a commit with a single edit yields no row.
- Quality. Rule-based filters judge the target and the history (output size, number of hunks, import-only edits, whether the target shares an identifier with the history). On the train split, an LLM grader additionally rejects edits that are not motivated by the history, that break semantics, that are cosmetic, or that revert the history. Validation and test rows are not graded.
- Screening. Every example is scanned for credentials and private keys; examples holding a likely credential are dropped and personal email addresses in code are replaced by placeholders.
Configurations
| Config | Contents |
|---|---|
trajectories |
the examples (train 83,293, validation 32,513, test 32,079 rows) |
context-full-line-rag |
retrieved code snippets for each example, joined on trajectory_id |
Quick start
from datasets import load_dataset
examples = load_dataset("JetBrains/nessie-set") # the default config: train, validation and test
contexts = load_dataset("JetBrains/nessie-set", "context-full-line-rag")
Context rows join the examples on trajectory_id.
Item format
trajectories columns
| Column | Type | Description |
|---|---|---|
trajectory_id |
string |
Stable ID of the example across revisions; join key of the context table. |
inputs |
TrajectorySnapshot |
The model input: current file state and edit history. |
outputs |
Action |
The ground-truth next edit to predict (always a rewrite). |
language |
string |
Language of the edited file (e.g. Python, Markdown). |
repo_language |
string |
Primary language of the repository. |
repo_metadata |
RepoMetadata |
Source repository, commits, author and license. |
source_metadata |
SourceMetadata |
source is commits (mined) or synthetic (generated). |
source_action_graph_id |
string |
ID of the commit's edit graph the example was sampled from. |
trajectory_index |
int |
Position of the sampled point in its trajectory. |
trajectory_length |
int |
Number of edits in the trajectory. |
inputs - TrajectorySnapshot
{
"file": FileContext, // the file being edited, split at the caret
"history": [ Rewrite ] // recent edits, in trajectory order
}
inputs.file - FileContext
The current file content, split at the caret position. The caret is placed without looking at the target edit.
{
"filepath": string, // repo-relative path
"prefix": string, // file content before the caret
"suffix": string // file content after the caret
}
Full file content is prefix + suffix.
inputs.history[] and outputs - Rewrite
A history item is a completed edit: a region of a file was replaced (its original text became
new). The history is in trajectory order: for commit-mined rows the replay order of the commit (edits
top to bottom within a file, files alphabetically), not the developer's typing order; for generated
rows the order the generator produced them. outputs is the next such edit, the one to predict.
{
"type": "rewrite",
"filepath": string,
"span": LineSpan, // lines replaced, in the pre-edit file: { "start": int, "end_exclusive": int }
"span_after": LineSpan, // lines occupied by the replacement, in the post-edit file
"original": string, // text before
"new": string // text after
}
Minimal example - a return type was changed from int to long:
{
"type": "rewrite",
"filepath": "src/Calc.java",
"span": { "start": 4, "end_exclusive": 5 },
"span_after": { "start": 4, "end_exclusive": 5 },
"original": " public int total() {",
"new": " public long total() {"
}
The rows carry no in-progress (partially typed) edits; training-time augmentation produces those
from rewrite targets.
repo_metadata - RepoMetadata
{
"repo_id": string, // "owner/name", e.g. "JetBrains/skiko"
"commit": string, // commit the file state comes from
"target_commit": string, // commit that introduced the target edit
"author_login": string | null, // GitHub login of the target commit's author; null when GitHub links no account
"license": { // the repository's license as classified by GitHub at `commit`
"spdx_id": string | null, // e.g. "MIT"
"name": string | null,
"url": string | null,
"path": string | null // the license file in the repository
}
}
context-full-line-rag columns
| Column | Type | Description |
|---|---|---|
trajectory_id |
string |
The example the snippets belong to. |
status |
string |
ok when retrieval succeeded. |
context |
[ContextItem] |
Retrieved snippets, best first. |
{
"content": string, // the retrieved code snippet
"filepath": string | null, // file the snippet came from
"type": string, // kind of item, set by the retrieval strategy
"score": float // relevance score
}
Snippets are drawn from source files near the edited file in the repository at the row's commit,
split into overlapping multi-line chunks and scored against the edited file; the highest-scoring
chunks are kept. Retrieval never reads the target edit.
Statistics and attribution
| Figure | Value |
|---|---|
| Examples | 147,885 |
| Repositories | 9,146 |
| Languages | 17 |
| Distinct GitHub accounts credited | 27,376 |
| Share of examples in the 10 largest repositories | 0.4% |
| Share of examples in the 100 largest repositories | 3.2% |
| Median code lines per repository | 11,746 (p10 1,374, p90 112,418) |
| Opt-out list version | 1 |
Commit examples credit the GitHub account linked to the commit that introduced the target edit
(repo_metadata.author_login); commits GitHub links to no account are credited as "unknown".
NOTICES.md lists each repository, its license and the GitHub usernames of the authors of the
commits whose edits appear here. No email addresses are included.
Rows per split
| Split | Rows |
|---|---|
| train | 83,293 |
| validation | 32,513 |
| test | 32,079 |
Rows per language
Rows per repository license
| License | Repositories | Rows |
|---|---|---|
| MIT | 5,659 | 88,053 |
| Apache-2.0 | 3,219 | 55,208 |
| BSD-3-Clause | 214 | 3,679 |
| BSD-2-Clause | 54 | 945 |
Intended use
NESsie-set is built to train and evaluate models that suggest the next edit in an editor from the
developer's recent edits. The train split is filtered by the LLM grader; validation and test are
not, so they reflect the raw distribution of commit edits that pass the rule-based filters.
Splits are assigned per repository, so train, validation and test share no repository. All rows
come from public GitHub, so a model pretrained on public code may have seen the post-edit files;
NOTICES.md lists every repository for decontamination.
License
This dataset is released under the Apache License 2.0 (see LICENSE).
The dataset's structure, schema, curation, and derived labels are original work by JetBrains and are covered by this license.
The dataset also contains source code excerpts drawn from publicly available
open-source repositories. Each excerpt retains the license of its originating
repository. All originating licenses are permissive (Apache-2.0, BSD-2-Clause, BSD-3-Clause, CC0-1.0, MIT, MIT-0, Unlicense, WTFPL); no
copyleft-licensed content is included. The originating repository and license
for each example are recorded in that example's metadata (repo_metadata). A full list of
included repositories, their licenses, and their authors is provided in
NOTICES.md; notices/<owner>/<repository>.txt reproduces the NOTICE file of each
repository that has one.
If you redistribute this dataset or derivatives of it, you are responsible for complying with the terms of each excerpt's originating license — including attribution — in addition to the Apache License 2.0 terms covering JetBrains' own contribution.
If you believe your code has been included in error, or would like it removed, contact legal@jetbrains.com. Removals take effect in the next published version.
Personal and sensitive information
Rows are screened for credentials before publication, and personal email addresses in code are replaced by placeholders. GitHub usernames are included for attribution.
Version
NESsie-set 1.0, issued from internal revision v20 (the label in the Hub commit history).
- Downloads last month
- 107