Datasets:
Publish CrossCodeEval with all existing repairs and exclusions
Browse files6,710 retained tasks, all repaired from 7,763 source tasks; 1,053 archived with original payloads and reasons. Preserve all existing context, verifier and instruction changes, and historical validation. Three cached images are pinned and verified.
crosscodeeval_environment-reliable/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CrossCodeEval
|
| 2 |
+
|
| 3 |
+
The pinned TaskTrove release contains **7,763 cross-file code-completion tasks** across C#, Java, Python and TypeScript. All existing context, scoring and instruction repairs are preserved.
|
| 4 |
+
|
| 5 |
+
- **Docker images: 3 distinct definitions originally; 3 retained, provided as 3 shared cached images.** No image consolidation was needed.
|
| 6 |
+
- **Tasks: 6,710 kept, all 6,710 changed; 0 unchanged and 1,053 excluded.**
|
| 7 |
+
|
| 8 |
+
| Language | Original | Kept and changed | Excluded |
|
| 9 |
+
| --- | ---: | ---: | ---: |
|
| 10 |
+
| C# | 1,768 | 1,353 | 415 |
|
| 11 |
+
| Java | 2,139 | 1,895 | 244 |
|
| 12 |
+
| Python | 500 | 432 | 68 |
|
| 13 |
+
| TypeScript | 3,356 | 3,030 | 326 |
|
| 14 |
+
|
| 15 |
+
## Stage 3: Build/setup
|
| 16 |
+
|
| 17 |
+
- **6,710 tasks patched:** pinned `pytest==9.1.1` and `pytest-timeout==2.4.0` in their image definitions for reproducible installation.
|
| 18 |
+
- **0 tasks excluded.** All 6,710 environments built and started successfully.
|
| 19 |
+
|
| 20 |
+
## Stage 4: Reference solution reward 1
|
| 21 |
+
|
| 22 |
+
- **6,710 tasks patched:** added a reference solution that writes the benchmark's expected completion, allowing the correct answer to be checked automatically.
|
| 23 |
+
- **0 tasks excluded.** All 6,710 reference solutions scored 1.
|
| 24 |
+
|
| 25 |
+
## Stage 5: No-op reward 0
|
| 26 |
+
|
| 27 |
+
- **6,710 tasks patched:** replaced the original grading scripts with a scorer that compares the completed statement after normalizing comments and whitespace. This removes rewards for incomplete prefix matches and avoids rejecting correct Java completions solely for indentation.
|
| 28 |
+
- **0 tasks excluded.** All 6,710 no-op attempts scored 0.
|
| 29 |
+
|
| 30 |
+
The stage repair counts overlap; they refer to the same 6,710 retained tasks.
|
| 31 |
+
|
| 32 |
+
## Task-quality changes retained
|
| 33 |
+
|
| 34 |
+
- **6,710 tasks:** restored the benchmark's retrieved excerpts from related files, excluding excerpts from the target file or containing the answer.
|
| 35 |
+
- **6,710 tasks:** preserved the corrected instructions, context-file guidance and automatic timeout/anti-cheating sentence.
|
| 36 |
+
- **1,043 tasks excluded:** required names could not be inferred from the prompt, retrieved context or known library names.
|
| 37 |
+
- **10 tasks excluded:** the scored completion contained no variable, function, class or other code name.
|
| 38 |
+
|
| 39 |
+
## Images and validation
|
| 40 |
+
|
| 41 |
+
Download the three cached Apptainer images from [images/](https://huggingface.co/datasets/FWeindel/validated-tasks/tree/main/crosscodeeval_environment-reliable/images). The Parquet includes pinned image references for automatic download and checksum verification.
|
| 42 |
+
|
| 43 |
+
Task payloads are unchanged from the [previous release](https://huggingface.co/datasets/FWeindel/validated-tasks/discussions/14); its recorded stages 1, 3, 4 and 5 remain applicable. [Teacher results](https://huggingface.co/datasets/FWeindel/validated-tasks/discussions/6) are available separately.
|
crosscodeeval_environment-reliable/archive.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e07910113b943cf49a9883905d7dad3a03d3c829c6cdff3b25ef0c811624c72
|
| 3 |
+
size 4283300
|
crosscodeeval_environment-reliable/images.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
crosscodeeval_environment-reliable/tasks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4023ce4511a8357239849d85c796201358af90efef04015588ff376f34758bd7
|
| 3 |
+
size 72049220
|