Datasets:
Card: clarify collection limits, profile masking, removal contact and pinned examples
Browse files
README.md
CHANGED
|
@@ -59,7 +59,7 @@ resources such as GH Archive.
|
|
| 59 |
|
| 60 |
```python
|
| 61 |
import duckdb
|
| 62 |
-
base = "hf://datasets/NaiveNeuron/github-stars-in-context"
|
| 63 |
print(duckdb.sql(f"""
|
| 64 |
SELECT count(*) FILTER (WHERE r.stars >= 10) AS kept, count(*) AS total
|
| 65 |
FROM '{base}/repositories.parquet' r
|
|
@@ -69,10 +69,10 @@ WHERE u.retrieval_status = 'complete'
|
|
| 69 |
# [(1560798, 53987867)]
|
| 70 |
```
|
| 71 |
|
| 72 |
-
Or download everything (1.
|
| 73 |
|
| 74 |
```sh
|
| 75 |
-
hf download NaiveNeuron/github-stars-in-context --repo-type dataset --local-dir data
|
| 76 |
(cd data && shasum -a 256 -c PARQUET-SHA256SUMS)
|
| 77 |
```
|
| 78 |
|
|
@@ -82,27 +82,34 @@ hf download NaiveNeuron/github-stars-in-context --repo-type dataset --local-dir
|
|
| 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
|
| 86 |
-
January 2026
|
| 87 |
-
repositories
|
|
|
|
| 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.**
|
| 93 |
-
|
| 94 |
-
|
|
|
|
|
|
|
| 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
|
| 101 |
-
NULL.
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
| 103 |
The raw stored value is kept in `followers_count_raw` and must not be read
|
| 104 |
-
as zero followers
|
| 105 |
-
|
|
|
|
| 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
|
|
@@ -112,15 +119,22 @@ hf download NaiveNeuron/github-stars-in-context --repo-type dataset --local-dir
|
|
| 112 |
## Personal data
|
| 113 |
|
| 114 |
The dataset contains only fields that were public on GitHub: account logins
|
| 115 |
-
and numeric IDs, repository names, creation times and star counts.
|
| 116 |
-
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
## Licence
|
| 120 |
|
| 121 |
The data are released under
|
| 122 |
-
[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). The
|
| 123 |
-
|
|
|
|
| 124 |
|
| 125 |
## Versions
|
| 126 |
|
|
@@ -142,6 +156,7 @@ please cite this dataset page:
|
|
| 142 |
author = {Pavlov, Mykhailo and {\v{S}}uppa, Marek},
|
| 143 |
title = {{GitHub} Stars in Context: A Dataset of Repository Popularity Across Accounts},
|
| 144 |
year = {2026},
|
|
|
|
| 145 |
howpublished = {\url{https://huggingface.co/datasets/NaiveNeuron/github-stars-in-context}}
|
| 146 |
}
|
| 147 |
```
|
|
|
|
| 59 |
|
| 60 |
```python
|
| 61 |
import duckdb
|
| 62 |
+
base = "hf://datasets/NaiveNeuron/github-stars-in-context@v1.1.0"
|
| 63 |
print(duckdb.sql(f"""
|
| 64 |
SELECT count(*) FILTER (WHERE r.stars >= 10) AS kept, count(*) AS total
|
| 65 |
FROM '{base}/repositories.parquet' r
|
|
|
|
| 69 |
# [(1560798, 53987867)]
|
| 70 |
```
|
| 71 |
|
| 72 |
+
Or download everything (1.57 GiB). This needs the Hugging Face CLI:
|
| 73 |
|
| 74 |
```sh
|
| 75 |
+
hf download NaiveNeuron/github-stars-in-context --repo-type dataset --revision v1.1.0 --local-dir data
|
| 76 |
(cd data && shasum -a 256 -c PARQUET-SHA256SUMS)
|
| 77 |
```
|
| 78 |
|
|
|
|
| 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 about December 2025 to
|
| 86 |
+
early January 2026, by the collector author's estimate. The query selects
|
| 87 |
+
owned, public, non-fork repositories, including archived ones, and follows
|
| 88 |
+
pagination. Per-request times were not stored
|
| 89 |
- **Follower counts** were fetched from 28 January to 2 February 2026
|
| 90 |
|
| 91 |
## What to know before using it
|
| 92 |
|
| 93 |
+
- **Not a random sample of GitHub.** Discovery searched for accounts with at
|
| 94 |
+
least one follower. Follower counts fetched later can be zero (1,719
|
| 95 |
+
accounts). Search cells that still exceeded 1,000 results on a single
|
| 96 |
+
registration day were skipped, and a failed search request could drop a
|
| 97 |
+
cell. The number of missed accounts is unknown
|
| 98 |
- **Retrieval status.** `retrieval_status` is `complete` for 3,615,479
|
| 99 |
accounts (372,821 of them own no stored repository), `failed` for 56,012
|
| 100 |
and `unknown` for 6. The classes are derived from the collector's logic.
|
| 101 |
They are not an independent check against GitHub
|
| 102 |
- **Missing follower counts.** `profile_available` is false for 1,151,092
|
| 103 |
+
accounts whose profile fields are missing or ambiguous. Their
|
| 104 |
+
`followers_count` is NULL. The rule masks NULL biographies and profiles
|
| 105 |
+
with only default values, which can include genuinely empty profiles. In a
|
| 106 |
+
sample of 300 such accounts of the complete class checked on 10 November
|
| 107 |
+
2026, 298 still existed and 296 had followers. This supports treating the
|
| 108 |
+
stored zeros as missing, but it does not show their values in January 2026.
|
| 109 |
The raw stored value is kept in `followers_count_raw` and must not be read
|
| 110 |
+
as zero followers. Follower analyses cover only the accounts with available
|
| 111 |
+
profiles, measured after the repositories
|
| 112 |
+
- **Historical observations.** Star counts are as of retrieval. Per-request times were
|
| 113 |
not stored, so this is not a star history
|
| 114 |
- **Repository IDs are not unique keys.** Twenty repository IDs appear under
|
| 115 |
more than one account
|
|
|
|
| 119 |
## Personal data
|
| 120 |
|
| 121 |
The dataset contains only fields that were public on GitHub: account logins
|
| 122 |
+
and numeric IDs, repository names, creation times and star counts. Logins and
|
| 123 |
+
numeric IDs can identify people. Numeric IDs are needed to join the tables to
|
| 124 |
+
other datasets, and logins allow lookup by name. Biographies, company,
|
| 125 |
+
location and external links were collected but are **not** included.
|
| 126 |
+
|
| 127 |
+
To have an account removed, write to marek@suppa.sk or open an issue in the
|
| 128 |
+
code repository. Please do not post personal documents in a public issue. We
|
| 129 |
+
remove the account's rows from all three tables in a new release. Copies that
|
| 130 |
+
others have already downloaded cannot be recalled.
|
| 131 |
|
| 132 |
## Licence
|
| 133 |
|
| 134 |
The data are released under
|
| 135 |
+
[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). The licence
|
| 136 |
+
covers the rights the authors hold in the compilation. It does not grant
|
| 137 |
+
rights held by GitHub users or other third parties. The code is MIT-licensed.
|
| 138 |
|
| 139 |
## Versions
|
| 140 |
|
|
|
|
| 156 |
author = {Pavlov, Mykhailo and {\v{S}}uppa, Marek},
|
| 157 |
title = {{GitHub} Stars in Context: A Dataset of Repository Popularity Across Accounts},
|
| 158 |
year = {2026},
|
| 159 |
+
version = {1.1.0},
|
| 160 |
howpublished = {\url{https://huggingface.co/datasets/NaiveNeuron/github-stars-in-context}}
|
| 161 |
}
|
| 162 |
```
|