---
title: Coder-Stat
canonical_url: "https://www.modelscope.cn/datasets/prithivMLmods/Coder-Stat"
md_url: "https://www.modelscope.cn/datasets/prithivMLmods/Coder-Stat.md"
repository: prithivMLmods/Coder-Stat
last_updated: 2025-01-18
license: "Apache License 2.0"
storage_size: "219 MB"
downloads: 3689
stars: 0
---

# Coder-Stat

> Coder-Stat - prithivMLmods 在 ModelScope 开源的数据集。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…

prithivMLmods/Coder-Stat 是 ModelScope 魔搭社区上的数据集，存储大小 219 MB，采用 Apache License 2.0 许可。

- **Repository**: prithivMLmods/Coder-Stat
- **License**: Apache License 2.0
- **Storage size**: 219 MB
- **Downloads**: 3689
- **Stars**: 0
- **Last updated**: 2025-01-18

Source: https://www.modelscope.cn/datasets/prithivMLmods/Coder-Stat

---

# 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())
```
