{ "@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_after_dataset_python", "schema:description": "Dataset for Post-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_after_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_after_dataset_python.jsonl", "schema:encodingFormat": "application/jsonl", "schema:name": "loop_after_dataset_python", "schema:sha256": "b37b21ca8896fb2085a2482ce1fa9945b38dfc3890074d747f375cb832663b34" } ], "recordSet": [ { "name": "loop_after_dataset_python", "description": "A collection of Python code examples designed to evaluate a model’s ability to reason about variable values after 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 post-loop in the code." }, { "name": "answer", "dataType": "sc:Text", "description": "Ground-Truth, contains the exact value of the variable after loop execution." }, { "name": "variable_assignment", "dataType": "sc:Text", "description": "Line that was selected for prompting." }, { "name": "loop_range", "dataType": "sc:ItemList", "description": "Range of loop lines that was selected." }, { "name": "post_loop_line", "dataType": "sc:Integer", "description": "Line no. of selected line/variable_assignment." } ] } ] }