|
|
--- |
|
|
dataset_info: |
|
|
features: |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: repository_url |
|
|
dtype: string |
|
|
- name: labels_url |
|
|
dtype: string |
|
|
- name: comments_url |
|
|
dtype: string |
|
|
- name: events_url |
|
|
dtype: string |
|
|
- name: html_url |
|
|
dtype: string |
|
|
- name: id |
|
|
dtype: int64 |
|
|
- name: node_id |
|
|
dtype: string |
|
|
- name: number |
|
|
dtype: int64 |
|
|
- name: title |
|
|
dtype: string |
|
|
- name: user |
|
|
struct: |
|
|
- name: avatar_url |
|
|
dtype: string |
|
|
- name: events_url |
|
|
dtype: string |
|
|
- name: followers_url |
|
|
dtype: string |
|
|
- name: following_url |
|
|
dtype: string |
|
|
- name: gists_url |
|
|
dtype: string |
|
|
- name: gravatar_id |
|
|
dtype: string |
|
|
- name: html_url |
|
|
dtype: string |
|
|
- name: id |
|
|
dtype: int64 |
|
|
- name: login |
|
|
dtype: string |
|
|
- name: node_id |
|
|
dtype: string |
|
|
- name: organizations_url |
|
|
dtype: string |
|
|
- name: received_events_url |
|
|
dtype: string |
|
|
- name: repos_url |
|
|
dtype: string |
|
|
- name: site_admin |
|
|
dtype: bool |
|
|
- name: starred_url |
|
|
dtype: string |
|
|
- name: subscriptions_url |
|
|
dtype: string |
|
|
- name: type |
|
|
dtype: string |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: user_view_type |
|
|
dtype: string |
|
|
- name: labels |
|
|
list: |
|
|
- name: color |
|
|
dtype: string |
|
|
- name: default |
|
|
dtype: bool |
|
|
- name: description |
|
|
dtype: string |
|
|
- name: id |
|
|
dtype: int64 |
|
|
- name: name |
|
|
dtype: string |
|
|
- name: node_id |
|
|
dtype: string |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: state |
|
|
dtype: string |
|
|
- name: locked |
|
|
dtype: bool |
|
|
- name: assignee |
|
|
struct: |
|
|
- name: avatar_url |
|
|
dtype: string |
|
|
- name: events_url |
|
|
dtype: string |
|
|
- name: followers_url |
|
|
dtype: string |
|
|
- name: following_url |
|
|
dtype: string |
|
|
- name: gists_url |
|
|
dtype: string |
|
|
- name: gravatar_id |
|
|
dtype: string |
|
|
- name: html_url |
|
|
dtype: string |
|
|
- name: id |
|
|
dtype: int64 |
|
|
- name: login |
|
|
dtype: string |
|
|
- name: node_id |
|
|
dtype: string |
|
|
- name: organizations_url |
|
|
dtype: string |
|
|
- name: received_events_url |
|
|
dtype: string |
|
|
- name: repos_url |
|
|
dtype: string |
|
|
- name: site_admin |
|
|
dtype: bool |
|
|
- name: starred_url |
|
|
dtype: string |
|
|
- name: subscriptions_url |
|
|
dtype: string |
|
|
- name: type |
|
|
dtype: string |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: user_view_type |
|
|
dtype: string |
|
|
- name: assignees |
|
|
list: |
|
|
- name: avatar_url |
|
|
dtype: string |
|
|
- name: events_url |
|
|
dtype: string |
|
|
- name: followers_url |
|
|
dtype: string |
|
|
- name: following_url |
|
|
dtype: string |
|
|
- name: gists_url |
|
|
dtype: string |
|
|
- name: gravatar_id |
|
|
dtype: string |
|
|
- name: html_url |
|
|
dtype: string |
|
|
- name: id |
|
|
dtype: int64 |
|
|
- name: login |
|
|
dtype: string |
|
|
- name: node_id |
|
|
dtype: string |
|
|
- name: organizations_url |
|
|
dtype: string |
|
|
- name: received_events_url |
|
|
dtype: string |
|
|
- name: repos_url |
|
|
dtype: string |
|
|
- name: site_admin |
|
|
dtype: bool |
|
|
- name: starred_url |
|
|
dtype: string |
|
|
- name: subscriptions_url |
|
|
dtype: string |
|
|
- name: type |
|
|
dtype: string |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: user_view_type |
|
|
dtype: string |
|
|
- name: comments |
|
|
list: string |
|
|
- name: created_at |
|
|
dtype: timestamp[s] |
|
|
- name: updated_at |
|
|
dtype: timestamp[s] |
|
|
- name: closed_at |
|
|
dtype: timestamp[s] |
|
|
- name: author_association |
|
|
dtype: string |
|
|
- name: type |
|
|
dtype: 'null' |
|
|
- name: active_lock_reason |
|
|
dtype: 'null' |
|
|
- name: draft |
|
|
dtype: 'null' |
|
|
- name: pull_request |
|
|
dtype: 'null' |
|
|
- name: body |
|
|
dtype: string |
|
|
- name: closed_by |
|
|
struct: |
|
|
- name: avatar_url |
|
|
dtype: string |
|
|
- name: events_url |
|
|
dtype: string |
|
|
- name: followers_url |
|
|
dtype: string |
|
|
- name: following_url |
|
|
dtype: string |
|
|
- name: gists_url |
|
|
dtype: string |
|
|
- name: gravatar_id |
|
|
dtype: string |
|
|
- name: html_url |
|
|
dtype: string |
|
|
- name: id |
|
|
dtype: int64 |
|
|
- name: login |
|
|
dtype: string |
|
|
- name: node_id |
|
|
dtype: string |
|
|
- name: organizations_url |
|
|
dtype: string |
|
|
- name: received_events_url |
|
|
dtype: string |
|
|
- name: repos_url |
|
|
dtype: string |
|
|
- name: site_admin |
|
|
dtype: bool |
|
|
- name: starred_url |
|
|
dtype: string |
|
|
- name: subscriptions_url |
|
|
dtype: string |
|
|
- name: type |
|
|
dtype: string |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: user_view_type |
|
|
dtype: string |
|
|
- name: reactions |
|
|
struct: |
|
|
- name: '+1' |
|
|
dtype: int64 |
|
|
- name: '-1' |
|
|
dtype: int64 |
|
|
- name: confused |
|
|
dtype: int64 |
|
|
- name: eyes |
|
|
dtype: int64 |
|
|
- name: heart |
|
|
dtype: int64 |
|
|
- name: hooray |
|
|
dtype: int64 |
|
|
- name: laugh |
|
|
dtype: int64 |
|
|
- name: rocket |
|
|
dtype: int64 |
|
|
- name: total_count |
|
|
dtype: int64 |
|
|
- name: url |
|
|
dtype: string |
|
|
- name: timeline_url |
|
|
dtype: string |
|
|
- name: performed_via_github_app |
|
|
dtype: 'null' |
|
|
- name: state_reason |
|
|
dtype: string |
|
|
- name: sub_issues_summary |
|
|
struct: |
|
|
- name: completed |
|
|
dtype: int64 |
|
|
- name: percent_completed |
|
|
dtype: int64 |
|
|
- name: total |
|
|
dtype: int64 |
|
|
- name: issue_dependencies_summary |
|
|
struct: |
|
|
- name: blocked_by |
|
|
dtype: int64 |
|
|
- name: blocking |
|
|
dtype: int64 |
|
|
- name: total_blocked_by |
|
|
dtype: int64 |
|
|
- name: total_blocking |
|
|
dtype: int64 |
|
|
- name: is_pull_request |
|
|
dtype: bool |
|
|
- name: closed_at_time_taken |
|
|
dtype: duration[s] |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 19858962 |
|
|
num_examples: 3261 |
|
|
download_size: 6273920 |
|
|
dataset_size: 19858962 |
|
|
configs: |
|
|
- config_name: default |
|
|
data_files: |
|
|
- split: train |
|
|
path: data/train-* |
|
|
license: apache-2.0 |
|
|
language: |
|
|
- en |
|
|
tags: |
|
|
- github |
|
|
- issues |
|
|
- huggingface |
|
|
- datasets |
|
|
- 3000-5000 |
|
|
pretty_name: Hugging Face Datasets GitHub Issues |
|
|
size_categories: |
|
|
- 1K<n<10K |
|
|
--- |
|
|
# Dataset Card for Dataset Name |
|
|
|
|
|
## Dataset Details |
|
|
|
|
|
### Dataset Description |
|
|
|
|
|
This dataset is a collection of **GitHub Issue and Pull Request metadata** scraped from the public **`huggingface/datasets`** repository using the GitHub REST API. It contains **3,261 distinct issue records** (excluding pull requests) that were extracted from an initial fetch of 7,808 samples. The data provides a rich corpus of **real-world technical communication** focused on open-source software development, covering the repository's activity up to late 2025. |
|
|
|
|
|
The data provides a rich corpus of **real-world technical communication**, primarily in **English (en)**, focused on the **open-source software development** domain of the `datasets` library. The dataset was curated to offer a clean, usable source for tasks like **issue classification** and **summarization** within a highly technical context. |
|
|
|
|
|
## Uses |
|
|
|
|
|
This simplified dataset primarily supports tasks based on textual content and intrinsic labels (`state`). |
|
|
|
|
|
**text-classification: Issue State Classification** |
|
|
The dataset can be used to train a model for **Issue State Classification**, which consists in **predicting whether an issue/pull request is currently 'open' or 'closed'** based solely on its `title` and `body` text. Success on this task is typically measured by achieving a high **Accuracy** or **F1-score**. |
|
|
|
|
|
**other:issue-summarization** |
|
|
The dataset can be used to train a model for **Issue Summarization** (Sequence-to-Sequence), which consists in **generating a concise title/summary** given the longer `body` text of the issue. Success on this task is typically measured by achieving a high **ROUGE-L** score. |
|
|
|
|
|
**other:issue-type-classification** |
|
|
The dataset can be used to train a model for **Issue Type Classification**, which consists in **classifying whether a record represents a bug, a feature request, or general question** (derived or annotated from the `title` and `body` fields). |
|
|
|
|
|
### Languages |
|
|
|
|
|
The primary language represented in the dataset is **English (en)** (BCP-47 code: `en`), consistent with standard practice for global open-source projects. The text is technical, informal, and conversational, reflecting developer communication on a platform like GitHub. |
|
|
|
|
|
|
|
|
## Dataset Structure |
|
|
|
|
|
{ |
|
|
"url": "String", |
|
|
"repository_url": "String", |
|
|
"labels_url": "String", |
|
|
"comments_url": "String", |
|
|
"events_url": "String", |
|
|
"html_url": "String", |
|
|
"id": "Integer", |
|
|
"node_id": "String", |
|
|
"number": "Integer", |
|
|
"title": "String", |
|
|
"user": { |
|
|
"login": "String", |
|
|
"id": "Integer", |
|
|
"node_id": "String", |
|
|
"avatar_url": "String", |
|
|
// ... (other user fields) |
|
|
"site_admin": "Boolean" |
|
|
}, |
|
|
"labels": [ |
|
|
// List of Structs |
|
|
{ |
|
|
"name": "String", |
|
|
"color": "String", |
|
|
"id": "Integer" |
|
|
// ... (other label fields) |
|
|
} |
|
|
], |
|
|
"state": "String", |
|
|
"locked": "Boolean", |
|
|
"assignee": "Null/Struct", |
|
|
"assignees": [ |
|
|
// List of Structs (User objects) |
|
|
], |
|
|
"milestone": "Null/Struct", |
|
|
"comments": "Integer", |
|
|
"created_at": "Timestamp", |
|
|
"updated_at": "Timestamp", |
|
|
"closed_at": "Timestamp/Null", |
|
|
"author_association": "String", |
|
|
"type": "String", |
|
|
"active_lock_reason": "Null/String", |
|
|
"draft": "Boolean", |
|
|
"pull_request": { |
|
|
"url": "String", |
|
|
"html_url": "String", |
|
|
"diff_url": "String", |
|
|
"patch_url": "String", |
|
|
"merged_at": "Timestamp/Null" |
|
|
}, |
|
|
"body": "String", |
|
|
"closed_by": "Null/Struct", |
|
|
"reactions": { |
|
|
"url": "String", |
|
|
"total_count": "Integer" |
|
|
// ... (other reaction counts) |
|
|
}, |
|
|
"timeline_url": "String", |
|
|
"performed_via_github_app": "Null", |
|
|
"state_reason": "Null/String" |
|
|
} |
|
|
|
|
|
### Data Fields |
|
|
All original fields are retained except for milestone. This includes complex nested structures and all timestamps. |
|
|
|
|
|
id: int64. The unique GitHub identifier. |
|
|
|
|
|
number: int64. The sequential issue/PR number. |
|
|
|
|
|
title: string. The title of the issue/PR (Primary input). |
|
|
|
|
|
state: string. The current status (open or closed). |
|
|
|
|
|
comments: int32. The number of comments. |
|
|
|
|
|
created_at: timestamp. The creation time. |
|
|
|
|
|
updated_at: timestamp. The last update time. |
|
|
|
|
|
closed_at: timestamp. The closure time (null if open). |
|
|
|
|
|
user: struct. Metadata about the author. |
|
|
|
|
|
labels: list[struct]. A list of labels applied. |
|
|
|
|
|
pull_request: struct. Metadata specific to a Pull Request (includes merged_at timestamp). |
|
|
|
|
|
body: string. The main text description (Primary input). |
|
|
|
|
|
assignees: list[struct]. A list of assigned users. |
|
|
|
|
|
reactions: struct. Reaction counts (e.g., +1, heart). |
|
|
|
|
|
milestone: (DROPPED) This is the only field removed in normalization. |
|
|
|
|
|
### Data Splits |
|
|
|
|
|
| Split Name | Sample Type | Number of Examples | |
|
|
| :--- | :--- | :--- | |
|
|
| initial_fetch | Issues & PRs | 7,808 | |
|
|
| train | Pure Issues | 3,261 | |
|
|
|
|
|
### Criteria for Splitting: |
|
|
|
|
|
The data was collected as a single stream and is presented as one split (train). |
|
|
|
|
|
## Dataset Creation |
|
|
|
|
|
### Curation Rationale |
|
|
|
|
|
The dataset was curated to provide a high-quality corpus of pure issues for supervised learning. The primary motivation was to: 1) Separate Issues from PRs to avoid class confusion; 2) Augment Issues with Comments to provide the full conversational context necessary for realistic AI applications like automatic issue response or summarization. |
|
|
|
|
|
### Initial Data Collection and Normalization |
|
|
|
|
|
Process: Data was collected using the GitHub REST API (/repos/huggingface/datasets/issues) with state=all, resulting in 7,808 total records (issues and PRs). |
|
|
|
|
|
Separation: The initial records were filtered to include only records where the pull_request field was null, resulting in 3,261 issues. |
|
|
|
|
|
Augmentation: A subsequent fetch was performed to retrieve all associated comments for each of the 3,261 issues. |
|
|
|
|
|
Normalization: Only the milestone field was explicitly dropped prior to saving the .jsonl file. All other original fields were retained intact. |
|
|
|
|
|
### Who are the source language producers? |
|
|
|
|
|
The data was human-generated by developers, engineers, and community members interacting with the huggingface/datasets repository on GitHub. |
|
|
|
|
|
|
|
|
## Personal and Sensitive Information |
|
|
|
|
|
Fields like user contain publicly available GitHub login names and user IDs, which are considered personal identifiers. |
|
|
The raw text in the body field may contain indirect personal or sensitive information posted by users. |
|
|
|
|
|
## Considerations for Using the Data |
|
|
|
|
|
### Discussion of Biases |
|
|
|
|
|
The primary bias is Selection Bias: The data is specific to the datasets library and is heavily biased toward technical, engineering, and machine learning terminology. |
|
|
|
|
|
## Additional Information |
|
|
|
|
|
### Licensing Information |
|
|
|
|
|
The source data is derived from a public GitHub repository under the Apache-2.0 License. |