Update README.md
Browse files
README.md
CHANGED
|
@@ -1,41 +1,77 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
- name: author
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: labels
|
| 13 |
-
list: string
|
| 14 |
-
- name: created_at
|
| 15 |
-
dtype: timestamp[ns, tz=UTC]
|
| 16 |
-
- name: comments_count
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: url
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: year
|
| 21 |
-
dtype: int32
|
| 22 |
-
- name: month
|
| 23 |
-
dtype: int32
|
| 24 |
-
- name: title_length
|
| 25 |
-
dtype: int64
|
| 26 |
-
- name: body_length
|
| 27 |
-
dtype: int64
|
| 28 |
-
- name: actual_comments
|
| 29 |
-
dtype: int64
|
| 30 |
-
splits:
|
| 31 |
-
- name: train
|
| 32 |
-
num_bytes: 74619
|
| 33 |
-
num_examples: 40
|
| 34 |
-
download_size: 48474
|
| 35 |
-
dataset_size: 74619
|
| 36 |
-
configs:
|
| 37 |
-
- config_name: default
|
| 38 |
-
data_files:
|
| 39 |
-
- split: train
|
| 40 |
-
path: data/train-*
|
| 41 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- github
|
| 6 |
+
- text
|
| 7 |
+
- issues
|
| 8 |
+
- dataset-creation
|
| 9 |
+
- open-source
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# GitHub Issues Dataset
|
| 13 |
+
|
| 14 |
+
## Dataset Description
|
| 15 |
+
This dataset contains **100 public GitHub issues** collected from a repository of choice.
|
| 16 |
+
It includes metadata about each issue, such as the author, creation date, labels, and content, as well as **derived fields** for analysis.
|
| 17 |
+
|
| 18 |
+
The dataset was created as part of a **Task 1 Assessment** for a data course, demonstrating:
|
| 19 |
+
- API data collection
|
| 20 |
+
- Data augmentation
|
| 21 |
+
- Publishing datasets on Hugging Face Hub
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## Dataset Features
|
| 26 |
+
|
| 27 |
+
| Feature Name | Type | Description |
|
| 28 |
+
|------------------|----------------------------|-------------|
|
| 29 |
+
| `id` | int64 | Unique identifier of the GitHub issue |
|
| 30 |
+
| `title` | string | Issue title |
|
| 31 |
+
| `body` | string | Full text description of the issue |
|
| 32 |
+
| `author` | string | GitHub username of the issue creator |
|
| 33 |
+
| `labels` | list of string | Labels/tags associated with the issue |
|
| 34 |
+
| `created_at` | timestamp[ns, tz=UTC] | Date and time the issue was created |
|
| 35 |
+
| `comments_count` | int64 | Number of comments reported by GitHub API |
|
| 36 |
+
| `url` | string | Direct link to the GitHub issue |
|
| 37 |
+
| `year` | int32 | Year extracted from `created_at` |
|
| 38 |
+
| `month` | int32 | Month extracted from `created_at` |
|
| 39 |
+
| `title_length` | int64 | Number of characters in the title |
|
| 40 |
+
| `body_length` | int64 | Number of characters in the body |
|
| 41 |
+
| `actual_comments`| int64 | Count of comments fetched via API |
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
## Data Collection Method
|
| 46 |
+
- Data was collected using the **GitHub Issues API** (`requests` library in Python).
|
| 47 |
+
- Only **public issues** were retrieved; no private data or personally identifiable information was included.
|
| 48 |
+
- **Derived fields** (`year`, `month`, `title_length`, `body_length`) were added for analysis purposes.
|
| 49 |
+
- `actual_comments` was fetched from the issue comments endpoint to supplement the original `comments_count`.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Licensing
|
| 54 |
+
- Data comes from **public GitHub repositories**, which are governed by GitHub’s Terms of Service.
|
| 55 |
+
- This dataset itself is released under the **MIT License**, allowing reuse and modification.
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## Limitations
|
| 60 |
+
- Small sample size: **100 issues only**; not representative of all GitHub repositories.
|
| 61 |
+
- Possible **labeling bias**, as labels depend on repository maintainer conventions.
|
| 62 |
+
- Only issues in **English** were collected.
|
| 63 |
+
- No guarantees on completeness; the dataset may contain truncated issue bodies.
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
## Ethical Considerations
|
| 68 |
+
- Only public data used.
|
| 69 |
+
- No private, sensitive, or personally identifiable information collected.
|
| 70 |
+
- Compliant with **ethical and legal standards** for open-source data use.
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## References
|
| 75 |
+
|
| 76 |
+
- GitHub API: https://docs.github.com/en/rest/issues/issues
|
| 77 |
+
- Hugging Face datasets documentation: https://huggingface.co/docs/datasets
|