mrshu commited on
Commit
15eb06e
·
verified ·
1 Parent(s): 3860fc1

Release 1.1.0: add release.json and the rewritten data dictionary

Browse files
Files changed (4) hide show
  1. README.md +21 -13
  2. data-dictionary.json +54 -61
  3. data-dictionary.md +59 -46
  4. release.json +108 -0
README.md CHANGED
@@ -47,7 +47,7 @@ Processing code, reuse examples and reproduction instructions:
47
  | `repositories.parquet` | 53,990,808 | Owner key, GitHub repository ID, name, creation time, stars |
48
  | `portfolios.parquet` | 3,671,497 | Per-account repository count, total and maximum stars, h-index, concentration |
49
  | `data-dictionary.md` / `.json` | | Field meanings, types and NULL rules |
50
- | `analysis-manifest.json` | | Collection and classification policy |
51
  | `crosswalk.sql` | | View mapping local keys to GitHub IDs, names and URLs |
52
  | `PARQUET-SHA256SUMS` | | Checksums of the files above |
53
 
@@ -81,33 +81,33 @@ hf download NaiveNeuron/github-stars-in-context --repo-type dataset --local-dir
81
  - **Accounts** were found on 8–9 December 2025 through GitHub GraphQL user
82
  search, split by follower count (1–9 up to 10,000+) and registration date
83
  to stay under the 1,000-result search limit. Organizations are excluded.
84
- Accounts with no followers were not searched.
85
  - **Repositories** were fetched per account from December 2025 to early
86
  January 2026: owned, public, non-fork, with full pagination. Archived
87
- repositories are included.
88
- - **Follower counts** were fetched from 28 January to 2 February 2026.
89
 
90
  ## What to know before using it
91
 
92
  - **Not a random sample of GitHub.** Accounts have at least one follower, and
93
  search cells that still exceeded 1,000 results on a single registration day
94
- were skipped. These are concentrated among accounts with few followers.
95
  - **Retrieval status.** `retrieval_status` is `complete` for 3,615,479
96
  accounts (372,821 of them own no stored repository), `failed` for 56,012
97
  and `unknown` for 6. The classes are derived from the collector's logic.
98
- They are not an independent check against GitHub.
99
  - **Missing follower counts.** `profile_available` is false for 1,151,092
100
  accounts whose profile fields were not obtained. Their `followers_count` is
101
  NULL. In a sample of 300 such accounts checked in November 2026, 298 still
102
  existed and 296 had followers, so the stored zeros are not real counts.
103
  The raw stored value is kept in `followers_count_raw` and must not be read
104
- as zero followers.
105
  - **One snapshot.** Star counts are as of retrieval. Per-request times were
106
- not stored, so this is not a star history.
107
  - **Repository IDs are not unique keys.** Twenty repository IDs appear under
108
- more than one account.
109
  - **Stars are not a measure of people.** Do not use this dataset to rank or
110
- evaluate individuals.
111
 
112
  ## Personal data
113
 
@@ -120,9 +120,17 @@ If you want your account removed, open an issue in the code repository.
120
 
121
  The data are released under
122
  [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). The code is
123
- MIT-licensed. The licence fields inside `analysis-manifest.json` and
124
- `data-dictionary.md` were written before this decision and still say
125
- "pending". This card is authoritative.
 
 
 
 
 
 
 
 
126
 
127
  ## Citation
128
 
 
47
  | `repositories.parquet` | 53,990,808 | Owner key, GitHub repository ID, name, creation time, stars |
48
  | `portfolios.parquet` | 3,671,497 | Per-account repository count, total and maximum stars, h-index, concentration |
49
  | `data-dictionary.md` / `.json` | | Field meanings, types and NULL rules |
50
+ | `release.json` | | Version, licences, counts, collection dates and file checksums |
51
  | `crosswalk.sql` | | View mapping local keys to GitHub IDs, names and URLs |
52
  | `PARQUET-SHA256SUMS` | | Checksums of the files above |
53
 
 
81
  - **Accounts** were found on 8–9 December 2025 through GitHub GraphQL user
82
  search, split by follower count (1–9 up to 10,000+) and registration date
83
  to stay under the 1,000-result search limit. Organizations are excluded.
84
+ Accounts with no followers were not searched
85
  - **Repositories** were fetched per account from December 2025 to early
86
  January 2026: owned, public, non-fork, with full pagination. Archived
87
+ repositories are included
88
+ - **Follower counts** were fetched from 28 January to 2 February 2026
89
 
90
  ## What to know before using it
91
 
92
  - **Not a random sample of GitHub.** Accounts have at least one follower, and
93
  search cells that still exceeded 1,000 results on a single registration day
94
+ were skipped. These are concentrated among accounts with few followers
95
  - **Retrieval status.** `retrieval_status` is `complete` for 3,615,479
96
  accounts (372,821 of them own no stored repository), `failed` for 56,012
97
  and `unknown` for 6. The classes are derived from the collector's logic.
98
+ They are not an independent check against GitHub
99
  - **Missing follower counts.** `profile_available` is false for 1,151,092
100
  accounts whose profile fields were not obtained. Their `followers_count` is
101
  NULL. In a sample of 300 such accounts checked in November 2026, 298 still
