codesense-bench commited on
Commit
201c16d
·
verified ·
1 Parent(s): f3dabac

Added metadata files

Browse files
croissant_metadata/aliasing_dataset_c_croissant.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-aliasing_dataset_c",
10
+ "schema:description": "Dataset for Benchmarking LLMs on pointer aliasing.",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/aliasing_dataset_c.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/aliasing_dataset_c.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "aliasing_dataset_c",
23
+ "schema:sha256": "172f7e1859ad4b63e027850b524458aca0c1ad13c546671ce08eddb81246e11a"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "aliasing_dataset_c",
29
+ "description": "Contains C sample codes with proper annotation for pointer aliasing reasoning.",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset"
35
+ },
36
+ {
37
+ "name": "Programming Language",
38
+ "dataType": "sc:Text",
39
+ "description": "Programming language of the Source Code"
40
+ },
41
+ {
42
+ "name": "Source Code",
43
+ "dataType": "sc:Text",
44
+ "description": "Code snippet used for benchmarking"
45
+ },
46
+ {
47
+ "name": "Selected Statement",
48
+ "dataType": "sc:Text",
49
+ "description": "Statement selected for aliasing reasoning."
50
+ },
51
+ {
52
+ "name": "Selected Pointer",
53
+ "dataType": "sc:Text",
54
+ "description": "One pointer used for aliasing reasoning."
55
+ },
56
+ {
57
+ "name": "Compared Statement",
58
+ "dataType": "sc:Text",
59
+ "description": "Statement associated with compared pointer"
60
+ },
61
+ {
62
+ "name": "Compared Pointer",
63
+ "dataType": "sc:Text",
64
+ "description": "Compared with Selected Pointer for aliasing reasoning."
65
+ },
66
+ {
67
+ "name": "Aliasing",
68
+ "dataType": "sc:Text",
69
+ "description": "Ground-Truth Label, Yes for aliasing, No for non-aliasing."
70
+ },
71
+ {
72
+ "name": "Function Input",
73
+ "dataType": "sc:StructuredValue",
74
+ "description": "Input of Source Code"
75
+ },
76
+ {
77
+ "name": "Program Information",
78
+ "dataType": "sc:StructuredValue",
79
+ "description": "Source Codes project information."
80
+ }
81
+ ]
82
+ }
83
+ ]
84
+ }
croissant_metadata/block_analysis_c_croissant.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-block_analysis_c",
10
+ "schema:description": "Dataset for block based code reasoning for C Language",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/block_analysis_c.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/block_analysis_c.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "block_analysis_c",
23
+ "schema:sha256": "891b8450d5b2e7bae0fb514f8ad1f2b17e34f314ef013e09c7a81d7a2c5fcb57"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "block_analysis_c",
29
+ "description": "Annotated samples for block size analysis for C codes.",
30
+ "field": [
31
+ {
32
+ "name": "Programming Language",
33
+ "dataType": "sc:Text",
34
+ "description": "Programming language of the Source Code."
35
+ },
36
+ {
37
+ "name": "Source Code",
38
+ "dataType": "sc:Text",
39
+ "description": "Code snippet used for benchmarking."
40
+ },
41
+ {
42
+ "name": "Selected Statement",
43
+ "dataType": "sc:Text",
44
+ "description": "Statement selected for block reasoning."
45
+ },
46
+ {
47
+ "name": "Function Input",
48
+ "dataType": "sc:StructuredValue",
49
+ "description": "Input of Source Code."
50
+ },
51
+ {
52
+ "name": "Variable Values Before Statement",
53
+ "dataType": "sc:StructuredValue",
54
+ "description": "Variable values before the execution of the statement."
55
+ },
56
+ {
57
+ "name": "Value After Statement Execution",
58
+ "dataType": "sc:Text",
59
+ "description": "Ground Truth. Contains the value of the statement after execution."
60
+ },
61
+ {
62
+ "name": "Block_Size",
63
+ "dataType": "sc:Integer",
64
+ "description": "Block Size of the Selected Statement."
65
+ },
66
+ {
67
+ "name": "Project Information",
68
+ "dataType": "sc:Text",
69
+ "description": "Source Codes project information."
70
+ }
71
+ ]
72
+ }
73
+ ]
74
+ }
croissant_metadata/block_analysis_python_croissant.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-block_analysis_python",
10
+ "schema:description": "Dataset for block based code reasoning for Python Language",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/block_analysis_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/block_analysis_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "block_analysis_python",
23
+ "schema:sha256": "2f620e1cf8ff6cf70fa2fc4ef67e130c5134a560cfd6aa71aaadc7919d598bd3"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "block_analysis_python",
29
+ "description": "Annotated samples for block size analysis for Python codes.",
30
+ "field": [
31
+ {
32
+ "name": "Programming Language",
33
+ "dataType": "sc:Text",
34
+ "description": "Programming language of the Source Code."
35
+ },
36
+ {
37
+ "name": "Source Code",
38
+ "dataType": "sc:Text",
39
+ "description": "Code snippet used for benchmarking."
40
+ },
41
+ {
42
+ "name": "Selected Statement",
43
+ "dataType": "sc:Text",
44
+ "description": "Statement selected for block reasoning."
45
+ },
46
+ {
47
+ "name": "Function Input",
48
+ "dataType": "sc:StructuredValue",
49
+ "description": "Input of Source Code."
50
+ },
51
+ {
52
+ "name": "Variable Values Before Statement",
53
+ "dataType": "sc:StructuredValue",
54
+ "description": "Variable values before the execution of the statement."
55
+ },
56
+ {
57
+ "name": "Value After Statement Execution",
58
+ "dataType": "sc:Text",
59
+ "description": "Ground Truth. Contains the value of the statement after execution."
60
+ },
61
+ {
62
+ "name": "Block_Size",
63
+ "dataType": "sc:Integer",
64
+ "description": "Block Size of the Selected Statement."
65
+ },
66
+ {
67
+ "name": "Project Information",
68
+ "dataType": "sc:Text",
69
+ "description": "Source Codes project information."
70
+ }
71
+ ]
72
+ }
73
+ ]
74
+ }
croissant_metadata/conditional_dataset_python_croissant.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-conditional_dataset_python",
10
+ "schema:description": "Dataset for Branch Prediciton capabilities of LLMs",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/conditional_dataset_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/conditional_dataset_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "conditional_dataset_python",
23
+ "schema:sha256": "9050a7dab251f41f260efaa4080e97a2bc862f59510ba481f923bd246e080e57"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "conditional_dataset_python",
29
+ "description": "Annoated samples for branch prediciton task",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset."
35
+ },
36
+ {
37
+ "name": "Source Code",
38
+ "dataType": "sc:Text",
39
+ "description": "Code snippet used for benchmarking."
40
+ },
41
+ {
42
+ "name": "question",
43
+ "dataType": "sc:Text",
44
+ "description": "Contains specific branch line and question whether that line will be executed based on a function call with input value"
45
+ },
46
+ {
47
+ "name": "answer",
48
+ "dataType": "sc:Text",
49
+ "description": "Ground-Truth, 'Yes' if the branch was taken, 'No' for not taken."
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ }
croissant_metadata/input_output_dataset_c_croissant.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-input_output_dataset_c",
10
+ "schema:description": "Input Output Prediciton dataset for C Language.",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/input_output_dataset_c.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/input_output_dataset_c.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "input_output_dataset_c",
23
+ "schema:sha256": "85dd58229d95d8de00e91c31a1bf6b2186f0e3351f76257416dfa753aa8eb48a"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "input_output_dataset_c",
29
+ "description": "Samples containing required fields for input output prediciton task.",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset."
35
+ },
36
+ {
37
+ "name": "code",
38
+ "dataType": "sc:Text",
39
+ "description": "Code snippet used for benchmarking."
40
+ },
41
+ {
42
+ "name": "input",
43
+ "dataType": "sc:Text",
44
+ "description": "Function Input"
45
+ },
46
+ {
47
+ "name": "basic_input",
48
+ "dataType": "sc:Text",
49
+ "description": "Primitive input types."
50
+ },
51
+ {
52
+ "name": "output",
53
+ "dataType": "sc:Text",
54
+ "description": "Output of the function based on the given input."
55
+ },
56
+ {
57
+ "name": "cyclomatic_complexity",
58
+ "dataType": "sc:Integer",
59
+ "description": "cyclomatic_complexity of the code"
60
+ },
61
+ {
62
+ "name": "code_length",
63
+ "dataType": "sc:Integer",
64
+ "description": "No. of code lines."
65
+ }
66
+ ]
67
+ }
68
+ ]
69
+ }
croissant_metadata/input_output_dataset_java_croissant.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-input_output_dataset_java",
10
+ "schema:description": "Input Output Prediciton dataset for Java Language.",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/input_output_dataset_java.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/input_output_dataset_java.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "input_output_dataset_java",
23
+ "schema:sha256": "006c404e50822aa6d0b083654915afe7a10c9ec66a415098dc3a4cd9e65fcd37"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "input_output_dataset_java",
29
+ "description": "Samples containing required fields for input output prediciton task",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset."
35
+ },
36
+ {
37
+ "name": "code",
38
+ "dataType": "sc:Text",
39
+ "description": "Code snippet used for benchmarking."
40
+ },
41
+ {
42
+ "name": "basic_input",
43
+ "dataType": "sc:Text",
44
+ "description": "Primitive input types."
45
+ },
46
+ {
47
+ "name": "output",
48
+ "dataType": "sc:Text",
49
+ "description": "Output of the function based on the given input."
50
+ },
51
+ {
52
+ "name": "cyclomatic_complexity",
53
+ "dataType": "sc:Integer",
54
+ "description": "cyclomatic_complexity of the code"
55
+ },
56
+ {
57
+ "name": "code_length",
58
+ "dataType": "sc:Integer",
59
+ "description": "No. of code lines."
60
+ },
61
+ {
62
+ "name": "category",
63
+ "dataType": "sc:Text",
64
+ "description": "Complexity category based on cyclomatic complexity and code_length"
65
+ }
66
+ ]
67
+ }
68
+ ]
69
+ }
croissant_metadata/input_output_dataset_python_croissant.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-input_output_dataset_python",
10
+ "schema:description": "Input Output Prediciton dataset for Python Language.",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/input_output_dataset_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/input_output_dataset_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "input_output_dataset_python",
23
+ "schema:sha256": "41ab975435a86db443c9ec81628621a1590f52d776d39b4175318633e982a7bc"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "input_output_dataset_python",
29
+ "description": "Samples containing required fields for input output prediciton task",
30
+ "field": [
31
+ {
32
+ "name": "index",
33
+ "dataType": "sc:Integer",
34
+ "description": "Random number associated with each sample."
35
+ },
36
+ {
37
+ "name": "idx",
38
+ "dataType": "sc:Integer",
39
+ "description": "Unique identifier for each record in the dataset."
40
+ },
41
+ {
42
+ "name": "code",
43
+ "dataType": "sc:Text",
44
+ "description": "Code snippet used for benchmarking."
45
+ },
46
+ {
47
+ "name": "input",
48
+ "dataType": "sc:Text",
49
+ "description": "Function Input"
50
+ },
51
+ {
52
+ "name": "output",
53
+ "dataType": "sc:Text",
54
+ "description": "Output of the function based on the given input."
55
+ },
56
+ {
57
+ "name": "cyclomatic_complexity",
58
+ "dataType": "sc:Integer",
59
+ "description": "cyclomatic_complexity of the code"
60
+ },
61
+ {
62
+ "name": "code_length",
63
+ "dataType": "sc:Integer",
64
+ "description": "No. of code lines."
65
+ },
66
+ {
67
+ "name": "category",
68
+ "dataType": "sc:Text",
69
+ "description": "Complexity category based on cyclomatic complexity and code_length"
70
+ }
71
+ ]
72
+ }
73
+ ]
74
+ }
croissant_metadata/loop_after_dataset_python_croissant.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-loop_after_dataset_python",
10
+ "schema:description": "Dataset for Post-Loop value reasoning of LLMs",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/loop_after_dataset_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/loop_after_dataset_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "loop_after_dataset_python",
23
+ "schema:sha256": "b37b21ca8896fb2085a2482ce1fa9945b38dfc3890074d747f375cb832663b34"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "loop_after_dataset_python",
29
+ "description": "A collection of Python code examples designed to evaluate a model’s ability to reason about variable values after loop execution. ",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset."
35
+ },
36
+ {
37
+ "name": "scratchpad_format",
38
+ "dataType": "sc:Text",
39
+ "description": "code in scratchpad format, the variable states defined in comments."
40
+ },
41
+ {
42
+ "name": "loop_code",
43
+ "dataType": "sc:Text",
44
+ "description": "code used for LLM prompting."
45
+ },
46
+ {
47
+ "name": "question",
48
+ "dataType": "sc:Text",
49
+ "description": "Query regarding a specific line post-loop in the code."
50
+ },
51
+ {
52
+ "name": "answer",
53
+ "dataType": "sc:Text",
54
+ "description": "Ground-Truth, contains the exact value of the variable after loop execution."
55
+ },
56
+ {
57
+ "name": "variable_assignment",
58
+ "dataType": "sc:Text",
59
+ "description": "Line that was selected for prompting."
60
+ },
61
+ {
62
+ "name": "loop_range",
63
+ "dataType": "sc:ItemList",
64
+ "description": "Range of loop lines that was selected."
65
+ },
66
+ {
67
+ "name": "post_loop_line",
68
+ "dataType": "sc:Integer",
69
+ "description": "Line no. of selected line/variable_assignment."
70
+ }
71
+ ]
72
+ }
73
+ ]
74
+ }
croissant_metadata/loop_body_dataset_python_croissant.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-loop_body_dataset_python",
10
+ "schema:description": "Dataset for In-Loop value reasoning of LLMs",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/loop_body_dataset_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/loop_body_dataset_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "loop_body_dataset_python",
23
+ "schema:sha256": "4eca6a5382cecc7b4a54fc269093de0ed7f06c1ba89226f3aff3353c8ee84b29"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "loop_body_dataset_python",
29
+ "description": "A collection of Python code examples designed to evaluate a model’s ability to reason about variable values inside loop execution. ",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset."
35
+ },
36
+ {
37
+ "name": "scratchpad_format",
38
+ "dataType": "sc:Text",
39
+ "description": "code in scratchpad format, the variable states defined in comments."
40
+ },
41
+ {
42
+ "name": "loop_code",
43
+ "dataType": "sc:Text",
44
+ "description": "code used for LLM prompting."
45
+ },
46
+ {
47
+ "name": "question",
48
+ "dataType": "sc:Text",
49
+ "description": "Query regarding a specific line in-loop in the code."
50
+ },
51
+ {
52
+ "name": "answer",
53
+ "dataType": "sc:Text",
54
+ "description": "Ground-Truth, contains the exact value of the variable in-loop execution."
55
+ },
56
+ {
57
+ "name": "variable_assignment",
58
+ "dataType": "sc:Text",
59
+ "description": "selected variables value as assignment."
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
croissant_metadata/loop_iteration_dataset_python_croissant.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-loop_iteration_dataset_python",
10
+ "schema:description": "Dataset for loop iteration values of LLMs",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/loop_iteration_dataset_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/loop_iteration_dataset_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "loop_iteration_dataset_python",
23
+ "schema:sha256": "12961156c536e2e21c7e2d42c06814bafe5e2fa652a971d0700f308c2f830bd6"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "loop_iteration_dataset_python",
29
+ "description": "A collection of Python code examples designed to evaluate a model’s ability to reason about loop iteration.",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset."
35
+ },
36
+ {
37
+ "name": "scratchpad_format",
38
+ "dataType": "sc:Text",
39
+ "description": "code in scratchpad format, the variable states defined in comments."
40
+ },
41
+ {
42
+ "name": "loop_code",
43
+ "dataType": "sc:Text",
44
+ "description": "code used for LLM prompting."
45
+ },
46
+ {
47
+ "name": "question",
48
+ "dataType": "sc:Text",
49
+ "description": "Query regarding a specific loop line for number of iterations."
50
+ },
51
+ {
52
+ "name": "answer",
53
+ "dataType": "sc:Text",
54
+ "description": "Ground-Truth, contains the exact value of the number of loop iterations."
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
croissant_metadata/statement_prediction_dataset_C_croissant.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-statement_prediction_dataset_C",
10
+ "schema:description": "Dataset containing five type of statements to benchmark LLMs reason about different type of statement executions.",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/statement_prediction_dataset_C.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/statement_prediction_dataset_C.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "statement_prediction_dataset_C",
23
+ "schema:sha256": "dec9546ca7a8d948f2441816bea7486d6c97d6c7ddf9eb28dd2e84778772acc3"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "statement_prediction_dataset_C",
29
+ "description": "Annotated C programs containing information for different statement type reaasoning.",
30
+ "field": [
31
+ {
32
+ "name": "idx",
33
+ "dataType": "sc:Integer",
34
+ "description": "Unique identifier for each record in the dataset"
35
+ },
36
+ {
37
+ "name": "Programming Language",
38
+ "dataType": "sc:Text",
39
+ "description": "Programming language of the Source Code"
40
+ },
41
+ {
42
+ "name": "Statement Type",
43
+ "dataType": "sc:Text",
44
+ "description": "Type of the Selected Statement"
45
+ },
46
+ {
47
+ "name": "Source Code",
48
+ "dataType": "sc:Text",
49
+ "description": "Code snippet used for benchmarking"
50
+ },
51
+ {
52
+ "name": "Selected Statement",
53
+ "dataType": "sc:Text",
54
+ "description": "The statment selected from Source Code for quering the LLMs."
55
+ },
56
+ {
57
+ "name": "Function Input",
58
+ "dataType": "sc:StructuredValue",
59
+ "description": "Input of Source Code"
60
+ },
61
+ {
62
+ "name": "Variable Values Before Statement",
63
+ "dataType": "sc:StructuredValue",
64
+ "description": "Variable values before the execution of the statement."
65
+ },
66
+ {
67
+ "name": "Value After Statement Execution",
68
+ "dataType": "sc:Text",
69
+ "description": "Ground Truth. Contains the value of the statement after execution."
70
+ },
71
+ {
72
+ "name": "Project Information",
73
+ "dataType": "sc:Text",
74
+ "description": "Source Codes project information."
75
+ }
76
+ ]
77
+ }
78
+ ]
79
+ }
croissant_metadata/statement_prediction_dataset_python_croissant.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "ml": "http://mlcommons.org/croissant/",
4
+ "schema": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "codesense": "https://codesense-bench.github.io/schema/"
7
+ },
8
+ "@type": "schema:Dataset",
9
+ "schema:name": "CodeSense-Bench-statement_prediction_dataset_python",
10
+ "schema:description": "Dataset containing five type of statements to benchmark LLMs reason about different type of statement executions.",
11
+ "schema:license": "CC-BY-4.0",
12
+ "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/statement_prediction_dataset_python.jsonl",
13
+ "schema:creator": {
14
+ "@type": "schema:Organization",
15
+ "schema:name": "CodeSense Research Team"
16
+ },
17
+ "schema:distribution": [
18
+ {
19
+ "@type": "schema:FileObject",
20
+ "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/statement_prediction_dataset_python.jsonl",
21
+ "schema:encodingFormat": "application/jsonl",
22
+ "schema:name": "statement_prediction_dataset_python",
23
+ "schema:sha256": "1fe6432f2cf154d6d19eee63fc43a77db018d400968464187c8683c0e11e3e11"
24
+ }
25
+ ],
26
+ "recordSet": [
27
+ {
28
+ "name": "statement_prediction_dataset_python",
29
+ "description": "Annotated Python programs containing information for different statement type reaasoning.",
30
+ "field": [
31
+ {
32
+ "name": "Programming Language",
33
+ "dataType": "sc:Text",
34
+ "description": "Programming language of the Source Code"
35
+ },
36
+ {
37
+ "name": "Statement Type",
38
+ "dataType": "sc:Text",
39
+ "description": "Type of the Selected Statement"
40
+ },
41
+ {
42
+ "name": "Source Code",
43
+ "dataType": "sc:Text",
44
+ "description": "Code snippet used for benchmarking"
45
+ },
46
+ {
47
+ "name": "Selected Statement",
48
+ "dataType": "sc:Text",
49
+ "description": "The statment selected from Source Code for quering the LLMs."
50
+ },
51
+ {
52
+ "name": "Function Input",
53
+ "dataType": "sc:StructuredValue",
54
+ "description": "Input of Source Code"
55
+ },
56
+ {
57
+ "name": "Variable Values Before Statement",
58
+ "dataType": "sc:StructuredValue",
59
+ "description": "Variable values before the execution of the statement."
60
+ },
61
+ {
62
+ "name": "Value After Statement Execution",
63
+ "dataType": "sc:Text",
64
+ "description": "Ground Truth. Contains the value of the statement after execution."
65
+ },
66
+ {
67
+ "name": "Variable States During Runtime",
68
+ "dataType": "sc:StructuredValue",
69
+ "description": "All the variable states with line number during the runtime of the program."
70
+ },
71
+ {
72
+ "name": "Program Information",
73
+ "dataType": "sc:Text",
74
+ "description": "Source Codes project information."
75
+ },
76
+ {
77
+ "name": "idx",
78
+ "dataType": "sc:Integer",
79
+ "description": "Unique identifier for each record in the dataset"
80
+ }
81
+ ]
82
+ }
83
+ ]
84
+ }