Datasets:
Release v1.0.0
Browse files- PARQUET-SHA256SUMS +7 -0
- README.md +133 -0
- analysis-manifest.json +69 -0
- crosswalk.sql +11 -0
- data-dictionary.json +303 -0
- data-dictionary.md +59 -0
- portfolios.parquet +3 -0
- repositories.parquet +3 -0
- users.parquet +3 -0
PARQUET-SHA256SUMS
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
9ac8f90179e26f6ab5cbf67bd8a818d394b7a505eac1fe7cae1c25f2cb86562c analysis-manifest.json
|
| 2 |
+
dfbc1484049b2a78aed9e957652652d41ed3fb10db8a74835bfbadadd259a214 crosswalk.sql
|
| 3 |
+
d7f76f3745d0cc11d02b4416b30de9a8bb5557ad1a0c222b8cee50c0c934a91f data-dictionary.json
|
| 4 |
+
6ac60e71112313e7b2dbbe6fc2f26f5682ed43ebeed2e3d4e4eb22126e33af1f data-dictionary.md
|
| 5 |
+
4128b044e943fc1c1c0964cb792d29babdc0a65d6d0f35ccd42b5383e509e050 portfolios.parquet
|
| 6 |
+
d80d8171e1965b86adc40d8f361cf141a3d974d0e3c67653f9cf1f334b36c7dc repositories.parquet
|
| 7 |
+
31e2ed1dca49096c58d3b0a19f9615a1bc32425d446fba531975dd08f5c5599c users.parquet
|
README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
pretty_name: GitHub Stars in Context
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- github
|
| 8 |
+
- mining-software-repositories
|
| 9 |
+
- stars
|
| 10 |
+
- repositories
|
| 11 |
+
size_categories:
|
| 12 |
+
- 10M<n<100M
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: repositories
|
| 15 |
+
data_files: repositories.parquet
|
| 16 |
+
default: true
|
| 17 |
+
- config_name: users
|
| 18 |
+
data_files: users.parquet
|
| 19 |
+
- config_name: portfolios
|
| 20 |
+
data_files: portfolios.parquet
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# GitHub Stars in Context
|
| 24 |
+
|
| 25 |
+
A dataset of repository popularity across GitHub accounts. It links
|
| 26 |
+
**3,671,497 GitHub user accounts** to the **53,990,808 public, non-fork
|
| 27 |
+
repositories** they own, with each repository's star count.
|
| 28 |
+
|
| 29 |
+
Most GitHub datasets describe repositories one by one. This one keeps the
|
| 30 |
+
ownership context: every stored repository of an account, including those with
|
| 31 |
+
zero stars. That makes it possible to see what a star-threshold filter leaves
|
| 32 |
+
out, to compare concentrated and spread-out portfolios, and to group
|
| 33 |
+
repositories by owner when building samples or benchmark splits.
|
| 34 |
+
|
| 35 |
+
Processing code, reuse examples and reproduction instructions:
|
| 36 |
+
<https://github.com/NaiveNeuron/github-stars-in-context>
|
| 37 |
+
|
| 38 |
+
## Files
|
| 39 |
+
|
| 40 |
+
| File | Rows | Contents |
|
| 41 |
+
| --- | ---: | --- |
|
| 42 |
+
| `users.parquet` | 3,671,497 | Account IDs, login, retrieval status, profile-availability flag, follower count |
|
| 43 |
+
| `repositories.parquet` | 53,990,808 | Owner key, GitHub repository ID, name, creation time, stars |
|
| 44 |
+
| `portfolios.parquet` | 3,671,497 | Per-account repository count, total and maximum stars, h-index, concentration |
|
| 45 |
+
| `data-dictionary.md` / `.json` | | Field meanings, types and NULL rules |
|
| 46 |
+
| `analysis-manifest.json` | | Collection and classification policy |
|
| 47 |
+
| `crosswalk.sql` | | View mapping local keys to GitHub IDs, names and URLs |
|
| 48 |
+
| `PARQUET-SHA256SUMS` | | Checksums of the files above |
|
| 49 |
+
|
| 50 |
+
`repositories.user_id` joins `users.id`. Both are local keys. `users.github_id`
|
| 51 |
+
and `repositories.repository_id` are GitHub's numeric IDs and join to other
|
| 52 |
+
resources such as GH Archive.
|
| 53 |
+
|
| 54 |
+
## Quick start
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
import duckdb
|
| 58 |
+
base = "hf://datasets/NaiveNeuron/github-stars-in-context"
|
| 59 |
+
print(duckdb.sql(f"""
|
| 60 |
+
SELECT count(*) FILTER (WHERE r.stars >= 10) AS kept, count(*) AS total
|
| 61 |
+
FROM '{base}/repositories.parquet' r
|
| 62 |
+
JOIN '{base}/users.parquet' u ON r.user_id = u.id
|
| 63 |
+
WHERE u.retrieval_status = 'complete'
|
| 64 |
+
""").fetchall())
|
| 65 |
+
# [(1560798, 53987867)]
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
Or download everything (1.6 GB):
|
| 69 |
+
|
| 70 |
+
```sh
|
| 71 |
+
hf download NaiveNeuron/github-stars-in-context --repo-type dataset --local-dir data
|
| 72 |
+
(cd data && shasum -a 256 -c PARQUET-SHA256SUMS)
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
## How it was collected
|
| 76 |
+
|
| 77 |
+
- **Accounts** were found on 8–9 December 2025 through GitHub GraphQL user
|
| 78 |
+
search, split by follower count (1–9 up to 10,000+) and registration date
|
| 79 |
+
to stay under the 1,000-result search limit. Organizations are excluded.
|
| 80 |
+
Accounts with no followers were not searched.
|
| 81 |
+
- **Repositories** were fetched per account from December 2025 to early
|
| 82 |
+
January 2026: owned, public, non-fork, with full pagination. Archived
|
| 83 |
+
repositories are included.
|
| 84 |
+
- **Follower counts** were fetched from 28 January to 2 February 2026.
|
| 85 |
+
|
| 86 |
+
## What to know before using it
|
| 87 |
+
|
| 88 |
+
- **Not a random sample of GitHub.** Accounts have at least one follower, and
|
| 89 |
+
search cells that still exceeded 1,000 results on a single registration day
|
| 90 |
+
were skipped. These are concentrated among accounts with few followers.
|
| 91 |
+
- **Retrieval status.** `retrieval_status` is `complete` for 3,615,479
|
| 92 |
+
accounts (372,821 of them own no stored repository), `failed` for 56,012
|
| 93 |
+
and `unknown` for 6. The classes are derived from the collector's logic.
|
| 94 |
+
They are not an independent check against GitHub.
|
| 95 |
+
- **Missing follower counts.** `profile_available` is false for 1,151,092
|
| 96 |
+
accounts whose profile request failed. Their `followers_count` is NULL.
|
| 97 |
+
The raw stored value is kept in `followers_count_raw` and must not be read
|
| 98 |
+
as zero followers.
|
| 99 |
+
- **One snapshot.** Star counts are as of retrieval. Per-request times were
|
| 100 |
+
not stored, so this is not a star history.
|
| 101 |
+
- **Repository IDs are not unique keys.** Twenty repository IDs appear under
|
| 102 |
+
more than one account.
|
| 103 |
+
- **Stars are not a measure of people.** Do not use this dataset to rank or
|
| 104 |
+
evaluate individuals.
|
| 105 |
+
|
| 106 |
+
## Personal data
|
| 107 |
+
|
| 108 |
+
The dataset contains only fields that were public on GitHub: account logins
|
| 109 |
+
and numeric IDs, repository names, creation times and star counts. Biographies,
|
| 110 |
+
company, location and external links were collected but are **not** included.
|
| 111 |
+
If you want your account removed, open an issue in the code repository.
|
| 112 |
+
|
| 113 |
+
## Licence
|
| 114 |
+
|
| 115 |
+
The data are released under
|
| 116 |
+
[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). The code is
|
| 117 |
+
MIT-licensed. The licence fields inside `analysis-manifest.json` and
|
| 118 |
+
`data-dictionary.md` were written before this decision and still say
|
| 119 |
+
"pending"; this card is authoritative.
|
| 120 |
+
|
| 121 |
+
## Citation
|
| 122 |
+
|
| 123 |
+
A paper describing the dataset is under review. Until it is published,
|
| 124 |
+
please cite this dataset page:
|
| 125 |
+
|
| 126 |
+
```bibtex
|
| 127 |
+
@misc{pavlov2026githubstars,
|
| 128 |
+
author = {Pavlov, Mykhailo and {\v{S}}uppa, Marek},
|
| 129 |
+
title = {{GitHub} Stars in Context: A Dataset of Repository Popularity Across Accounts},
|
| 130 |
+
year = {2026},
|
| 131 |
+
howpublished = {\url{https://huggingface.co/datasets/NaiveNeuron/github-stars-in-context}}
|
| 132 |
+
}
|
| 133 |
+
```
|
analysis-manifest.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"account_frame": {
|
| 3 |
+
"description": "TODO: verify follower/date partition configuration and discovery coverage against collector evidence",
|
| 4 |
+
"discovered_accounts": null,
|
| 5 |
+
"evidence_ref": null
|
| 6 |
+
},
|
| 7 |
+
"author_decisions": {
|
| 8 |
+
"code_license": "pending",
|
| 9 |
+
"data_license": "pending",
|
| 10 |
+
"restricted_profile_addon": "pending; default artifact excludes profile text and social-link URLs"
|
| 11 |
+
},
|
| 12 |
+
"classification_ledger": {
|
| 13 |
+
"basis": "Source sidecar overrides or revision-pinned code inference, persisted before private fields are removed",
|
| 14 |
+
"profile_availability": "profile_available",
|
| 15 |
+
"status": "retrieval_status",
|
| 16 |
+
"table": "users"
|
| 17 |
+
},
|
| 18 |
+
"code_license": null,
|
| 19 |
+
"collector_semantics": {
|
| 20 |
+
"classification_basis": "Code-inferred fetch outcome, not independent certification of current stored row-set completeness",
|
| 21 |
+
"empty_refresh_caveat": "update_user_repositories deletes obsolete rows only for a nonempty fetched list; a successful empty refresh can retain old rows",
|
| 22 |
+
"execution_history_caveat": "Provider identifies this collector; exact commands and logs still need confirmation",
|
| 23 |
+
"license_file_present": false,
|
| 24 |
+
"policy_id": "git-h-index-fe2d7196-v1",
|
| 25 |
+
"repository": "https://github.com/Pavloffm/git-h-index",
|
| 26 |
+
"revision": "fe2d7196f4fe305a7a42bb871d267a751f5513f8",
|
| 27 |
+
"source_file_sha256": {
|
| 28 |
+
"config.py": "395feea85c2bc1ca64eddc6942c8c8e7bdb52bf5f1edc3fc648833d888e422ef",
|
| 29 |
+
"data_fetching/github_parser.py": "5e11db0afccf4e48bb9ec922ee59f1b283361ebc5eab116ef5ced035bb3016e8",
|
| 30 |
+
"data_fetching/main.py": "5fbf439f342c33247cd2d9fa274d2746da5943b2f2fad5ffa8a6fcc7c90f6d72",
|
| 31 |
+
"data_fetching/users_fetching/fetch_user_links.py": "d23999eb87985b6b444431a9585917aae6b905b8ffb6dc715c6463235feb7a98",
|
| 32 |
+
"data_fetching/users_fetching/fetch_user_profile.py": "1efce9b500f5a581f73e0603ce25e0c751c260b5b7733218c6cf1872ca8aea5b",
|
| 33 |
+
"data_fetching/users_fetching/popular_users.py": "a4ca76eeb6c5338f648a398ff0dfe72db8b69782863fe7b22cb142fcedbdbe73",
|
| 34 |
+
"data_storage/database.py": "ed5ca3e99ce6826cea7ef679a609ef2a0dc3dde3f8e1e913c90d28425869e3b3"
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"data_kind": "research",
|
| 38 |
+
"data_license": null,
|
| 39 |
+
"doi": null,
|
| 40 |
+
"observation_window": {
|
| 41 |
+
"end": null,
|
| 42 |
+
"evidence_ref": null,
|
| 43 |
+
"start": null
|
| 44 |
+
},
|
| 45 |
+
"release_scope": "All selected account records and their stored repository rows; profile text and user_links excluded",
|
| 46 |
+
"retrieval_evidence_csv": null,
|
| 47 |
+
"retrieval_policy": "Use persisted users.retrieval_status and profile_available from the source classification ledger",
|
| 48 |
+
"reviewer_url": null,
|
| 49 |
+
"sampling": {
|
| 50 |
+
"account_fraction": 1.0,
|
| 51 |
+
"caveat": "Account sampling, not repository sampling. Portfolio-size heavy tails can make size extrapolation unstable",
|
| 52 |
+
"method": "all accounts",
|
| 53 |
+
"python": "3.12.1",
|
| 54 |
+
"requested_fraction": 1.0,
|
| 55 |
+
"seed": 20261106,
|
| 56 |
+
"selected_accounts": 3671497,
|
| 57 |
+
"selected_ids_sha256": null,
|
| 58 |
+
"source_accounts": 3671497
|
| 59 |
+
},
|
| 60 |
+
"timestamp_semantics": {
|
| 61 |
+
"repositories.created_at": "GitHub repository createdAt retained on insertion, not fetch time (github_parser.py:30-34; database.py:94-105)",
|
| 62 |
+
"user_links.created_at": "Link-row timestamp; collector write path must be cited, not repository observation time",
|
| 63 |
+
"users.created_at": "Discovery insertion datetime.now(), not GitHub registration (popular_users.py:168-176)",
|
| 64 |
+
"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)",
|
| 65 |
+
"users.links_parsed_at": "Link parsing stage timestamp; not repository observation time (database.py link parsing writers)"
|
| 66 |
+
},
|
| 67 |
+
"validation_csv": null,
|
| 68 |
+
"version": null
|
| 69 |
+
}
|
crosswalk.sql
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CREATE VIEW identifier_crosswalk AS
|
| 2 |
+
SELECT r.id AS local_repository_row_id, u.id AS local_owner_id,
|
| 3 |
+
u.github_id AS github_owner_id, r.repository_id AS github_repository_id,
|
| 4 |
+
u.github_name AS owner_login, r.name AS repository_name_stored,
|
| 5 |
+
CASE WHEN instr(r.name, '/') > 0 THEN substr(r.name, instr(r.name, '/') + 1)
|
| 6 |
+
ELSE r.name END AS repository_name,
|
| 7 |
+
u.github_name || '/' || CASE WHEN instr(r.name, '/') > 0
|
| 8 |
+
THEN substr(r.name, instr(r.name, '/') + 1) ELSE r.name END AS owner_name,
|
| 9 |
+
'https://github.com/' || u.github_name || '/' || CASE WHEN instr(r.name, '/') > 0
|
| 10 |
+
THEN substr(r.name, instr(r.name, '/') + 1) ELSE r.name END AS repository_url
|
| 11 |
+
FROM repositories r JOIN users u ON u.id=r.user_id;
|
data-dictionary.json
ADDED
|
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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",
|
| 13 |
+
"data_fetching/main.py": "5fbf439f342c33247cd2d9fa274d2746da5943b2f2fad5ffa8a6fcc7c90f6d72",
|
| 14 |
+
"data_fetching/users_fetching/fetch_user_links.py": "d23999eb87985b6b444431a9585917aae6b905b8ffb6dc715c6463235feb7a98",
|
| 15 |
+
"data_fetching/users_fetching/fetch_user_profile.py": "1efce9b500f5a581f73e0603ce25e0c751c260b5b7733218c6cf1872ca8aea5b",
|
| 16 |
+
"data_fetching/users_fetching/popular_users.py": "a4ca76eeb6c5338f648a398ff0dfe72db8b69782863fe7b22cb142fcedbdbe73",
|
| 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",
|
| 33 |
+
"company",
|
| 34 |
+
"following_count",
|
| 35 |
+
"links_parsed_at",
|
| 36 |
+
"location",
|
| 37 |
+
"organizations_count",
|
| 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"
|
| 142 |
+
}
|
| 143 |
+
],
|
| 144 |
+
"rows": 3671497
|
| 145 |
+
},
|
| 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"
|
| 183 |
+
}
|
| 184 |
+
],
|
| 185 |
+
"rows": 53990808
|
| 186 |
+
},
|
| 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"
|
| 284 |
+
}
|
| 285 |
+
],
|
| 286 |
+
"rows": 3671497
|
| 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 |
+
}
|
data-dictionary.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
portfolios.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4128b044e943fc1c1c0964cb792d29babdc0a65d6d0f35ccd42b5383e509e050
|
| 3 |
+
size 57527775
|
repositories.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d80d8171e1965b86adc40d8f361cf141a3d974d0e3c67653f9cf1f334b36c7dc
|
| 3 |
+
size 1532435781
|
users.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31e2ed1dca49096c58d3b0a19f9615a1bc32425d446fba531975dd08f5c5599c
|
| 3 |
+
size 95818356
|