Datasets:
Initial push with dataset and README
Browse files1234569 unmodified lines161718192021222324252627282930313233343536373839404142434445---annotations_creators: [user]language:- enlanguage_creators: [found]9 unmodified lines- extractive-qa---# GitHub Issues Dataset (HuggingFace/datasets Repository)This dataset contains structured GitHub issues scraped from the [`huggingface/datasets`](https://github.com/huggingface/datasets) repository. It includes metadata like titles, bodies, timestamps, state (open/closed), and optional pull request information — making it useful for a variety of natural language processing (NLP) and software engineering tasks.## Dataset Summary- **Repository**: `huggingface/datasets`- **Source**: GitHub REST API v3- **Total Issues Collected**: ~7,465- **Time of Crawling**: June 25, 2025- **Includes**:- Issue `title`, `body`, `state`, `created_at`, `updated_at`, `closed_at`- Flags like `is_pull_request`- Nested `pull_request` info where applicable- Metadata such as `user.login`, `comments`, `html_url`## How It Was CreatedWe used the GitHub REST API to scrape issues from the Hugging Face `datasets` repo using Python. Data was collected using `requests`, paginated with `per_page=100`, and stored as a JSONL file.A flattening function was applied to extract deeply nested fields and standardize the schema.### Sample Code Snippet```pythonfrom datasets import load_datasetds = load_dataset("rIsHu009/github-issues-updated", split="train")1234569 unmodified lines16171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970---annotations_creators: [unknown]language:- enlanguage_creators: [found]9 unmodified lines- extractive-qa---# 📊 GitHub Issues Dataset (HuggingFace/datasets Repository)This dataset contains structured GitHub issues scraped from the [`huggingface/datasets`](https://github.com/huggingface/datasets) repository. It is intended for **NLP tasks**, **topic modeling**, **issue classification**, and **software engineering research**.---## 📌 Dataset Summary- **Repository Source**: `huggingface/datasets`- **Scraped via**: GitHub REST API v3- **Total Issues**: ~7,465- **Collected On**: June 25, 2025- **Format**: `JSONL` → loaded via Arrow for Hugging Face- **Language**: English---## 📂 Fields IncludedEach entry contains:- `title` — Issue title- `body` — Issue body text- `state` — Open or closed- `created_at`, `updated_at`, `closed_at` — Timestamps- `is_pull_request` — Boolean flag- `user.login` — Author- `comments` — Count of comments- `html_url` — URL to the issue- `pull_request.*` — Nested fields when issue is a PR---## ⚙️ How It Was CreatedIssues were scraped using Python’s `requests` library with pagination (`per_page=100`). The dataset was flattened to remove deep nesting and improve usability with machine learning models.All entries were saved to `.jsonl`, loaded into a Hugging Face DatasetDict using `load_dataset`, and then pushed to the 🤗 Hub.---## 💡 Example Usage```pythonfrom datasets import load_dataset# Load the dataset from the Hugging Face Hubds = load_dataset("rIsHu009/github-issues-updated", split="train")# Access a sample recordprint(ds[0])
README.md+42-17