prithivMLmods commited on
Commit
a2f8fb1
·
verified ·
1 Parent(s): 85b0b79

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +86 -3
README.md CHANGED
@@ -1,3 +1,86 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-classification
5
+ - text-generation
6
+ - text2text-generation
7
+ - text-retrieval
8
+ language:
9
+ - en
10
+ tags:
11
+ - Coder-Stat
12
+ - c++
13
+ - C
14
+ - Python
15
+ - Java
16
+ - Go
17
+ - Ruby
18
+ - R
19
+ - c#
20
+ size_categories:
21
+ - 10K<n<100K
22
+ ---
23
+
24
+ # Coder-Stat Dataset
25
+
26
+ ## Overview
27
+ 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.
28
+
29
+ ## Dataset Details
30
+
31
+ ### Modalities
32
+ - **Tabular**: The dataset is structured in a tabular format.
33
+ - **Text**: Contains text data, including source code snippets.
34
+
35
+ ### Formats
36
+ - **JSON**: The dataset is available in JSON format.
37
+
38
+ ### Size
39
+ - The dataset contains between 10,000 to 100,000 entries.
40
+
41
+ ### Libraries
42
+ - **Datasets**: The dataset is compatible with the Hugging Face Datasets library.
43
+ - **Pandas**: Can be easily loaded and manipulated using Pandas.
44
+ - **Croissant**: Additional support for Croissant format.
45
+
46
+ ### License
47
+ - **Apache-2.0**: The dataset is licensed under the Apache License 2.0.
48
+
49
+ ## Dataset Structure
50
+
51
+ ### Columns
52
+ - **problem_id**: A unique identifier for each problem.
53
+ - **language**: The programming language used.
54
+ - **original_status**: The original status of the code (e.g., Runtime Error, Time Limit Exceeded).
55
+ - **original_sre**: The original source code.
56
+ - **changed_sre**: The modified or corrected source code.
57
+
58
+ ### Splits
59
+ - **train**: Contains 41,900 rows of training data.
60
+
61
+ ## Usage
62
+
63
+ ### Loading the Dataset
64
+ You can load the dataset using the Hugging Face Datasets library:
65
+
66
+ ```python
67
+ from datasets import load_dataset
68
+
69
+ dataset = load_dataset("prithivMLmods/Coder-Stat")
70
+ ```
71
+
72
+ ### Example
73
+ Here’s an example of how to access the data:
74
+
75
+ ```python
76
+ import pandas as pd
77
+
78
+ # Load the dataset
79
+ dataset = load_dataset("prithivMLmods/Coder-Stat")
80
+
81
+ # Convert to Pandas DataFrame
82
+ df = pd.DataFrame(dataset['train'])
83
+
84
+ # Display the first few rows
85
+ print(df.head())
86
+ ```