102
  existed and 296 had followers, so the stored zeros are not real counts.
103
  The raw stored value is kept in `followers_count_raw` and must not be read
104
+ as zero followers
105
  - **One snapshot.** Star counts are as of retrieval. Per-request times were
106
+ not stored, so this is not a star history
107
  - **Repository IDs are not unique keys.** Twenty repository IDs appear under
108
+ more than one account
109
  - **Stars are not a measure of people.** Do not use this dataset to rank or
110
+ evaluate individuals
111
 
112
  ## Personal data
113
 
 
120
 
121
  The data are released under
122
  [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). The code is
123
+ MIT-licensed.
124
+
125
+ ## Versions
126
+
127
+ - **1.1.0** (2026-11-10): documentation only. The data dictionary is rewritten
128
+ in plain language, and `release.json` replaces `analysis-manifest.json`.
129
+ The three Parquet files are byte-identical to 1.0.0
130
+ - **1.0.0** (2026-11-10): first public release
131
+
132
+ Each version is a Git tag of this repository (`v1.1.0`, `v1.0.0`). The code
133
+ repository has matching tags.
134
 
135
  ## Citation
136
 
data-dictionary.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
  "collector_semantics": {
3
- "classification_basis": "Code-inferred fetch outcome, not independent certification of current stored row-set completeness",
4
- "empty_refresh_caveat": "update_user_repositories deletes obsolete rows only for a nonempty fetched list; a successful empty refresh can retain old rows",
5
- "execution_history_caveat": "Provider identifies this collector; exact commands and logs still need confirmation",
6
- "license_file_present": false,
7
- "policy_id": "git-h-index-fe2d7196-v1",
8
- "repository": "https://github.com/Pavloffm/git-h-index",
9
  "revision": "fe2d7196f4fe305a7a42bb871d267a751f5513f8",
 
 
 
 
10
  "source_file_sha256": {
11
  "config.py": "395feea85c2bc1ca64eddc6942c8c8e7bdb52bf5f1edc3fc648833d888e422ef",
12
  "data_fetching/github_parser.py": "5e11db0afccf4e48bb9ec922ee59f1b283361ebc5eab116ef5ced035bb3016e8",
@@ -17,16 +17,10 @@
17
  "data_storage/database.py": "ed5ca3e99ce6826cea7ef679a609ef2a0dc3dde3f8e1e913c90d28425869e3b3"
18
  }
19
  },
20
- "constant_sponsorship": "sponsors_count is omitted because the collector writes a constant zero, not an observed sponsorship count",
21
  "excluded_source_fields": {
22
  "repositories": [],
23
- "user_links": [
24
- "created_at",
25
- "id",
26
- "link_type",
27
- "url",
28
- "user_id"
29
- ],
30
  "users": [
31
  "bio",
32
  "bio_length",
@@ -38,104 +32,104 @@
38
  "sponsors_count"
39
  ]
40
  },
41
- "profile_rule": "NULL bio or ambiguous all-default signature implies unavailable analysis profile; raw counts are preserved separately",
42
- "row_policy": "No stored source account/repository rows are dropped within the chosen full or sampled scope; code-inferred complete does not certify rowset completeness",
43
  "source_sha256": "6feb097dfbcebbdbde2ba3bab24b65be7565b0eac6735dd28b7b86a1a31743c8",
