criyle commited on
Commit
6bc4842
·
verified ·
1 Parent(s): 3dddf14

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +85 -59
README.md CHANGED
@@ -1,61 +1,87 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: row_id
5
- dtype: large_string
6
- - name: sid
7
- dtype: large_string
8
- - name: submission_id
9
- dtype: large_string
10
- - name: pid
11
- dtype: large_string
12
- - name: problem_id
13
- dtype: large_string
14
- - name: uid
15
- dtype: large_string
16
- - name: user_id
17
- dtype: large_string
18
- - name: date
19
- dtype: int64
20
- - name: date_iso
21
- dtype: timestamp[ms]
22
- - name: source_name
23
- dtype: large_string
24
- - name: code
25
- dtype: large_string
26
- - name: compilemessage
27
- dtype: large_string
28
- - name: compile_status
29
- dtype: large_string
30
- - name: exit_code
31
- dtype: int64
32
- - name: javac_version
33
- dtype: large_string
34
- - name: category
35
- dtype: large_string
36
- - name: label_status
37
- dtype: large_string
38
- - name: taxonomy_version
39
- dtype: large_string
40
- - name: session_id
41
- dtype: large_string
42
- - name: session_6h
43
- dtype: large_string
44
- - name: source
45
- dtype: large_string
46
- - name: original_status
47
- dtype: large_string
48
- - name: code_size
49
- dtype: int64
50
- splits:
51
- - name: train
52
- num_bytes: 58213380
53
- num_examples: 34555
54
- download_size: 13659068
55
- dataset_size: 58213380
56
- configs:
57
- - config_name: default
58
- data_files:
59
- - split: train
60
- path: data/train-*
61
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - java
9
+ - compile-errors
10
+ - codenet
11
+ - education
12
+ pretty_name: CodeNet Java compile errors v2
13
+ size_categories:
14
+ - 10K<n<100K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
+
17
+ # CodeNet Java compile errors v2
18
+
19
+ This is a **new, Java-only corpus** rebuilt from
20
+ [`iNeil77/CodeNet`](https://huggingface.co/datasets/iNeil77/CodeNet) (the Java
21
+ split, `status == "Compile Error"`). It is deliberately separate from
22
+ [`criyle/codenet-compile-errors`](https://huggingface.co/datasets/criyle/codenet-compile-errors),
23
+ which used the old `Main.java` convention and did not carry user/problem/date
24
+ metadata.
25
+
26
+ ## What is different
27
+
28
+ Each submission is written to the file name javac asks for — the single public
29
+ top-level class it declares, or `Main.java` when there is no such class or more
30
+ than one. Submissions that compile cleanly under that name are **file-name
31
+ artefacts**, not student errors; they are kept in `compiled_all.parquet` but
32
+ excluded from this dataset.
33
+
34
+ The source-name fix is why this corpus is smaller than the raw Compile Error
35
+ set: `18,465` of
36
+ `53,023` submissions compiled cleanly once the file was named
37
+ after the class. `34,555` still fail and are
38
+ the rows of this dataset.
39
+
40
+ ## Metadata for session grouping
41
+
42
+ Unlike the old dataset, each row keeps:
43
+
44
+ | Column | Meaning |
45
+ |---|---|
46
+ | `row_id` | stable `v2_<sid>` id |
47
+ | `sid`, `submission_id` | CodeNet submission id |
48
+ | `pid`, `problem_id` | CodeNet problem id |
49
+ | `uid`, `user_id` | CodeNet user id |
50
+ | `date`, `date_iso` | CodeNet submission time |
51
+ | `source_name` | file name used for the compile (`Foo.java` / `Main.java`) |
52
+ | `code`, `compilemessage` | source and javac stderr |
53
+ | `session_id` | `(uid, pid)` 2-hour session |
54
+ | `session_6h` | 6-hour variant |
55
+
56
+ `session_id` is a contiguous run of submissions by one user on one problem,
57
+ with a new session when the gap exceeds 2 hours. It is computed on the **full**
58
+ Java split (accepted submissions included), so a user's accepted submission
59
+ still closes the session boundary.
60
+
61
+ ## Labels
62
+
63
+ `category` is intentionally empty and `label_status` is `unlabelled`. The v2.1
64
+ taxonomy (`categories.v2.yaml`) is included, but labelling is a separate LLM
65
+ pass with its own calibration gates. **No v1 labels are mixed into the `category`
66
+ column.**
67
+
68
+ ## Provenance
69
+
70
+ - source: `iNeil77/CodeNet`, Java split
71
+ - filter: `status == 'Compile Error'`
72
+ - sandbox: `http://10.0.0.162:5050`
73
+ - javac: `OpenJDK 21.0.12.1`
74
+ - session gap: `2 h` (`6 h` alternative)
75
+ - built at: `2026-10-20T02:28:07.997126+00:00`
76
+
77
+ ## Files
78
+
79
+ - `train` — the still-failing submissions (`corpus_v2.parquet`)
80
+ - `compiled_all.parquet` — every compile attempt, including file-name artefacts
81
+ - `session_map_all.parquet` — session map over the full Java split
82
+ - `categories.v2.yaml` — active v2.1 taxonomy
83
+ - `source_manifest.json` — counts, hashes and build parameters
84
+
85
+ ## Licence
86
+
87
+ CodeNet is Apache-2.0. This derived corpus is released under the same terms.