Update README.md
Browse files
README.md
CHANGED
@@ -352,4 +352,122 @@ tags:
|
|
352 |
pretty_name: HF Datasets GitHub issues
|
353 |
size_categories:
|
354 |
- n<1K
|
355 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
pretty_name: HF Datasets GitHub issues
|
353 |
size_categories:
|
354 |
- n<1K
|
355 |
+
---
|
356 |
+
|
357 |
+
## Dataset Card for HF GitHub Dataset Issues with Comments
|
358 |
+
|
359 |
+
### Table of Contents
|
360 |
+
- [Dataset Description](#dataset-description)
|
361 |
+
- [Dataset Summary](#dataset-summary)
|
362 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
363 |
+
- [Languages](#languages)
|
364 |
+
- [Dataset Structure](#dataset-structure)
|
365 |
+
- [Data Splits](#data-splits)
|
366 |
+
- [Dataset Creation](#dataset-creation)
|
367 |
+
- [Source Data](#source-data)
|
368 |
+
- [Annotations](#annotations)
|
369 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
370 |
+
- [Additional Information](#additional-information)
|
371 |
+
|
372 |
+
---
|
373 |
+
|
374 |
+
### Dataset Description
|
375 |
+
|
376 |
+
#### Dataset Summary
|
377 |
+
This dataset consists of GitHub issues with their associated comments, providing insight into discussions and problem-solving processes in open-source development. Each issue entry includes metadata, such as issue title, description, labels, timestamps, and a series of comments with author information and timestamps. This dataset is valuable for studying code review, bug tracking, community dynamics, and language modeling tasks involving conversational threads.
|
378 |
+
|
379 |
+
#### Supported Tasks and Leaderboards
|
380 |
+
- **Text Classification**: Classify issues and comments by topic or label, e.g., "bug," "feature request."
|
381 |
+
- **Sentiment Analysis**: Determine the sentiment of issue comments to gauge user satisfaction or frustration.
|
382 |
+
- **Named Entity Recognition (NER)**: Identify technical terms, libraries, or code references within issue descriptions and comments.
|
383 |
+
- **Summarization**: Generate summaries of discussions for quick context on complex threads.
|
384 |
+
|
385 |
+
#### Languages
|
386 |
+
Primarily **English (en)**, as GitHub is predominantly English-based, though some issues may contain multilingual comments.
|
387 |
+
|
388 |
+
---
|
389 |
+
|
390 |
+
### Dataset Structure
|
391 |
+
|
392 |
+
#### Data Fields
|
393 |
+
- **issue_id**: Unique identifier for each GitHub issue.
|
394 |
+
- **title**: The title of the GitHub issue.
|
395 |
+
- **description**: Detailed description of the issue.
|
396 |
+
- **labels**: Labels associated with the issue (e.g., bug, enhancement).
|
397 |
+
- **created_at**: Timestamp when the issue was created.
|
398 |
+
- **closed_at**: Timestamp when the issue was closed (if applicable).
|
399 |
+
- **comments**: List of comments, each including:
|
400 |
+
- **comment_id**: Unique identifier for each comment.
|
401 |
+
- **comment_body**: Text content of the comment.
|
402 |
+
- **comment_author**: Username of the comment author.
|
403 |
+
- **comment_created_at**: Timestamp when the comment was created.
|
404 |
+
|
405 |
+
#### Example
|
406 |
+
```
|
407 |
+
{
|
408 |
+
"issue_id": "12345",
|
409 |
+
"title": "Error when running setup",
|
410 |
+
"description": "Steps to reproduce...",
|
411 |
+
"labels": ["bug", "setup"],
|
412 |
+
"created_at": "2022-08-01T12:34:56Z",
|
413 |
+
"closed_at": null,
|
414 |
+
"comments": [
|
415 |
+
{
|
416 |
+
"comment_id": "c1",
|
417 |
+
"comment_body": "I faced the same issue...",
|
418 |
+
"comment_author": "user123",
|
419 |
+
"comment_created_at": "2022-08-01T13:00:00Z"
|
420 |
+
},
|
421 |
+
...
|
422 |
+
]
|
423 |
+
}
|
424 |
+
```
|
425 |
+
|
426 |
+
#### Data Splits
|
427 |
+
This dataset may be split into **training**, **validation**, and **test** subsets based on issue ID, or by date ranges, to prevent data leakage between related issues or comments.
|
428 |
+
|
429 |
+
---
|
430 |
+
|
431 |
+
### Dataset Creation
|
432 |
+
|
433 |
+
#### Curation Rationale
|
434 |
+
The dataset was created to support research and practical applications in software engineering, natural language processing, and community analysis. By aggregating issue discussions, we can better understand the collaborative problem-solving dynamics on GitHub.
|
435 |
+
|
436 |
+
#### Source Data
|
437 |
+
- **Source**: Data is sourced from public GitHub repositories.
|
438 |
+
- **License**: Open data sourced from GitHub’s API under GitHub’s [terms of service](https://docs.github.com/en/github/site-policy/github-terms-of-service).
|
439 |
+
|
440 |
+
#### Annotations
|
441 |
+
- **Annotation Process**: No manual annotation; data fields are collected directly from GitHub issues and comments.
|
442 |
+
- **Annotation Statistics**: Automatically gathered metadata (e.g., labels, timestamps, user comments).
|
443 |
+
|
444 |
+
---
|
445 |
+
|
446 |
+
### Considerations for Using the Data
|
447 |
+
|
448 |
+
#### Social Impact of Dataset
|
449 |
+
This dataset aids in improving tools for open-source development and understanding community dynamics. However, comments may include sensitive discussions, which should be handled with privacy considerations.
|
450 |
+
|
451 |
+
#### Dataset Limitations
|
452 |
+
Some repositories may have data inconsistencies or missing fields, as issues and comments vary significantly in detail and style.
|
453 |
+
|
454 |
+
#### Ethical Considerations
|
455 |
+
Since comments are authored by individual users, avoid any misuse that could lead to user profiling or invasion of privacy. Consider GitHub’s data policies when redistributing or sharing this dataset.
|
456 |
+
|
457 |
+
---
|
458 |
+
|
459 |
+
### Additional Information
|
460 |
+
|
461 |
+
#### Citation
|
462 |
+
Please cite this dataset as follows:
|
463 |
+
```
|
464 |
+
@dataset{hf_github_issues_comments,
|
465 |
+
title = {HF GitHub Dataset Issues with Comments},
|
466 |
+
author = {Raibek Tussupbekov},
|
467 |
+
year = {2024},
|
468 |
+
url = {https://huggingface.co/datasets/hf_github_issues_comments}
|
469 |
+
}
|
470 |
+
```
|
471 |
+
|
472 |
+
#### Contributions
|
473 |
+
Data collection by Raibek Tussupbekov. Special thanks to contributors who maintain public GitHub repositories, making this dataset possible.
|