Datasets:
File size: 1,942 Bytes
a2f8fb1 62c7004 a2f8fb1 |
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 75 76 77 78 79 80 81 82 83 84 |
---
license: apache-2.0
task_categories:
- text-classification
- text-generation
- text2text-generation
- text-retrieval
language:
- en
tags:
- Coder-Stat
- c++
- C
- Python
- Java
- Go
- Ruby
- R
- c#
size_categories:
- 10K<n<100K
---
# Coder-Stat Dataset
## Overview
The Coder-Stat dataset is a collection of programming-related data, including problem IDs, programming languages, original statuses, and source code snippets. This dataset is designed to assist in the analysis of coding patterns, error types, and performance metrics.
## Dataset Details
### Modalities
- **Tabular**: The dataset is structured in a tabular format.
- **Text**: Contains text data, including source code snippets.
### Formats
- **JSON**: The dataset is available in JSON format.
### Size
- The dataset contains between 10,000 to 100,000 entries.
### Libraries
- **Datasets**: The dataset is compatible with the Hugging Face Datasets library.
- **Pandas**: Can be easily loaded and manipulated using Pandas.
- **Croissant**: Additional support for Croissant format.
## Dataset Structure
### Columns
- **problem_id**: A unique identifier for each problem.
- **language**: The programming language used.
- **original_status**: The original status of the code (e.g., Runtime Error, Time Limit Exceeded).
- **original_sre**: The original source code.
- **changed_sre**: The modified or corrected source code.
### Splits
- **train**: Contains 41,900 rows of training data.
## Usage
### Loading the Dataset
You can load the dataset using the Hugging Face Datasets library:
```python
from datasets import load_dataset
dataset = load_dataset("prithivMLmods/Coder-Stat")
```
### Example
Here’s an example of how to access the data:
```python
import pandas as pd
# Load the dataset
dataset = load_dataset("prithivMLmods/Coder-Stat")
# Convert to Pandas DataFrame
df = pd.DataFrame(dataset['train'])
# Display the first few rows
print(df.head())
``` |