Datasets:
				
			
			
	
			
			
	
		
		File size: 13,604 Bytes
			
			d910dd5 2a3eb6c  | 
								1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448  | 
								---
license: bigscience-openrail-m
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: labels
    list:
    - name: id
      dtype: int64
    - name: node_id
      dtype: string
    - name: url
      dtype: string
    - name: name
      dtype: string
    - name: color
      dtype: string
    - name: default
      dtype: bool
    - name: description
      dtype: string
  - name: state
    dtype: string
  - name: locked
    dtype: bool
  - name: assignee
    dtype: 'null'
  - name: assignees
    list:
    - name: login
      dtype: string
    - name: id
      dtype: int64
    - name: node_id
      dtype: string
    - name: avatar_url
      dtype: string
    - name: gravatar_id
      dtype: string
    - name: url
      dtype: string
    - name: html_url
      dtype: string
    - name: followers_url
      dtype: string
    - name: following_url
      dtype: string
    - name: gists_url
      dtype: string
    - name: starred_url
      dtype: string
    - name: subscriptions_url
      dtype: string
    - name: organizations_url
      dtype: string
    - name: repos_url
      dtype: string
    - name: events_url
      dtype: string
    - name: received_events_url
      dtype: string
    - name: type
      dtype: string
    - name: user_view_type
      dtype: string
    - name: site_admin
      dtype: bool
  - name: milestone
    dtype: 'null'
  - name: comments
    dtype: int64
  - name: created_at
    dtype: int64
  - name: updated_at
    dtype: int64
  - name: closed_at
    dtype: int64
  - name: author_association
    dtype: string
  - name: type
    dtype: 'null'
  - name: active_lock_reason
    dtype: 'null'
  - name: body
    dtype: string
  - name: closed_by
    dtype: 'null'
  - name: timeline_url
    dtype: string
  - name: performed_via_github_app
    dtype: 'null'
  - name: state_reason
    dtype: string
  - name: user.login
    dtype: string
  - name: user.id
    dtype: int64
  - name: user.node_id
    dtype: string
  - name: user.avatar_url
    dtype: string
  - name: user.gravatar_id
    dtype: string
  - name: user.url
    dtype: string
  - name: user.html_url
    dtype: string
  - name: user.followers_url
    dtype: string
  - name: user.following_url
    dtype: string
  - name: user.gists_url
    dtype: string
  - name: user.starred_url
    dtype: string
  - name: user.subscriptions_url
    dtype: string
  - name: user.organizations_url
    dtype: string
  - name: user.repos_url
    dtype: string
  - name: user.events_url
    dtype: string
  - name: user.received_events_url
    dtype: string
  - name: user.type
    dtype: string
  - name: user.user_view_type
    dtype: string
  - name: user.site_admin
    dtype: bool
  - name: sub_issues_summary.total
    dtype: float64
  - name: sub_issues_summary.completed
    dtype: float64
  - name: sub_issues_summary.percent_completed
    dtype: float64
  - name: issue_dependencies_summary.blocked_by
    dtype: float64
  - name: issue_dependencies_summary.total_blocked_by
    dtype: float64
  - name: issue_dependencies_summary.blocking
    dtype: float64
  - name: issue_dependencies_summary.total_blocking
    dtype: float64
  - name: reactions.url
    dtype: string
  - name: reactions.total_count
    dtype: int64
  - name: reactions.+1
    dtype: int64
  - name: reactions.-1
    dtype: int64
  - name: reactions.laugh
    dtype: int64
  - name: reactions.hooray
    dtype: int64
  - name: reactions.confused
    dtype: int64
  - name: reactions.heart
    dtype: int64
  - name: reactions.rocket
    dtype: int64
  - name: reactions.eyes
    dtype: int64
  - name: draft
    dtype: 'null'
  - name: pull_request.url
    dtype: 'null'
  - name: pull_request.html_url
    dtype: 'null'
  - name: pull_request.diff_url
    dtype: 'null'
  - name: pull_request.patch_url
    dtype: 'null'
  - name: pull_request.merged_at
    dtype: 'null'
  - name: closed_by.login
    dtype: string
  - name: closed_by.id
    dtype: float64
  - name: closed_by.node_id
    dtype: string
  - name: closed_by.avatar_url
    dtype: string
  - name: closed_by.gravatar_id
    dtype: string
  - name: closed_by.url
    dtype: string
  - name: closed_by.html_url
    dtype: string
  - name: closed_by.followers_url
    dtype: string
  - name: closed_by.following_url
    dtype: string
  - name: closed_by.gists_url
    dtype: string
  - name: closed_by.starred_url
    dtype: string
  - name: closed_by.subscriptions_url
    dtype: string
  - name: closed_by.organizations_url
    dtype: string
  - name: closed_by.repos_url
    dtype: string
  - name: closed_by.events_url
    dtype: string
  - name: closed_by.received_events_url
    dtype: string
  - name: closed_by.type
    dtype: string
  - name: closed_by.user_view_type
    dtype: string
  - name: closed_by.site_admin
    dtype: bool
  - name: assignee.login
    dtype: string
  - name: assignee.id
    dtype: float64
  - name: assignee.node_id
    dtype: string
  - name: assignee.avatar_url
    dtype: string
  - name: assignee.gravatar_id
    dtype: string
  - name: assignee.url
    dtype: string
  - name: assignee.html_url
    dtype: string
  - name: assignee.followers_url
    dtype: string
  - name: assignee.following_url
    dtype: string
  - name: assignee.gists_url
    dtype: string
  - name: assignee.starred_url
    dtype: string
  - name: assignee.subscriptions_url
    dtype: string
  - name: assignee.organizations_url
    dtype: string
  - name: assignee.repos_url
    dtype: string
  - name: assignee.events_url
    dtype: string
  - name: assignee.received_events_url
    dtype: string
  - name: assignee.type
    dtype: string
  - name: assignee.user_view_type
    dtype: string
  - name: assignee.site_admin
    dtype: bool
  - name: milestone.url
    dtype: string
  - name: milestone.html_url
    dtype: string
  - name: milestone.labels_url
    dtype: string
  - name: milestone.id
    dtype: float64
  - name: milestone.node_id
    dtype: string
  - name: milestone.number
    dtype: float64
  - name: milestone.title
    dtype: string
  - name: milestone.description
    dtype: string
  - name: milestone.creator.login
    dtype: string
  - name: milestone.creator.id
    dtype: float64
  - name: milestone.creator.node_id
    dtype: string
  - name: milestone.creator.avatar_url
    dtype: string
  - name: milestone.creator.gravatar_id
    dtype: string
  - name: milestone.creator.url
    dtype: string
  - name: milestone.creator.html_url
    dtype: string
  - name: milestone.creator.followers_url
    dtype: string
  - name: milestone.creator.following_url
    dtype: string
  - name: milestone.creator.gists_url
    dtype: string
  - name: milestone.creator.starred_url
    dtype: string
  - name: milestone.creator.subscriptions_url
    dtype: string
  - name: milestone.creator.organizations_url
    dtype: string
  - name: milestone.creator.repos_url
    dtype: string
  - name: milestone.creator.events_url
    dtype: string
  - name: milestone.creator.received_events_url
    dtype: string
  - name: milestone.creator.type
    dtype: string
  - name: milestone.creator.user_view_type
    dtype: string
  - name: milestone.creator.site_admin
    dtype: bool
  - name: milestone.open_issues
    dtype: float64
  - name: milestone.closed_issues
    dtype: float64
  - name: milestone.state
    dtype: string
  - name: milestone.created_at
    dtype: int64
  - name: milestone.updated_at
    dtype: int64
  - name: milestone.due_on
    dtype: 'null'
  - name: milestone.closed_at
    dtype: 'null'
  - name: is_pull_request
    dtype: bool
  - name: comments_text
    list: string
  splits:
  - name: train
    num_bytes: 12320915
    num_examples: 1945
  download_size: 3855784
  dataset_size: 12320915
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
task_categories:
- feature-extraction
language:
- en
size_categories:
- 1K<n<10K
---
# GitHub Issue with Comments – Hugging Face/datasets Repository
## Dataset Summary
This dataset contains 1,945 structured GitHub issue comments collected from the huggingface/datasets repository. Each comment includes metadata such as author details, timestamps, reactions and association type. The dataset is ideal for analysing open-source community dynamics, sentiment trends, contributor behaviour and natural language patterns in technical discussions.
## Dataset Structure
## 📊 Fields Overview
| Field Group            | Description                                                                 |
|------------------------|-----------------------------------------------------------------------------|
| **Issue Metadata**     | `url`, `repository_url`, `html_url`, `id`, `node_id`, `number`, `title`, `body`, `state`, `locked`, `comments`, `created_at`, `updated_at`, `closed_at`, `state_reason` |
| **User Info**          | `user.login`, `user.id`, `user.type`, `user.site_admin`                     |
| **Reactions**          | Counts for `+1`, `-1`, `laugh`, `hooray`, `confused`, `heart`, `rocket`, `eyes` |
| **Labels**             | Nested structure containing label `name`, `color`, `description`            |
| **Assignees / Milestone** | Includes user objects and milestone metadata when present               |
| **Comments**           | `comments_url`, integer count `comments`, and `comments_text` (list of comment bodies) |
| **Pull Request Exclusion** | Boolean field `is_pull_request` used for filtering                    |
| **Derived Data**       | `comments_text` is a list of comment strings retrieved using GitHub API calls |
## Data Types
| Type           | Example Columns                                                                 |
|----------------|----------------------------------------------------------------------------------|
| `string`       | `title`, `body`, `state`, `user.login`                                          |
| `int64`        | `id`, `number`, `comments`, `reactions.total_count`                             |
| `bool`         | `locked`, `user.site_admin`, `is_pull_request`                                  |
| `list[string]` | `comments_text`                                                                 |
| `list[object]` | `labels`, `assignees`                                                            |
| `float64`      | Some milestone and dependency metrics                                            |
## Source
- Repository: huggingface/datasets
- API Endpoint: https://api.github.com/repos/huggingface/datasets/issues
- Collection Method: API calls (per_page=100, page=1–40). Automated retrieval via GitHub API (authenticated requests) using Python requests and pandas.
- Collection Date: 15 Oct 2025
- License: GitHub content is subject to GitHub Terms of Service
## Intended Uses
- NLP Tasks: Sentiment analysis, topic modelling, summarisation
- Community Analytics: Contributor engagement, reaction trends
- Model Training: Fine-tuning on technical dialogue and bug reporting
- Feature Engineering: Text length, emoji usage, time-based features, user roles
## Limitations
- Comments are limited to public issues only.
- Incomplete comment history: Only the first 100 comments per issue may be retrieved due to GitHub pagination limits unless further expanded.
- Temporal Bias: The dataset represents the repository state at the time of collection; issue activity is continuously evolving.
- Limited coverage: Data reflects the practices of one repository (huggingface/datasets), not all open-source projects.
## Dataset Creation script
- Data was collected using Python requests library by GitHub REST API:
- url = "https://api.github.com/repos/huggingface/datasets/issues?page={page}&per_page=100&state=all"
- headers = {"Authorization": f"token {your_token}"}
- response = requests.get(url, headers=headers)
- Comments were flattened into a tabular format. Timestamps were parsed, and nested fields (e.g., user, reactions) were expanded.
## License
- License Name: BigScience OpenRAIL-M License
- The dataset is available for responsible research.
- No harmful, unethical or malicious applications are derived from it.
- Proper attribution to data sources (GitHub and Hugging Face) is maintained.
## Ethical Considerations
- All data is publicly available via GitHub’s API.
- Usernames and profile links are included; please respect contributor privacy and avoid misuse.
## Privacy considerations
- All data was collected from publicly accessible GitHub issue comments via the GitHub REST API.
- Usernames, profile URLs and other metadata are included as part of the original public content.
- No private or sensitive data was collected or included.
## Storage and Distribution:
- The dataset is stored and distributed via the Hugging Face Hub.
- Download size: ~3.85MB
- Number of records: 1,945
## References
- GitHub REST API documentation: https://docs.github.com/en/rest
- Hugging Face Datasets Documentation: https://huggingface.co/docs/datasets
- BigScience OpenRAIL-M License: https://huggingface.co/spaces/bigscience/license
## Attribution
- This dataset contains text derived from public GitHub Issues and Comments via the GitHub REST API.
- GitHub users, used under the GitHub Terms of Service.
- Redistribution under Bigscience-openrail-m for research and non-commercial use only |