t20062443 commited on
Commit
c2809e1
·
verified ·
1 Parent(s): 5ea3a1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +60 -62
README.md CHANGED
@@ -1,64 +1,3 @@
1
- # GitHub Issue Comments – Hugging Face/datasets Repository
2
-
3
- ## Dataset Summary
4
- This dataset contains 4,000 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.
5
-
6
- ## Dataset Structure
7
- Data Fields
8
- Column Name Description
9
- id Unique identifier for the comment
10
- body Text content of the comment
11
- created_at Timestamp when the comment was created
12
- updated_at Timestamp when the comment was last updated
13
- author_association Role of the commenter (e.g., MEMBER, CONTRIBUTOR, NONE)
14
- user_login GitHub username of the commenter
15
- user_id Unique GitHub user ID
16
- user_type Type of GitHub account (e.g., User, Bot)
17
- user_site_admin Boolean indicating if the user is a GitHub site admin
18
- html_url Direct URL to the comment on GitHub
19
- issue_url API URL of the issue the comment belongs to
20
- reactions_total_count Total number of emoji reactions
21
- reactions_+1 to reactions_eyes Individual counts for each reaction type (👍, 👎, ❤️, 🎉, etc.)
22
- performed_via_github_app GitHub App used to post the comment (if any)
23
- user_* fields Additional metadata about the user (avatar, profile URLs, etc.)
24
-
25
- ## Data Types
26
- - int64: IDs, reaction counts
27
- - object: Text, URLs, usernames
28
- - datetime64[s]: Timestamps
29
- - bool: Admin flag
30
-
31
- ## Source
32
- - Repository: huggingface/datasets
33
- - API Endpoint: https://api.github.com/repos/huggingface/datasets/issues/comments
34
- - Collection Method: API calls (per_page=100, page=1–40)
35
- - License: GitHub content is subject to GitHub Terms of Service
36
-
37
- ## Intended Uses
38
- - NLP Tasks: Sentiment analysis, topic modelling, summarisation
39
- - Community Analytics: Contributor engagement, reaction trends
40
- - Model Training: Fine-tuning on technical dialogue and bug reporting
41
- - Feature Engineering: Text length, emoji usage, time-based features, user roles
42
-
43
- ## Limitations
44
- - Comments are limited to public issues only.
45
- - No issue titles or labels are included.
46
- - performed_via_github_app is always null.
47
- - Reactions may not reflect full emotional tone.
48
-
49
- ## Ethical Considerations
50
- - All data is publicly available via GitHub’s API.
51
- - Usernames and profile links are included; please respect contributor privacy and avoid misuse.
52
-
53
- ## Dataset Creation script
54
- - Data was collected using Python requests library by GitHub REST API:
55
- - url = "https://api.github.com/repos/huggingface/datasets/issues/comments?per_page=100&page={page}"
56
- - headers = {"Authorization": f"token {your_token}"}
57
- - response = requests.get(url, headers=headers)
58
- - Comments were flattened into a tabular format with 39 columns. Timestamps were parsed, and nested fields (e.g., user, reactions) were expanded.
59
-
60
-
61
-
62
  ---
63
  license: apache-2.0
64
  configs:
@@ -159,4 +98,63 @@ language:
159
  - en
160
  size_categories:
161
  - 1K<n<10K
162
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  configs:
 
98
  - en
99
  size_categories:
100
  - 1K<n<10K
101
+ ---
102
+
103
+ # GitHub Issue Comments – Hugging Face/datasets Repository
104
+
105
+ ## Dataset Summary
106
+ This dataset contains 4,000 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.
107
+
108
+ ## Dataset Structure
109
+ Data Fields
110
+ Column Name Description
111
+ id Unique identifier for the comment
112
+ body Text content of the comment
113
+ created_at Timestamp when the comment was created
114
+ updated_at Timestamp when the comment was last updated
115
+ author_association Role of the commenter (e.g., MEMBER, CONTRIBUTOR, NONE)
116
+ user_login GitHub username of the commenter
117
+ user_id Unique GitHub user ID
118
+ user_type Type of GitHub account (e.g., User, Bot)
119
+ user_site_admin Boolean indicating if the user is a GitHub site admin
120
+ html_url Direct URL to the comment on GitHub
121
+ issue_url API URL of the issue the comment belongs to
122
+ reactions_total_count Total number of emoji reactions
123
+ reactions_+1 to reactions_eyes Individual counts for each reaction type (👍, 👎, ❤️, 🎉, etc.)
124
+ performed_via_github_app GitHub App used to post the comment (if any)
125
+ user_* fields Additional metadata about the user (avatar, profile URLs, etc.)
126
+
127
+ ## Data Types
128
+ - int64: IDs, reaction counts
129
+ - object: Text, URLs, usernames
130
+ - datetime64[s]: Timestamps
131
+ - bool: Admin flag
132
+
133
+ ## Source
134
+ - Repository: huggingface/datasets
135
+ - API Endpoint: https://api.github.com/repos/huggingface/datasets/issues/comments
136
+ - Collection Method: API calls (per_page=100, page=1–40)
137
+ - License: GitHub content is subject to GitHub Terms of Service
138
+
139
+ ## Intended Uses
140
+ - NLP Tasks: Sentiment analysis, topic modelling, summarisation
141
+ - Community Analytics: Contributor engagement, reaction trends
142
+ - Model Training: Fine-tuning on technical dialogue and bug reporting
143
+ - Feature Engineering: Text length, emoji usage, time-based features, user roles
144
+
145
+ ## Limitations
146
+ - Comments are limited to public issues only.
147
+ - No issue titles or labels are included.
148
+ - performed_via_github_app is always null.
149
+ - Reactions may not reflect full emotional tone.
150
+
151
+ ## Ethical Considerations
152
+ - All data is publicly available via GitHub’s API.
153
+ - Usernames and profile links are included; please respect contributor privacy and avoid misuse.
154
+
155
+ ## Dataset Creation script
156
+ - Data was collected using Python requests library by GitHub REST API:
157
+ - url = "https://api.github.com/repos/huggingface/datasets/issues/comments?per_page=100&page={page}"
158
+ - headers = {"Authorization": f"token {your_token}"}
159
+ - response = requests.get(url, headers=headers)
160
+ - Comments were flattened into a tabular format with 39 columns. Timestamps were parsed, and nested fields (e.g., user, reactions) were expanded.