File size: 2,331 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
{
  "@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-loop_body_dataset_python",
  "schema:description": "Dataset for In-Loop value reasoning of LLMs",
  "schema:license": "CC-BY-4.0",
  "schema:url": "https://huggingface.co/datasets/codesense-bench/codesense/blob/main/Task%20Specific%20Datasets/loop_body_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/loop_body_dataset_python.jsonl",
      "schema:encodingFormat": "application/jsonl",
      "schema:name": "loop_body_dataset_python",
      "schema:sha256": "4eca6a5382cecc7b4a54fc269093de0ed7f06c1ba89226f3aff3353c8ee84b29"
    }
  ],
  "recordSet": [
    {
      "name": "loop_body_dataset_python",
      "description": "A collection of Python code examples designed to evaluate a model’s ability to reason about variable values inside loop execution. ",
      "field": [
        {
          "name": "idx",
          "dataType": "sc:Integer",
          "description": "Unique identifier for each record in the dataset."
        },
        {
          "name": "scratchpad_format",
          "dataType": "sc:Text",
          "description": "code in scratchpad format, the variable states defined in comments."
        },
        {
          "name": "loop_code",
          "dataType": "sc:Text",
          "description": "code used for LLM prompting."
        },
        {
          "name": "question",
          "dataType": "sc:Text",
          "description": "Query regarding a specific line in-loop in the code."
        },
        {
          "name": "answer",
          "dataType": "sc:Text",
          "description": "Ground-Truth, contains the exact value of the variable in-loop execution."
        },
        {
          "name": "variable_assignment",
          "dataType": "sc:Text",
          "description": "selected variables value as assignment."
        }
      ]
    }
  ]
}