File size: 2,504 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
70
71
72
73
74
{
  "@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_python",
  "schema:description": "Input Output Prediciton dataset for Python Language.",
  "schema:license": "CC-BY-4.0",
  "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/input_output_dataset_python.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_python.jsonl",
      "schema:encodingFormat": "application/jsonl",
      "schema:name": "input_output_dataset_python",
      "schema:sha256": "41ab975435a86db443c9ec81628621a1590f52d776d39b4175318633e982a7bc"
    }
  ],
  "recordSet": [
    {
      "name": "input_output_dataset_python",
      "description": "Samples containing required fields for input output prediciton task",
      "field": [
        {
          "name": "index",
          "dataType": "sc:Integer",
          "description": "Random number associated with each sample."
        },
        {
          "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": "input",
          "dataType": "sc:Text",
          "description": "Function Input"
        },
        {
          "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"
        }
      ]
    }
  ]
}