File size: 2,352 Bytes
201c16d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
  "@context": {
    "ml": "http://mlcommons.org/croissant/",
    "schema": "https://schema.org/",
    "sc": "https://schema.org/",
    "codesense": "https://codesense-bench.github.io/schema/"
  },
  "@type": "schema:Dataset",
  "schema:name": "CodeSense-Bench-input_output_dataset_java",
  "schema:description": "Input Output Prediciton dataset for Java Language.",
  "schema:license": "CC-BY-4.0",
  "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/input_output_dataset_java.jsonl",
  "schema:creator": {
    "@type": "schema:Organization",
    "schema:name": "CodeSense Research Team"
  },
  "schema:distribution": [
    {
      "@type": "schema:FileObject",
      "schema:contentUrl": "https://huggingface.co/datasets/codesense-bench/codesense/resolve/main/Task%20Specific%20Datasets/input_output_dataset_java.jsonl",
      "schema:encodingFormat": "application/jsonl",
      "schema:name": "input_output_dataset_java",
      "schema:sha256": "006c404e50822aa6d0b083654915afe7a10c9ec66a415098dc3a4cd9e65fcd37"
    }
  ],
  "recordSet": [
    {
      "name": "input_output_dataset_java",
      "description": "Samples containing required fields for input output prediciton task",
      "field": [
        {
          "name": "idx",
          "dataType": "sc:Integer",
          "description": "Unique identifier for each record in the dataset."
        },
        {
          "name": "code",
          "dataType": "sc:Text",
          "description": "Code snippet used for benchmarking."
        },
        {
          "name": "basic_input",
          "dataType": "sc:Text",
          "description": "Primitive input types."
        },
        {
          "name": "output",
          "dataType": "sc:Text",
          "description": "Output of the function based on the given input."
        },
        {
          "name": "cyclomatic_complexity",
          "dataType": "sc:Integer",
          "description": "cyclomatic_complexity of the code"
        },
        {
          "name": "code_length",
          "dataType": "sc:Integer",
          "description": "No. of code lines."
        },
        {
          "name": "category",
          "dataType": "sc:Text",
          "description": "Complexity category based on cyclomatic complexity and code_length"
        }
      ]
    }
  ]
}