| { | |
| "@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" | |
| } | |
| ] | |
| } | |
| ] | |
| } |