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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- code
|
| 6 |
size_categories:
|
| 7 |
- 1K<n<10K
|
| 8 |
+
---
|
| 9 |
+
language:
|
| 10 |
+
|
| 11 |
+
en license: other license_name: github-terms-of-service license_link: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service size_categories:
|
| 12 |
+
1K<n<10K task_categories:
|
| 13 |
+
text-classification
|
| 14 |
+
question-answering
|
| 15 |
+
summarization pretty_name: Hugging Face Datasets GitHub Issues tags:
|
| 16 |
+
github
|
| 17 |
+
issues
|
| 18 |
+
code
|
| 19 |
+
software-engineering
|
| 20 |
+
pull-requests dataset_info: features:
|
| 21 |
+
name: url dtype: string
|
| 22 |
+
name: repository_url dtype: string
|
| 23 |
+
name: labels_url dtype: string
|
| 24 |
+
name: comments_url dtype: string
|
| 25 |
+
name: events_url dtype: string
|
| 26 |
+
name: html_url dtype: string
|
| 27 |
+
name: id dtype: int64
|
| 28 |
+
name: node_id dtype: string
|
| 29 |
+
name: number dtype: int64
|
| 30 |
+
name: title dtype: string
|
| 31 |
+
name: user dtype: string
|
| 32 |
+
name: labels sequence: string
|
| 33 |
+
name: state dtype: string
|
| 34 |
+
name: locked dtype: bool
|
| 35 |
+
name: assignee dtype: string
|
| 36 |
+
name: assignees sequence: string
|
| 37 |
+
name: milestone dtype: string
|
| 38 |
+
name: comments sequence: string
|
| 39 |
+
name: created_at dtype: string
|
| 40 |
+
name: updated_at dtype: string
|
| 41 |
+
name: closed_at dtype: string
|
| 42 |
+
name: author_association dtype: string
|
| 43 |
+
name: type dtype: string
|
| 44 |
+
name: active_lock_reason dtype: string
|
| 45 |
+
name: draft dtype: bool
|
| 46 |
+
name: pull_request dtype: string
|
| 47 |
+
name: body dtype: string
|
| 48 |
+
name: closed_by dtype: string
|
| 49 |
+
name: reactions dtype: string
|
| 50 |
+
name: timeline_url dtype: string
|
| 51 |
+
name: performed_via_github_app dtype: string
|
| 52 |
+
name: state_reason dtype: string
|
| 53 |
+
name: sub_issues_summary dtype: string
|
| 54 |
+
name: issue_dependencies_summary dtype: string
|
| 55 |
+
name: is_pull_request dtype: bool splits:
|
| 56 |
+
name: train num_examples: 1000
|
| 57 |
+
name: test num_examples: 1000 config_name: default
|
| 58 |
+
GitHub Issues Dataset - Hugging Face Datasets Repository
|
| 59 |
+
Dataset Description
|
| 60 |
+
This dataset contains 2,000 issues and pull requests from the Hugging Face Datasets GitHub repository. It includes comprehensive metadata about each issue/PR along with all associated comments, making it suitable for various NLP and software engineering tasks.
|
| 61 |
+
|
| 62 |
+
Dataset Summary
|
| 63 |
+
Repository: huggingface/datasets
|
| 64 |
+
Total Examples: 2,000 (1,000 train / 1,000 test)
|
| 65 |
+
Collection Date: November 4, 2025
|
| 66 |
+
Language: English
|
| 67 |
+
Data Source: GitHub REST API v3
|
| 68 |
+
Supported Tasks
|
| 69 |
+
Issue Classification: Categorize issues by type, priority, or topic
|
| 70 |
+
Automated Triage: Predict issue labels or assignment
|
| 71 |
+
Comment Generation: Generate helpful responses to issues
|
| 72 |
+
Summarization: Create concise summaries of lengthy discussions
|
| 73 |
+
Sentiment Analysis: Analyze community sentiment and tone
|
| 74 |
+
Duplicate Detection: Identify similar or duplicate issues
|
| 75 |
+
Resolution Prediction: Predict if/when issues will be closed
|
| 76 |
+
Dataset Structure
|
| 77 |
+
Data Instances
|
| 78 |
+
Each example contains:
|
| 79 |
+
|
| 80 |
+
Issue/PR metadata (title, state, dates, author)
|
| 81 |
+
User information
|
| 82 |
+
Labels and assignees
|
| 83 |
+
Complete comment thread
|
| 84 |
+
Reaction counts
|
| 85 |
+
Pull request linkage (if applicable)
|
| 86 |
+
Data Fields
|
| 87 |
+
Field Type Description
|
| 88 |
+
url string API URL for the issue
|
| 89 |
+
html_url string Web URL for the issue
|
| 90 |
+
number int Issue/PR number
|
| 91 |
+
title string Issue/PR title
|
| 92 |
+
body string Issue/PR description
|
| 93 |
+
state string Current state (open/closed)
|
| 94 |
+
created_at string Creation timestamp (ISO 8601)
|
| 95 |
+
updated_at string Last update timestamp
|
| 96 |
+
closed_at string Closure timestamp (if closed)
|
| 97 |
+
user string Author information (JSON)
|
| 98 |
+
assignee string Assigned user (JSON)
|
| 99 |
+
assignees list[string] All assigned users
|
| 100 |
+
labels list[string] Applied labels
|
| 101 |
+
comments list[string] All comment bodies
|
| 102 |
+
comment_count int Number of comments
|
| 103 |
+
is_pull_request bool Whether this is a PR
|
| 104 |
+
pull_request string PR metadata (JSON, if applicable)
|
| 105 |
+
reactions string Reaction counts (JSON)
|
| 106 |
+
locked bool Whether discussion is locked
|
| 107 |
+
author_association string User's relationship to repo
|
| 108 |
+
state_reason string Reason for current state
|
| 109 |
+
Data Splits
|
| 110 |
+
Train: 1,000 examples (50%)
|
| 111 |
+
Test: 1,000 examples (50%)
|
| 112 |
+
Split performed randomly with seed for reproducibility.
|
| 113 |
+
|
| 114 |
+
Dataset Creation
|
| 115 |
+
Source Data
|
| 116 |
+
Data collected from the GitHub REST API (https://api.github.com) using authenticated requests.
|
| 117 |
+
|
| 118 |
+
Data Collection Process
|
| 119 |
+
Fetched 2,000 most recent issues/PRs using pagination
|
| 120 |
+
Filtered to include both open and closed items
|
| 121 |
+
Retrieved all comments for each issue via separate API calls
|
| 122 |
+
Added is_pull_request flag to distinguish PRs from issues
|
| 123 |
+
Split dataset 50/50 into train and test sets
|
| 124 |
+
Annotations
|
| 125 |
+
No manual annotations were added. All data comes directly from GitHub.
|
| 126 |
+
|
| 127 |
+
Licensing and Usage
|
| 128 |
+
License
|
| 129 |
+
This dataset contains data from GitHub and is subject to:
|
| 130 |
+
|
| 131 |
+
GitHub Terms of Service: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
|
| 132 |
+
GitHub API Terms: https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features#api-terms
|
| 133 |
+
Key License Considerations:
|
| 134 |
+
|
| 135 |
+
Public Data: All data was publicly accessible at time of collection
|
| 136 |
+
API Usage: Collected via authenticated GitHub API following rate limits
|
| 137 |
+
Redistribution: Subject to GitHub's terms regarding redistribution of public data
|
| 138 |
+
Commercial Use: Review GitHub ToS for commercial usage restrictions
|
| 139 |
+
Privacy and Attribution
|
| 140 |
+
User Information:
|
| 141 |
+
|
| 142 |
+
Contains usernames, avatars, and public profile links
|
| 143 |
+
All information was publicly visible on GitHub
|
| 144 |
+
No private or authenticated user data included
|
| 145 |
+
Usernames should be treated as personally identifiable information (PII)
|
| 146 |
+
Attribution Requirements:
|
| 147 |
+
|
| 148 |
+
Original content created by GitHub users remains their intellectual property
|
| 149 |
+
Dataset should be attributed to: "GitHub Issues from huggingface/datasets repository"
|
| 150 |
+
Individual contributions belong to their respective authors
|
| 151 |
+
Recommended Citation:
|
| 152 |
+
|
| 153 |
+
Hugging Face Datasets GitHub Issues Dataset (2025)
|
| 154 |
+
Source: https://github.com/huggingface/datasets
|
| 155 |
+
Collected: November 4, 2025
|
| 156 |
+
Ethical Considerations
|
| 157 |
+
Potential Biases
|
| 158 |
+
Temporal Bias: Only reflects issues from a specific time period
|
| 159 |
+
Community Bias: Reflects the Hugging Face Datasets user community
|
| 160 |
+
Language Bias: Predominantly English language content
|
| 161 |
+
Selection Bias: Most recent 2,000 issues may not represent all issue types
|
| 162 |
+
Privacy Considerations
|
| 163 |
+
Public Information Only: All data was public at collection time
|
| 164 |
+
User Privacy: Contains public usernames and profile information
|
| 165 |
+
Content Sensitivity: May include bug reports with error messages or code snippets
|
| 166 |
+
Right to be Forgotten: Users may delete/edit their comments after collection
|
| 167 |
+
Recommended Use Practices
|
| 168 |
+
DO:
|
| 169 |
+
Use for research and educational purposes
|
| 170 |
+
Aggregate and anonymize when possible
|
| 171 |
+
Respect user privacy in publications
|
| 172 |
+
Check for updates to GitHub's terms
|
| 173 |
+
|
| 174 |
+
DON'T:
|
| 175 |
+
Use for harassment or targeting individuals
|
| 176 |
+
Assume data represents all software development
|
| 177 |
+
Republish without proper attribution
|
| 178 |
+
Use for training models that could harm users
|
| 179 |
+
|
| 180 |
+
Storage and Maintenance
|
| 181 |
+
Storage Requirements
|
| 182 |
+
Size: ~20.5 MB (10.2 MB train + 10.3 MB test)
|
| 183 |
+
Format: JSONL (JSON Lines)
|
| 184 |
+
Compression: None applied
|
| 185 |
+
Data Retention
|
| 186 |
+
Snapshot Date: November 4, 2025
|
| 187 |
+
Update Frequency: Static snapshot (not automatically updated)
|
| 188 |
+
Archival: Stored on Hugging Face Hub for long-term access
|
| 189 |
+
Known Limitations
|
| 190 |
+
Static Snapshot: Issues/comments may have been edited or deleted since collection
|
| 191 |
+
Incomplete Context: Does not include code changes, file attachments, or images
|
| 192 |
+
API Limitations: Some fields may be truncated or sanitized by GitHub API
|
| 193 |
+
Rate Limiting: Collection required rate limit management (5,000 requests/hour)
|
| 194 |
+
Technical Details
|
| 195 |
+
Data Quality
|
| 196 |
+
Completeness: All requested fields retrieved successfully
|
| 197 |
+
Validation: Response codes verified (200 OK)
|
| 198 |
+
Error Handling: Rate limit handling implemented with retry logic
|
| 199 |
+
Duplicates: No duplicate issues (verified by issue number)
|
| 200 |
+
Preprocessing
|
| 201 |
+
Minimal preprocessing applied
|
| 202 |
+
JSON responses preserved in original structure
|
| 203 |
+
Comments retrieved via separate API calls and added as list field
|
| 204 |
+
Boolean flag added for pull request identification
|
| 205 |
+
|
| 206 |
+
Contact
|
| 207 |
+
For questions about this dataset:
|
| 208 |
+
Repository: Aliyah-20146588/github-issues
|
| 209 |
+
Original Source: https://github.com/huggingface/datasets
|
| 210 |
+
GitHub API Documentation: https://docs.github.com/en/rest
|
| 211 |
+
|
| 212 |
+
Changelog
|
| 213 |
+
Version 1.0 (November 4, 2025)
|
| 214 |
+
Initial release
|
| 215 |
+
2,000 issues/PRs with comments
|
| 216 |
+
Train/test split (1000/1000)
|