alexjercan commited on
Commit
49c33f2
1 Parent(s): 960335f

feat(bugnet): added language

Browse files
Files changed (2) hide show
  1. README.md +12 -8
  2. bugnet.py +2 -0
README.md CHANGED
@@ -4,6 +4,8 @@ dataset_info:
4
  features:
5
  - name: problem_id
6
  dtype: string
 
 
7
  - name: original_status
8
  dtype: string
9
  - name: fail
@@ -32,20 +34,22 @@ dataset_info:
32
  dtype: string
33
  splits:
34
  - name: train
35
- num_bytes: 17032943
36
  num_examples: 4886
37
  - name: validation
38
- num_bytes: 3480153
39
  num_examples: 1105
40
  - name: test
41
- num_bytes: 200592
42
  num_examples: 100
43
  download_size: 22763575
44
- dataset_size: 20713688
45
  - config_name: C++
46
  features:
47
  - name: problem_id
48
  dtype: string
 
 
49
  - name: original_status
50
  dtype: string
51
  - name: fail
@@ -74,14 +78,14 @@ dataset_info:
74
  dtype: string
75
  splits:
76
  - name: train
77
- num_bytes: 238547216
78
  num_examples: 39166
79
  - name: validation
80
- num_bytes: 105129508
81
  num_examples: 19070
82
  - name: test
83
- num_bytes: 2998718
84
  num_examples: 859
85
  download_size: 229809783
86
- dataset_size: 346675442
87
  ---
 
4
  features:
5
  - name: problem_id
6
  dtype: string
7
+ - name: language
8
+ dtype: string
9
  - name: original_status
10
  dtype: string
11
  - name: fail
 
34
  dtype: string
35
  splits:
36
  - name: train
37
+ num_bytes: 17081803
38
  num_examples: 4886
39
  - name: validation
40
+ num_bytes: 3491203
41
  num_examples: 1105
42
  - name: test
43
+ num_bytes: 201592
44
  num_examples: 100
45
  download_size: 22763575
46
+ dataset_size: 20774598
47
  - config_name: C++
48
  features:
49
  - name: problem_id
50
  dtype: string
51
+ - name: language
52
+ dtype: string
53
  - name: original_status
54
  dtype: string
55
  - name: fail
 
78
  dtype: string
79
  splits:
80
  - name: train
81
+ num_bytes: 238821378
82
  num_examples: 39166
83
  - name: validation
84
+ num_bytes: 105262998
85
  num_examples: 19070
86
  - name: test
87
+ num_bytes: 3004731
88
  num_examples: 859
89
  download_size: 229809783
90
+ dataset_size: 347089107
91
  ---
bugnet.py CHANGED
@@ -48,6 +48,7 @@ class Bugnet(datasets.GeneratorBasedBuilder):
48
  features = datasets.Features(
49
  {
50
  "problem_id": datasets.Value("string"),
 
51
  "original_status": datasets.Value("string"),
52
  "fail": datasets.Value("string"),
53
  "pass": datasets.Value("string"),
@@ -128,6 +129,7 @@ class Bugnet(datasets.GeneratorBasedBuilder):
128
 
129
  yield key, {
130
  "problem_id": data["problem_id"],
 
131
  "original_status": data["original_status"],
132
  "fail": data["fail"],
133
  "pass": data["pass"],
 
48
  features = datasets.Features(
49
  {
50
  "problem_id": datasets.Value("string"),
51
+ "language": datasets.Value("string"),
52
  "original_status": datasets.Value("string"),
53
  "fail": datasets.Value("string"),
54
  "pass": datasets.Value("string"),
 
129
 
130
  yield key, {
131
  "problem_id": data["problem_id"],
132
+ "language": data["language"],
133
  "original_status": data["original_status"],
134
  "fail": data["fail"],
135
  "pass": data["pass"],