44
  "tables": {
45
  "portfolios": {
46
  "fields": [
47
  {
48
- "description": "Local owner key joining users.id",
49
  "name": "user_id",
50
  "nullable": true,
51
  "type": "integer"
52
  },
53
  {
54
- "description": "GitHub numeric owner identifier",
55
  "name": "github_id",
56
  "nullable": true,
57
  "type": "integer"
58
  },
59
  {
60
- "description": "All stored account-linked repository rows, including zero-star rows",
61
  "name": "n_repositories",
62
  "nullable": true,
63
  "type": "integer"
64
  },
65
  {
66
- "description": "Sum of stars over stored account-linked repository rows",
67
  "name": "total_stars",
68
  "nullable": true,
69
  "type": "integer"
70
  },
71
  {
72
- "description": "Largest stored repository star count; zero for an empty portfolio",
73
  "name": "max_stars",
74
  "nullable": true,
75
  "type": "integer"
76
  },
77
  {
78
- "description": "Exact integer sum of squared repository star counts",
79
  "name": "sum_squared_stars",
80
  "nullable": true,
81
  "type": "integer"
82
  },
83
  {
84
- "description": "h-index recomputed from descending stored star counts",
85
  "name": "h_observed",
86
  "nullable": true,
87
  "type": "integer"
88
  },
89
  {
90
- "description": "Stored users.h_index value",
91
  "name": "h_stored",
92
  "nullable": true,
93
  "type": "integer"
94
  },
95
  {
96
- "description": "Stored rows with at least one star",
97
  "name": "starred_repositories",
98
  "nullable": true,
99
  "type": "integer"
100
  },
101
  {
102
- "description": "Herfindahl concentration sum((stars/total_stars)^2), NULL at zero total",
103
  "name": "concentration",
104
  "nullable": true,
105
  "type": "float"
106
  },
107
  {
108
- "description": "Reciprocal Herfindahl concentration, NULL at zero total",
109
  "name": "effective_breadth",
110
  "nullable": true,
111
  "type": "float"
112
  },
113
  {
114
- "description": "Persisted account retrieval class",
115
  "name": "retrieval_status",
116
  "nullable": true,
117
  "type": "string"
118
  },
119
  {
120
- "description": "Conservative profile-availability analysis flag",
121
  "name": "profile_available",
122
  "nullable": true,
123
  "type": "boolean"
124
  },
125
  {
126
- "description": "Source passed prerequisite physical checks; not a completeness certificate",
127
  "name": "valid_portfolio",
128
  "nullable": true,
129
  "type": "boolean"
130
  },
131
  {
132
- "description": "Complete class under the declared code-inferred policy",
133
  "name": "eligible",
134
  "nullable": true,
135
  "type": "boolean"
136
  },
137
  {
138
- "description": "Class-based analysis exclusion, if any; rows remain in the release",
139
  "name": "exclusion_reason",
140
  "nullable": true,
141
  "type": "string"
@@ -146,37 +140,37 @@
146
  "repositories": {
147
  "fields": [
148
  {
149
- "description": "Local repository-row surrogate key",
150
  "name": "id",
151
  "nullable": true,
152
  "type": "integer"
153
  },
154
  {
155
- "description": "Local owner key joining users.id",
156
  "name": "user_id",
157
  "nullable": true,
158
  "type": "integer"
159
  },
160
  {
161
- "description": "GitHub numeric repository identifier; may occur under multiple owners",
162
  "name": "repository_id",
163
  "nullable": true,
164
  "type": "integer"
165
  },
166
  {
167
- "description": "Stored repository name; retained without rewriting",
168
  "name": "name",
169
  "nullable": true,
170
  "type": "string"
171
  },
172
  {
173
- "description": "GitHub repository createdAt on insertion, not retrieval time",
174
  "name": "created_at",
175
  "nullable": true,
176
  "type": "string"
177
  },
178
  {
179
- "description": "Stored nonnegative integer star count",
180
  "name": "stars",
181
  "nullable": true,
182
  "type": "integer"
@@ -187,97 +181,97 @@
187
  "users": {
188
  "fields": [
189
  {
190
- "description": "Local account surrogate key, not the GitHub owner ID",
191
  "name": "id",
192
  "nullable": true,
193
  "type": "integer"
194
  },
195
  {
196
- "description": "GitHub numeric owner identifier",
197
  "name": "github_id",
198
  "nullable": true,
199
  "type": "integer"
200
  },
201
  {
202
- "description": "Stored owner login, potentially different from its current login",
203
  "name": "github_name",
204
  "nullable": true,
205
  "type": "string"
206
  },
207
  {
208
- "description": "Collector account-row insertion timestamp, not GitHub registration time",
209
  "name": "created_at",
210
  "nullable": true,
211
  "type": "string"
212
  },
213
  {
214
- "description": "Shared collector/profile/link stage timestamp or failure sentinel, not repository observation time",
215
  "name": "last_updated",
216
  "nullable": true,
217
  "type": "string"
218
  },
219
  {
220
- "description": "Stored source h-index, independently recomputed in portfolios",
221
  "name": "h_index",
222
  "nullable": true,
223
  "type": "integer"
224
  },
225
  {
226
- "description": "Unchanged raw collector flag, including negative values",
227
  "name": "repositories_fetched",
228
  "nullable": true,
229
  "type": "integer"
230
  },
231
  {
232
- "description": "Analysis value, NULL where the conservative profile-availability rule masks raw defaults",
233
  "name": "followers_count",
234
  "nullable": true,
235
  "type": "integer"
236
  },
237
  {
238
- "description": "Unchanged raw source follower count, including collection defaults",
239
  "name": "followers_count_raw",
240
  "nullable": true,
241
  "type": "integer"
242
  },
243
  {
244
- "description": "Persisted collector-inferred class or explicit sidecar override; not independent rowset certification",
245
  "name": "retrieval_status",
246
  "nullable": true,
247
  "type": "string"
248
  },
249
  {
250
- "description": "Conservative analysis availability flag, not proof that a profile request succeeded",
251
  "name": "profile_available",
252
  "nullable": true,
253
  "type": "boolean"
254
  },
255
  {
256
- "description": "Whether the source bio was NULL; the bio text is excluded",
257
  "name": "bio_was_null",
258
  "nullable": true,
259
  "type": "boolean"
260
  },
261
  {
262
- "description": "Whether the source matched the conservative all-default profile signature",
263
  "name": "profile_default_signature",
264
  "nullable": true,
265
  "type": "boolean"
266
  },
267
  {
268
- "description": "Classification basis recorded by the pinned collector helper",
269
  "name": "retrieval_inference_basis",
270
  "nullable": true,
271
  "type": "string"
272
  },
273
  {
274
- "description": "Collector source-code reference or explicit record-level evidence reference",
275
  "name": "retrieval_evidence_ref",
276
  "nullable": true,
277
  "type": "string"
278
  },
279
  {
280
- "description": "False: code-inferred completion does not independently certify stored rows",
281
  "name": "rowset_completeness_independently_certified",
282
  "nullable": true,
283
  "type": "boolean"
@@ -287,17 +281,16 @@
287
  }
288
  },
289
  "timestamp_semantics": {
290
- "repositories.created_at": "GitHub repository createdAt retained on insertion, not fetch time (github_parser.py:30-34; database.py:94-105)",
291
- "user_links.created_at": "Link-row timestamp; collector write path must be cited, not repository observation time",
292
- "users.created_at": "Discovery insertion datetime.now(), not GitHub registration (popular_users.py:168-176)",
293
- "users.last_updated": "Overloaded: user refresh/profile-enrichment time or failure sentinel, with parse_all reset; not repository observation time (database.py:41-67,243-252; fetch_user_profile.py:115-145; main.py:89-99)",
294
- "users.links_parsed_at": "Link parsing stage timestamp; not repository observation time (database.py link parsing writers)"
295
  },
296
  "views": {
297
  "identifier_crosswalk": {
298
  "definition_file": "crosswalk.sql",
299
  "materialized": false,
300
- "url_meaning": "Constructed from stored owner/login and repository name, not verified as current"
301
  }
302
- }
 
303
  }
 
1
  {
2
  "collector_semantics": {
3
+ "repository": "https://github.com/NaiveNeuron/github-stars-in-context/tree/main/collector",
4
+ "license": "MIT",
 
 
 
 
5
  "revision": "fe2d7196f4fe305a7a42bb871d267a751f5513f8",
6
+ "policy_id": "git-h-index-fe2d7196-v1",
7
+ "classification_basis": "Classes are derived from the collector's stored flags. They were not checked against GitHub",
8
+ "empty_refresh_caveat": "The collector deletes obsolete rows only when a refresh returns at least one repository. A successful empty refresh can leave older rows in place",
9
+ "execution_history": "Run logs were not kept. PROVENANCE.md in the code repository records what is known",
10
  "source_file_sha256": {
11
  "config.py": "395feea85c2bc1ca64eddc6942c8c8e7bdb52bf5f1edc3fc648833d888e422ef",
12
  "data_fetching/github_parser.py": "5e11db0afccf4e48bb9ec922ee59f1b283361ebc5eab116ef5ced035bb3016e8",
 
17
  "data_storage/database.py": "ed5ca3e99ce6826cea7ef679a609ef2a0dc3dde3f8e1e913c90d28425869e3b3"
18
  }
19
  },
20
+ "constant_sponsorship": "sponsors_count is not released because the collector stored 0 for every account",
21
  "excluded_source_fields": {
22
  "repositories": [],
23
+ "user_links": "whole table",
 
 
 
 
 
 
24
  "users": [
25
  "bio",
26
  "bio_length",
 
32
  "sponsors_count"
33
  ]
34
  },
35
+ "profile_rule": "profile_available is false when the stored biography is NULL or all stored profile fields have their default values. followers_count is then NULL and the stored value is kept in followers_count_raw",
36
+ "row_policy": "Every stored account and repository row of the source database is released. The complete class does not certify that an account's repository list is complete",
37
  "source_sha256": "6feb097dfbcebbdbde2ba3bab24b65be7565b0eac6735dd28b7b86a1a31743c8",
38
  "tables": {
39
  "portfolios": {
40
  "fields": [
41
  {
42
+ "description": "Local key of the account. Joins users.id",
43
  "name": "user_id",
44
  "nullable": true,
45
  "type": "integer"
46
  },
47
  {
48
+ "description": "GitHub's numeric ID of the account",
49
  "name": "github_id",
50
  "nullable": true,
51
  "type": "integer"
52
  },
53
  {
54
+ "description": "Number of stored repository rows of the account, including repositories with no stars",
55
  "name": "n_repositories",
56
  "nullable": true,
57
  "type": "integer"
58
  },
59
  {
60
+ "description": "Sum of stars over those rows",
61
  "name": "total_stars",
62
  "nullable": true,
63
  "type": "integer"
64
  },
65
  {
66
+ "description": "Largest star count among those rows. 0 for an account with no rows",
67
  "name": "max_stars",
68
  "nullable": true,
69
  "type": "integer"
70
  },
71
  {
72
+ "description": "Sum of squared star counts over those rows",
73
  "name": "sum_squared_stars",
74
  "nullable": true,
75
  "type": "integer"
76
  },
77
  {
78
+ "description": "h-index recomputed from the repository rows",
79
  "name": "h_observed",
80
  "nullable": true,
81
  "type": "integer"
82
  },
83
  {
84
+ "description": "h-index stored by the collector (users.h_index)",
85
  "name": "h_stored",
86
  "nullable": true,
87
  "type": "integer"
88
  },
89
  {
90
+ "description": "Number of rows with at least one star",
91
  "name": "starred_repositories",
92
  "nullable": true,
93
  "type": "integer"
94
  },
95
  {
96
+ "description": "Sum of squared star shares (Herfindahl index). NULL when total_stars is 0",
97
  "name": "concentration",
98
  "nullable": true,
99
  "type": "float"
100
  },
101
  {
102
+ "description": "1 / concentration. NULL when total_stars is 0",
103
  "name": "effective_breadth",
104
  "nullable": true,
105
  "type": "float"
106
  },
107
  {
108
+ "description": "Same as users.retrieval_status",
109
  "name": "retrieval_status",
110
  "nullable": true,
111
  "type": "string"
112
  },
113
  {
114
+ "description": "Same as users.profile_available",
115
  "name": "profile_available",
116
  "nullable": true,
117
  "type": "boolean"
118
  },
119
  {
120
+ "description": "True when the account's rows passed the structural checks. It says nothing about completeness",
121
  "name": "valid_portfolio",
122
  "nullable": true,
123
  "type": "boolean"
124
  },
125
  {
126
+ "description": "True when retrieval_status is complete. The reuse examples use these accounts",
127
  "name": "eligible",
128
  "nullable": true,
129
  "type": "boolean"
130
  },
131
  {
132
+ "description": "Why the account is left out of the reuse examples. NULL for accounts that are used. All rows stay in the release",
133
  "name": "exclusion_reason",
134
  "nullable": true,
135
  "type": "string"
 
140
  "repositories": {
141
  "fields": [
142
  {
143
+ "description": "Local key of the row",
144
  "name": "id",
145
  "nullable": true,
146
  "type": "integer"
147
  },
148
  {
149
+ "description": "Local key of the owner. Joins users.id",
150
  "name": "user_id",
151
  "nullable": true,
152
  "type": "integer"
153
  },
154
  {
155
+ "description": "GitHub's numeric ID of the repository. Twenty IDs appear under more than one account",
156
  "name": "repository_id",
157
  "nullable": true,
158
  "type": "integer"
159
  },
160
  {
161
+ "description": "Repository name as stored",
162
  "name": "name",
163
  "nullable": true,
164
  "type": "string"
165
  },
166
  {
167
+ "description": "Creation time of the repository on GitHub. Not the time it was fetched",
168
  "name": "created_at",
169
  "nullable": true,
170
  "type": "string"
171
  },
172
  {
173
+ "description": "Star count when the repository was fetched",
174
  "name": "stars",
175
  "nullable": true,
176
  "type": "integer"
 
181
  "users": {
182
  "fields": [
183
  {
184
+ "description": "Local key of the account in this dataset. Not the GitHub ID",
185
  "name": "id",
186
  "nullable": true,
187
  "type": "integer"
188
  },
189
  {
190
+ "description": "GitHub's numeric ID of the account",
191
  "name": "github_id",
192
  "nullable": true,
193
  "type": "integer"
194
  },
195
  {
196
+ "description": "Login stored at collection time. The account may have been renamed since",
197
  "name": "github_name",
198
  "nullable": true,
199
  "type": "string"
200
  },
201
  {
202
+ "description": "Time the collector inserted the account (8 or 9 December 2025). Not the GitHub registration date",
203
  "name": "created_at",
204
  "nullable": true,
205
  "type": "string"
206
  },
207
  {
208
+ "description": "Time of the collector's last update of the account, or the placeholder 6200-01-01. Not the time the repositories were fetched",
209
  "name": "last_updated",
210
  "nullable": true,
211
  "type": "string"
212
  },
213
  {
214
+ "description": "h-index stored by the collector. portfolios.h_observed recomputes it from the repository rows",
215
  "name": "h_index",
216
  "nullable": true,
217
  "type": "integer"
218
  },
219
  {
220
+ "description": "Raw collector flag: 1 after a repository fetch ended, -1 while one was in progress",
221
  "name": "repositories_fetched",
222
  "nullable": true,
223
  "type": "integer"
224
  },
225
  {
226
+ "description": "Follower count. NULL when profile_available is false",
227
  "name": "followers_count",
228
  "nullable": true,
229
  "type": "integer"
230
  },
231
  {
232
+ "description": "Follower count as stored. When profile_available is false it is a default value, not an observed count",
233
  "name": "followers_count_raw",
234
  "nullable": true,
235
  "type": "integer"
236
  },
237
  {
238
+ "description": "Repository retrieval class derived from the collector's flags: complete, failed or unknown. Not checked against GitHub",
239
  "name": "retrieval_status",
240
  "nullable": true,
241
  "type": "string"
242
  },
243
  {
244
+ "description": "False when the stored biography is NULL or all stored profile fields are defaults. The follower count is then treated as missing",
245
  "name": "profile_available",
246
  "nullable": true,
247
  "type": "boolean"
248
  },
249
  {
250
+ "description": "True when the stored biography was NULL. The biography text is not released",
251
  "name": "bio_was_null",
252
  "nullable": true,
253
  "type": "boolean"
254
  },
255
  {
256
+ "description": "True when the stored profile fields all had their default values",
257
  "name": "profile_default_signature",
258
  "nullable": true,
259
  "type": "boolean"
260
  },
261
  {
262
+ "description": "How retrieval_status was derived. Always collector_code_inference",
263
  "name": "retrieval_inference_basis",
264
  "nullable": true,
265
  "type": "string"
266
  },
267
  {
268
+ "description": "Location in the collector source that supports the class",
269
  "name": "retrieval_evidence_ref",
270
  "nullable": true,
271
  "type": "string"
272
  },
273
  {
274
+ "description": "Always false. No account's repository list was checked against GitHub",
275
  "name": "rowset_completeness_independently_certified",
276
  "nullable": true,
277
  "type": "boolean"
 
281
  }
282
  },
283
  "timestamp_semantics": {
284
+ "users.created_at": "Time the collector inserted the account (8 or 9 December 2025). Not the GitHub registration date",
285
+ "users.last_updated": "Time of the collector's last update of the account, or the placeholder 6200-01-01. Not the time the repositories were fetched",
286
+ "repositories.created_at": "Creation time of the repository on GitHub. Not the time it was fetched"
 
 
287
  },
288
  "views": {
289
  "identifier_crosswalk": {
290
  "definition_file": "crosswalk.sql",
291
  "materialized": false,
292
+ "url_meaning": "URLs are built from the stored login and repository name. They were not checked against GitHub"
293
  }
294
+ },
295
+ "version": "1.1.0"
296
  }
data-dictionary.md CHANGED
@@ -1,59 +1,72 @@
1
- # Release data dictionary
2
 
3
- Account and repository IDs named `id`/`user_id` are local surrogates.
4
- Numeric GitHub IDs and constructed names/URLs are exposed by the SQL crosswalk view.
5
- Private profile text and social-link URLs are excluded. License and restricted add-on decisions remain with the author.
 
 
 
 
 
 
 
 
6
 
7
  ## `users`
8
 
9
- | Field | Nullable type | Meaning |
 
 
10
  | --- | --- | --- |
11
- | `id` | integer | Local account surrogate key, not the GitHub owner ID |
12
- | `github_id` | integer | GitHub numeric owner identifier |
13
- | `github_name` | string | Stored owner login, potentially different from its current login |
14
- | `created_at` | string | Collector account-row insertion timestamp, not GitHub registration time |
15
- | `last_updated` | string | Shared collector/profile/link stage timestamp or failure sentinel, not repository observation time |
16
- | `h_index` | integer | Stored source h-index, independently recomputed in portfolios |
17
- | `repositories_fetched` | integer | Unchanged raw collector flag, including negative values |
18
- | `followers_count` | integer | Analysis value, NULL where the conservative profile-availability rule masks raw defaults |
19
- | `followers_count_raw` | integer | Unchanged raw source follower count, including collection defaults |
20
- | `retrieval_status` | string | Persisted collector-inferred class or explicit sidecar override; not independent rowset certification |
21
- | `profile_available` | boolean | Conservative analysis availability flag, not proof that a profile request succeeded |
22
- | `bio_was_null` | boolean | Whether the source bio was NULL; the bio text is excluded |
23
- | `profile_default_signature` | boolean | Whether the source matched the conservative all-default profile signature |
24
- | `retrieval_inference_basis` | string | Classification basis recorded by the pinned collector helper |
25
- | `retrieval_evidence_ref` | string | Collector source-code reference or explicit record-level evidence reference |
26
- | `rowset_completeness_independently_certified` | boolean | False: code-inferred completion does not independently certify stored rows |
27
 
28
  ## `repositories`
29
 
30
- | Field | Nullable type | Meaning |
 
 
31
  | --- | --- | --- |
32
- | `id` | integer | Local repository-row surrogate key |
33
- | `user_id` | integer | Local owner key joining users.id |
34
- | `repository_id` | integer | GitHub numeric repository identifier; may occur under multiple owners |
35
- | `name` | string | Stored repository name; retained without rewriting |
36
- | `created_at` | string | GitHub repository createdAt on insertion, not retrieval time |
37
- | `stars` | integer | Stored nonnegative integer star count |
38
 
39
  ## `portfolios`
40
 
41
- | Field | Nullable type | Meaning |
42
- | --- | --- | --- |
43
- | `user_id` | integer | Local owner key joining users.id |
44
- | `github_id` | integer | GitHub numeric owner identifier |
45
- | `n_repositories` | integer | All stored account-linked repository rows, including zero-star rows |
46
- | `total_stars` | integer | Sum of stars over stored account-linked repository rows |
47
- | `max_stars` | integer | Largest stored repository star count; zero for an empty portfolio |
48
- | `sum_squared_stars` | integer | Exact integer sum of squared repository star counts |
49
- | `h_observed` | integer | h-index recomputed from descending stored star counts |
50
- | `h_stored` | integer | Stored users.h_index value |
51
- | `starred_repositories` | integer | Stored rows with at least one star |
52
- | `concentration` | float | Herfindahl concentration sum((stars/total_stars)^2), NULL at zero total |
53
- | `effective_breadth` | float | Reciprocal Herfindahl concentration, NULL at zero total |
54
- | `retrieval_status` | string | Persisted account retrieval class |
55
- | `profile_available` | boolean | Conservative profile-availability analysis flag |
56
- | `valid_portfolio` | boolean | Source passed prerequisite physical checks; not a completeness certificate |
57
- | `eligible` | boolean | Complete class under the declared code-inferred policy |
58
- | `exclusion_reason` | string | Class-based analysis exclusion, if any; rows remain in the release |
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Data dictionary
2
 
3
+ Version 1.1.0. `data-dictionary.json` holds the same descriptions in machine-readable form.
4
+
5
+ `id` and `user_id` are local keys of this dataset. `github_id` and `repository_id` are
6
+ GitHub's numeric IDs. `crosswalk.sql` defines a view that adds owner logins, repository
7
+ names and URLs to every repository row.
8
+
9
+ Biographies, company, location, external links and the counts of followed accounts,
10
+ organizations and sponsors were in the source database and are not released.
11
+
12
+ All columns are nullable in the Parquet schema. NULL values occur only in
13
+ `followers_count`, `concentration`, `effective_breadth` and `exclusion_reason`.
14
 
15
  ## `users`
16
 
17
+ One row per account. 3,671,497 rows.
18
+
19
+ | Field | Type | Meaning |
20
  | --- | --- | --- |
21
+ | `id` | integer | Local key of the account in this dataset. Not the GitHub ID |
22
+ | `github_id` | integer | GitHub's numeric ID of the account |
23
+ | `github_name` | string | Login stored at collection time. The account may have been renamed since |
24
+ | `created_at` | string | Time the collector inserted the account (8 or 9 December 2025). Not the GitHub registration date |
25
+ | `last_updated` | string | Time of the collector's last update of the account, or the placeholder 6200-01-01. Not the time the repositories were fetched |
26
+ | `h_index` | integer | h-index stored by the collector. portfolios.h_observed recomputes it from the repository rows |
27
+ | `repositories_fetched` | integer | Raw collector flag: 1 after a repository fetch ended, -1 while one was in progress |
28
+ | `followers_count` | integer | Follower count. NULL when profile_available is false |
29
+ | `followers_count_raw` | integer | Follower count as stored. When profile_available is false it is a default value, not an observed count |
30
+ | `retrieval_status` | string | Repository retrieval class derived from the collector's flags: complete, failed or unknown. Not checked against GitHub |
31
+ | `profile_available` | boolean | False when the stored biography is NULL or all stored profile fields are defaults. The follower count is then treated as missing |
32
+ | `bio_was_null` | boolean | True when the stored biography was NULL. The biography text is not released |
33
+ | `profile_default_signature` | boolean | True when the stored profile fields all had their default values |
34
+ | `retrieval_inference_basis` | string | How retrieval_status was derived. Always collector_code_inference |
35
+ | `retrieval_evidence_ref` | string | Location in the collector source that supports the class |
36
+ | `rowset_completeness_independently_certified` | boolean | Always false. No account's repository list was checked against GitHub |
37
 
38
  ## `repositories`
39
 
40
+ One row per repository under one account. 53,990,808 rows.
41
+
42
+ | Field | Type | Meaning |
43
  | --- | --- | --- |
44
+ | `id` | integer | Local key of the row |
45
+ | `user_id` | integer | Local key of the owner. Joins users.id |
46
+ | `repository_id` | integer | GitHub's numeric ID of the repository. Twenty IDs appear under more than one account |
47
+ | `name` | string | Repository name as stored |
48
+ | `created_at` | string | Creation time of the repository on GitHub. Not the time it was fetched |
49
+ | `stars` | integer | Star count when the repository was fetched |
50
 
51
  ## `portfolios`
52
 
53
+ One row per account, computed from its repository rows. 3,671,497 rows.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ | Field | Type | Meaning |
56
+ | --- | --- | --- |
57
+ | `user_id` | integer | Local key of the account. Joins users.id |
58
+ | `github_id` | integer | GitHub's numeric ID of the account |
59
+ | `n_repositories` | integer | Number of stored repository rows of the account, including repositories with no stars |
60
+ | `total_stars` | integer | Sum of stars over those rows |
61
+ | `max_stars` | integer | Largest star count among those rows. 0 for an account with no rows |
62
+ | `sum_squared_stars` | integer | Sum of squared star counts over those rows |
63
+ | `h_observed` | integer | h-index recomputed from the repository rows |
64
+ | `h_stored` | integer | h-index stored by the collector (users.h_index) |
65
+ | `starred_repositories` | integer | Number of rows with at least one star |
66
+ | `concentration` | float | Sum of squared star shares (Herfindahl index). NULL when total_stars is 0 |
67
+ | `effective_breadth` | float | 1 / concentration. NULL when total_stars is 0 |
68
+ | `retrieval_status` | string | Same as users.retrieval_status |
69
+ | `profile_available` | boolean | Same as users.profile_available |
70
+ | `valid_portfolio` | boolean | True when the account's rows passed the structural checks. It says nothing about completeness |
71
+ | `eligible` | boolean | True when retrieval_status is complete. The reuse examples use these accounts |
72
+ | `exclusion_reason` | string | Why the account is left out of the reuse examples. NULL for accounts that are used. All rows stay in the release |
release.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "GitHub Stars in Context",
3
+ "version": "1.1.0",
4
+ "released": "2026-11-10",
5
+ "changes": {
6
+ "1.1.0": "Documentation only. The data dictionary is rewritten in plain language, release.json replaces analysis-manifest.json, and licences and access are filled in. The three Parquet files are byte-identical to 1.0.0",
7
+ "1.0.0": "First public release (2026-11-10)"
8
+ },
9
+ "data": {
10
+ "url": "https://huggingface.co/datasets/NaiveNeuron/github-stars-in-context",
11
+ "license": "CC-BY-NC-4.0"
12
+ },
13
+ "code": {
14
+ "url": "https://github.com/NaiveNeuron/github-stars-in-context",
15
+ "license": "MIT",
16
+ "provenance": "https://github.com/NaiveNeuron/github-stars-in-context/blob/main/PROVENANCE.md"
17
+ },
18
+ "doi": null,
19
+ "authors": [
20
+ "Mykhailo Pavlov",
21
+ "Marek Šuppa"
22
+ ],
23
+ "counts": {
24
+ "accounts": 3671497,
25
+ "repository_rows": 53990808,
26
+ "retrieval_status": {
27
+ "complete": 3615479,
28
+ "failed": 56012,
29
+ "unknown": 6
30
+ },
31
+ "complete_accounts_without_repository_rows": 372821,
32
+ "accounts_with_follower_count": 2520405,
33
+ "accounts_without_follower_count": 1151092,
34
+ "repository_ids_under_more_than_one_account": 20
35
+ },
36
+ "collection": {
37
+ "account_discovery": {
38
+ "period": "2025-12-08/2025-12-09",
39
+ "basis": "insertion timestamps stored with each account"
40
+ },
41
+ "repository_retrieval": {
42
+ "period": "2025-12/2026-01",
43
+ "basis": "latest stored repository creation date (2026-01-02) and the collector author's recollection. Per-request times were not stored"
44
+ },
45
+ "profile_fields": {
46
+ "period": "2026-01-28/2026-02-02",
47
+ "basis": "stored update timestamps"
48
+ },
49
+ "selection": "GitHub GraphQL user search partitioned by follower count (1 or more) and registration date. Search cells above 1,000 results on one registration day were skipped",
50
+ "repository_query": "owned, public, non-fork repositories of each account, paginated to the last page"
51
+ },
52
+ "collector": {
53
+ "repository": "https://github.com/NaiveNeuron/github-stars-in-context/tree/main/collector",
54
+ "license": "MIT",
55
+ "revision": "fe2d7196f4fe305a7a42bb871d267a751f5513f8",
56
+ "policy_id": "git-h-index-fe2d7196-v1",
57
+ "classification_basis": "Classes are derived from the collector's stored flags. They were not checked against GitHub",
58
+ "empty_refresh_caveat": "The collector deletes obsolete rows only when a refresh returns at least one repository. A successful empty refresh can leave older rows in place",
59
+ "execution_history": "Run logs were not kept. PROVENANCE.md in the code repository records what is known",
60
+ "source_file_sha256": {
61
+ "config.py": "395feea85c2bc1ca64eddc6942c8c8e7bdb52bf5f1edc3fc648833d888e422ef",
62
+ "data_fetching/github_parser.py": "5e11db0afccf4e48bb9ec922ee59f1b283361ebc5eab116ef5ced035bb3016e8",
63
+ "data_fetching/main.py": "5fbf439f342c33247cd2d9fa274d2746da5943b2f2fad5ffa8a6fcc7c90f6d72",
64
+ "data_fetching/users_fetching/fetch_user_links.py": "d23999eb87985b6b444431a9585917aae6b905b8ffb6dc715c6463235feb7a98",
65
+ "data_fetching/users_fetching/fetch_user_profile.py": "1efce9b500f5a581f73e0603ce25e0c751c260b5b7733218c6cf1872ca8aea5b",
66
+ "data_fetching/users_fetching/popular_users.py": "a4ca76eeb6c5338f648a398ff0dfe72db8b69782863fe7b22cb142fcedbdbe73",
67
+ "data_storage/database.py": "ed5ca3e99ce6826cea7ef679a609ef2a0dc3dde3f8e1e913c90d28425869e3b3"
68
+ }
69
+ },
70
+ "export": {
71
+ "date": "2026-11-06",
72
+ "script": "scripts/export_release.py",
73
+ "source_database_sha256": "6feb097dfbcebbdbde2ba3bab24b65be7565b0eac6735dd28b7b86a1a31743c8",
74
+ "input_manifest": "release/manifest.json in the code repository",
75
+ "evidence": "expected/export.json in the code repository"
76
+ },
77
+ "excluded_source_fields": {
78
+ "repositories": [],
79
+ "user_links": "whole table",
80
+ "users": [
81
+ "bio",
82
+ "bio_length",
83
+ "company",
84
+ "following_count",
85
+ "links_parsed_at",
86
+ "location",
87
+ "organizations_count",
88
+ "sponsors_count"
89
+ ]
90
+ },
91
+ "files": {
92
+ "users.parquet": {
93
+ "bytes": 95818356,
94
+ "sha256": "31e2ed1dca49096c58d3b0a19f9615a1bc32425d446fba531975dd08f5c5599c",
95
+ "rows": 3671497
96
+ },
97
+ "repositories.parquet": {
98
+ "bytes": 1532435781,
99
+ "sha256": "d80d8171e1965b86adc40d8f361cf141a3d974d0e3c67653f9cf1f334b36c7dc",
100
+ "rows": 53990808
101
+ },
102
+ "portfolios.parquet": {
103
+ "bytes": 57527775,
104
+ "sha256": "4128b044e943fc1c1c0964cb792d29babdc0a65d6d0f35ccd42b5383e509e050",
105
+ "rows": 3671497
106
+ }
107
+ }
108
+ }