ozefe commited on
Commit
2fd8af7
·
verified ·
1 Parent(s): d341341

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +128 -38
README.md CHANGED
@@ -33,15 +33,15 @@ configs:
33
 
34
  # Secure, Contain, Protect
35
 
36
- A structured snapshot of the **English [SCP Foundation Wiki](https://scp-wiki.wikidot.com/)** — every content page (SCPs, tales, hubs, GOI formats, essays and art) created between **2008 and 2026**, harvested from the [Crom](https://crom.avn.sh/) GraphQL API. **19,439 pages** by **2,818 authors**, each with its raw Wikidot **source text**, rating, vote and comment counts, tags, authorship, and alternate titles.
37
 
38
- User/author pages, hidden pages, and non-content categories are filtered out; rendered HTML and attribution blocks are deliberately omitted (the raw `source` is included so you can render or parse it yourself). Snapshot date: **2026-06-03**.
39
 
40
  ## Dataset structure
41
 
42
- Three normalized tables (no JSON columns), published as one Parquet file each.
43
 
44
- **`pages`** — one row per content page (19,439 rows):
45
 
46
  | column | type | notes |
47
  | --- | --- | --- |
@@ -62,11 +62,12 @@ Three normalized tables (no JSON columns), published as one Parquet file each.
62
  | `created_by_wikidot_id` | string | |
63
  | `source` | string | **raw Wikidot markup** |
64
  | `summary` | string | author-provided summary (often null) |
 
65
  | `fetched_at` | timestamp | UTC; when the row was crawled |
66
 
67
- **`page_tags`** — `(page_url, position, tag)`, 175,004 rows.
68
 
69
- **`page_alternate_titles`** — `(page_url, idx, title, source)`, 10,468 rows.
70
 
71
  Join the children to `pages` on `page_url = url`.
72
 
@@ -118,6 +119,17 @@ print(con.execute(f"""
118
  """).fetchall())
119
  ```
120
 
 
 
 
 
 
 
 
 
 
 
 
121
  ## Build it yourself
122
 
123
  The repository ships the full pipeline: crawl -> export -> report. Requires **Python 3.14+** (the Crom GraphQL API client [`thaumiel`](https://pypi.org/project/thaumiel/) needs it).
@@ -151,7 +163,7 @@ python generate_report.py
151
 
152
  ## How it was built
153
 
154
- Pages are selected server-side from Crom GraphQL API with: URL on `scp-wiki.wikidot.com`, Wikidot category `_default`, `is_hidden = false`, and `is_user_page = false`. Per page the crawler requests the free fields plus the costly `source`, `summary`, and `alternate_titles`; it skips `text_content` (rendered HTML) and `attributions`. Timestamps are stored as UTC. See [`src/scp_dataset.py`](src/scp_dataset.py).
155
 
156
  ## License & attribution
157
 
@@ -159,7 +171,7 @@ The SCP Foundation Wiki is licensed under **[Creative Commons Attribution-ShareA
159
 
160
  ## The SCP Foundation Wiki in Numbers
161
 
162
- _SCP Wiki content pages · 2008–2026 · n = 19,439 · via Crom._
163
 
164
  A statistical tour of every content page (SCPs, tales, hubs, GOI formats and more) on the English SCP Wiki, built from the Crom API. Each figure below is followed by the conclusion it supports.
165
 
@@ -167,7 +179,7 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
167
 
168
  ![Content created per year](images/pages_per_year.png)
169
 
170
- **Takeaway.** The wiki grew from 298 pages in 2008 to a peak around 2025, 19,439 in all. SCPs are the backbone but tales now make up roughly a third of yearly output; 2026 is a partial year.
171
 
172
  ### Object classes
173
 
@@ -185,19 +197,19 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
185
 
186
  ![Rating distribution](images/rating_distribution.png)
187
 
188
- **Takeaway.** Ratings are extremely right-skewed: a median of 69 against a maximum of 10,757 (SCP-173). Only 48 pages sit below zero — the community deletes weak work, so what remains is heavily curated.
189
 
190
  ### Article length
191
 
192
  ![Article length](images/length_distribution.png)
193
 
194
- **Takeaway.** Article length is roughly log-normal around a median of 10,399 characters (a few pages of text), with a long tail of giant hubs and anthologies reaching 199,994 characters.
195
 
196
  ### Authorship is a power law
197
 
198
  ![Authorship is a power law](images/author_pareto.png)
199
 
200
- **Takeaway.** Contribution is steeply unequal: the most prolific 2% of authors wrote 28% of all pages, while 1,335 authors (nearly half) wrote exactly one. A small core sustains the wiki.
201
 
202
  ### Does length buy quality? No
203
 
@@ -221,7 +233,19 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
221
 
222
  ![Prolific vs. acclaimed authors](images/prolific_vs_acclaimed.png)
223
 
224
- **Takeaway.** Output and acclaim are different games. The most prolific authors cluster at modest average ratings, while the highest-rated authors are comparatively selective — bubble size (total score) shows a few writers manage both volume and quality.
 
 
 
 
 
 
 
 
 
 
 
 
225
 
226
  ### How themes cluster
227
 
@@ -229,6 +253,12 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
229
 
230
  **Takeaway.** Themes form clear clusters. The strongest pairing is 'sapient' + 'humanoid': entity descriptors (humanoid / sapient / alive) co-occur tightly, forming a 'monster' cluster distinct from the genre tags.
231
 
 
 
 
 
 
 
232
  ### Per-year summary
233
 
234
  | Year | Pages | SCPs | Tales | Authors | Avg rating | Top-rated page |
@@ -251,7 +281,7 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
251
  | 2023 | 1,325 | 672 | 496 | 383 | 62 | SCP-7819 |
252
  | 2024 | 1,289 | 629 | 485 | 407 | 62 | SCP-8980 |
253
  | 2025 | 1,785 | 934 | 630 | 563 | 50 | SCP-9000 |
254
- | 2026 | 893 | 556 | 206 | 375 | 36 | National Fog Safety Initiative |
255
 
256
  **Takeaway.** Output and contributor counts climb together — more authors, more pages — while average rating declines with each younger cohort (an age effect, not a quality one).
257
 
@@ -259,10 +289,10 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
259
 
260
  | # | Title | Rating | Votes | Comments | Author | Year |
261
  | --- | --- | --- | --- | --- | --- | --- |
262
- | 1 | SCP-173 | 10,757 | 11,853 | 2,039 | Lt Masipag | 2008 |
263
- | 2 | ●●\|●●●●●\|●●\|● | 7,149 | 7,315 | 613 | LurkD | 2015 |
264
  | 3 | SCP-049 | 5,547 | 6,035 | 700 | Gabriel Jade | 2009 |
265
- | 4 | SCP-____-J | 5,244 | 5,714 | 742 | Communism will win | 2012 |
266
  | 5 | SCP-096 | 4,792 | 5,006 | 566 | Dr Dan | 2010 |
267
  | 6 | SCP-055 | 4,655 | 4,753 | 502 | xthevilecorruptor | 2008 |
268
  | 7 | SCP-682 | 4,210 | 5,056 | 1,057 | Dr Gears | 2008 |
@@ -277,24 +307,84 @@ A statistical tour of every content page (SCPs, tales, hubs, GOI formats and mor
277
 
278
  **Takeaway.** The canon is front-loaded with early classics — SCP-173, SCP-049, SCP-682 — that have compounded votes for over a decade, alongside a few modern breakouts like SCP-5000.
279
 
280
- ### Top 15 most prolific authors
281
-
282
- | # | Author | Pages | Avg rating | Total rating | Best-rated work |
283
- | --- | --- | --- | --- | --- | --- |
284
- | 1 | Uncle Nicolini | 290 | 102 | 29,529 | SCP-MYSTERY-J |
285
- | 2 | RJB_R | 232 | 112 | 26,092 | SCP-1833 |
286
- | 3 | HarryBlank | 226 | 141 | 31,816 | SCP-7000 |
287
- | 4 | Ralliston | 168 | 83 | 13,998 | SCP-6871 |
288
- | 5 | Tanhony | 152 | 258 | 39,182 | SCP-5000 |
289
- | 6 | Communism will win | 145 | 218 | 31,681 | SCP-____-J |
290
- | 7 | djkaktus | 143 | 447 | 63,874 | SCP-1730 |
291
- | 8 | Doctor Cimmerian | 132 | 162 | 21,424 | Cimmerian-Kaktus Proposal |
292
- | 9 | daveyoufool | 127 | 216 | 27,440 | SCP-TTKU-J (which is a thing that kills you) |
293
- | 10 | DrClef | 125 | 335 | 41,843 | SCP-2317 |
294
- | 11 | Dr Gears | 124 | 313 | 38,797 | SCP-682 |
295
- | 12 | DarkStuff | 120 | 89 | 10,736 | SCP-4006 |
296
- | 13 | Rounderhouse | 118 | 236 | 27,864 | SCP-6000 |
297
- | 14 | Aelanna | 110 | 212 | 23,370 | SCP-895 |
298
- | 15 | A Random Day | 109 | 144 | 15,719 | SCP-5555 |
299
-
300
- **Takeaway.** The most prolific authors are not the highest-scoring on average volume and acclaim rarely coincide but their cumulative totals show how much of the wiki rests on a few dozen people.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  # Secure, Contain, Protect
35
 
36
+ A structured snapshot of the **English [SCP Foundation Wiki](https://scp-wiki.wikidot.com/)** — every content page (SCPs, tales, hubs, GOI formats, essays and art) created between **2008 and 2026**, harvested from the [Crom](https://crom.avn.sh/) GraphQL API. **19,438 pages** by **3,479 credited authors**, each with its raw Wikidot **source text**, rating, vote and comment counts, tags, authorship, alternate titles, and per-credit **attributions** (the credited author(s), distinct from whoever posted the page).
37
 
38
+ User/author pages, hidden pages, and non-content categories are filtered out; only the rendered HTML is omitted (the raw `source` is included so you can render or parse it yourself). Snapshot date: **2026-06-03**.
39
 
40
  ## Dataset structure
41
 
42
+ Three tables, published as one Parquet file each — flat columns throughout, except `pages.attributions`, which is a JSON array of credits.
43
 
44
+ **`pages`** — one row per content page (19,438 rows):
45
 
46
  | column | type | notes |
47
  | --- | --- | --- |
 
62
  | `created_by_wikidot_id` | string | |
63
  | `source` | string | **raw Wikidot markup** |
64
  | `summary` | string | author-provided summary (often null) |
65
+ | `attributions` | json | array of credits `{type, user_display_name, date, order}`; `type` ∈ AUTHOR / REWRITE / TRANSLATOR / SUBMITTER |
66
  | `fetched_at` | timestamp | UTC; when the row was crawled |
67
 
68
+ **`page_tags`** — `(page_url, position, tag)`, 175,007 rows.
69
 
70
+ **`page_alternate_titles`** — `(page_url, idx, title, source)`, 10,465 rows.
71
 
72
  Join the children to `pages` on `page_url = url`.
73
 
 
119
  """).fetchall())
120
  ```
121
 
122
+ The `attributions` column is a JSON array — unnest it to get the real credited authors
123
+ (distinct from `created_by_*`, which is whoever posted the page):
124
+
125
+ ```sql
126
+ SELECT title, a.user_display_name, a.type
127
+ FROM 'pages.parquet', unnest(from_json(attributions,
128
+ '[{"user_display_name": "VARCHAR", "type": "VARCHAR", "date": "VARCHAR", "order": "INTEGER"}]')) AS t(a)
129
+ WHERE url = 'http://scp-wiki.wikidot.com/scp-682';
130
+ -- Dr Gears (AUTHOR), Epic Phail Spy (AUTHOR)
131
+ ```
132
+
133
  ## Build it yourself
134
 
135
  The repository ships the full pipeline: crawl -> export -> report. Requires **Python 3.14+** (the Crom GraphQL API client [`thaumiel`](https://pypi.org/project/thaumiel/) needs it).
 
163
 
164
  ## How it was built
165
 
166
+ Pages are selected server-side from Crom GraphQL API with: URL on `scp-wiki.wikidot.com`, Wikidot category `_default`, `is_hidden = false`, and `is_user_page = false`. Per page the crawler requests the free fields plus the costly `source`, `summary`, `alternate_titles`, and `attributions` (the latter stored as a JSON column); it skips only `text_content` (rendered HTML). Timestamps are stored as UTC. See [`src/scp_dataset.py`](src/scp_dataset.py).
167
 
168
  ## License & attribution
169
 
 
171
 
172
  ## The SCP Foundation Wiki in Numbers
173
 
174
+ _SCP Wiki content pages · 2008–2026 · n = 19,438 · via Crom._
175
 
176
  A statistical tour of every content page (SCPs, tales, hubs, GOI formats and more) on the English SCP Wiki, built from the Crom API. Each figure below is followed by the conclusion it supports.
177
 
 
179
 
180
  ![Content created per year](images/pages_per_year.png)
181
 
182
+ **Takeaway.** The wiki grew from 298 pages in 2008 to a peak around 2025, 19,438 in all. SCPs are the backbone but tales now make up roughly a third of yearly output; 2026 is a partial year.
183
 
184
  ### Object classes
185
 
 
197
 
198
  ![Rating distribution](images/rating_distribution.png)
199
 
200
+ **Takeaway.** Ratings are extremely right-skewed: a median of 69 against a maximum of 10,758 (SCP-173). Only 46 pages sit below zero — the community deletes weak work, so what remains is heavily curated.
201
 
202
  ### Article length
203
 
204
  ![Article length](images/length_distribution.png)
205
 
206
+ **Takeaway.** Article length is roughly log-normal around a median of 10,398 characters (a few pages of text), with a long tail of giant hubs and anthologies reaching 199,994 characters.
207
 
208
  ### Authorship is a power law
209
 
210
  ![Authorship is a power law](images/author_pareto.png)
211
 
212
+ **Takeaway.** Counting every credited author (not just whoever posted the page), contribution is steeply unequal: the most prolific 2% hold 30% of all author credits, while 1,830 authors have a single credit. A small core sustains the wiki.
213
 
214
  ### Does length buy quality? No
215
 
 
233
 
234
  ![Prolific vs. acclaimed authors](images/prolific_vs_acclaimed.png)
235
 
236
+ **Takeaway.** Counting every credited author (co-authors included), output and acclaim remain different games: the most prolific cluster at modest average ratings, while the highest-rated are comparatively selective — bubble size (total score) shows a few writers manage both volume and quality.
237
+
238
+ ### Co-authorship over time
239
+
240
+ ![Co-authorship over time](images/coauthorship_over_time.png)
241
+
242
+ **Takeaway.** Co-authorship has climbed from near zero to about 10% of pages in recent years — modern SCP is increasingly a team effort (2026 is a partial year). Early collaboration is undercounted: the attribution metadata recording co-authors is a later convention.
243
+
244
+ ### Bigger teams, higher ratings
245
+
246
+ ![Bigger teams, higher ratings](images/rating_by_team.png)
247
+
248
+ **Takeaway.** Median rating rises with team size — from 68 for solo pages to 103 for the largest teams. Collaboration correlates with a warmer reception, though the most ambitious projects also tend to attract co-authors.
249
 
250
  ### How themes cluster
251
 
 
253
 
254
  **Takeaway.** Themes form clear clusters. The strongest pairing is 'sapient' + 'humanoid': entity descriptors (humanoid / sapient / alive) co-occur tightly, forming a 'monster' cluster distinct from the genre tags.
255
 
256
+ ### How authors collaborate
257
+
258
+ ![How authors collaborate](images/collaboration_network.png)
259
+
260
+ **Takeaway.** Co-authorship forms tight clusters around a few hubs — Ralliston is the most connected. Node size is total pages, edge weight is shared pages; the modern wiki is a densely woven collaborative network, not a crowd of soloists.
261
+
262
  ### Per-year summary
263
 
264
  | Year | Pages | SCPs | Tales | Authors | Avg rating | Top-rated page |
 
281
  | 2023 | 1,325 | 672 | 496 | 383 | 62 | SCP-7819 |
282
  | 2024 | 1,289 | 629 | 485 | 407 | 62 | SCP-8980 |
283
  | 2025 | 1,785 | 934 | 630 | 563 | 50 | SCP-9000 |
284
+ | 2026 | 892 | 556 | 207 | 375 | 36 | National Fog Safety Initiative |
285
 
286
  **Takeaway.** Output and contributor counts climb together — more authors, more pages — while average rating declines with each younger cohort (an age effect, not a quality one).
287
 
 
289
 
290
  | # | Title | Rating | Votes | Comments | Author | Year |
291
  | --- | --- | --- | --- | --- | --- | --- |
292
+ | 1 | SCP-173 | 10,758 | 11,854 | 2,039 | Lt Masipag | 2008 |
293
+ | 2 | ●●\|●●●●●\|●●\|● | 7,150 | 7,316 | 613 | LurkD | 2015 |
294
  | 3 | SCP-049 | 5,547 | 6,035 | 700 | Gabriel Jade | 2009 |
295
+ | 4 | SCP-____-J | 5,247 | 5,717 | 742 | Communism will win | 2012 |
296
  | 5 | SCP-096 | 4,792 | 5,006 | 566 | Dr Dan | 2010 |
297
  | 6 | SCP-055 | 4,655 | 4,753 | 502 | xthevilecorruptor | 2008 |
298
  | 7 | SCP-682 | 4,210 | 5,056 | 1,057 | Dr Gears | 2008 |
 
307
 
308
  **Takeaway.** The canon is front-loaded with early classics — SCP-173, SCP-049, SCP-682 — that have compounded votes for over a decade, alongside a few modern breakouts like SCP-5000.
309
 
310
+ ### Top 15 authors (all credited authors)
311
+
312
+ | # | Author | Pages | Avg rating | Total rating | Co-authored | Best-rated work |
313
+ | --- | --- | --- | --- | --- | --- | --- |
314
+ | 1 | Uncle Nicolini | 341 | 109 | 37,235 | 35% | SCP-5555 |
315
+ | 2 | HarryBlank | 251 | 148 | 37,031 | 23% | SCP-7000 |
316
+ | 3 | RJB_R | 200 | 112 | 22,450 | 0% | SCP-1833 |
317
+ | 4 | Ralliston | 182 | 93 | 16,858 | 45% | SCP-6747 |
318
+ | 5 | Tanhony | 160 | 260 | 41,537 | 4% | SCP-5000 |
319
+ | 6 | djkaktus | 152 | 445 | 67,646 | 13% | SCP-1730 |
320
+ | 7 | Doctor Cimmerian | 145 | 165 | 23,876 | 19% | Cimmerian-Kaktus Proposal |
321
+ | 8 | Communism will win | 140 | 222 | 31,053 | 1% | SCP-____-J |
322
+ | 9 | Dr Gears | 138 | 336 | 46,412 | 8% | SCP-682 |
323
+ | 10 | Rounderhouse | 135 | 235 | 31,732 | 22% | SCP-6000 |
324
+ | 11 | DrClef | 132 | 323 | 42,659 | 11% | SCP-2317 |
325
+ | 12 | daveyoufool | 130 | 212 | 27,508 | 3% | SCP-TTKU-J (which is a thing that kills you) |
326
+ | 13 | DarkStuff | 128 | 103 | 13,120 | 21% | SCP-6500 |
327
+ | 14 | A Random Day | 119 | 165 | 19,631 | 13% | SCP-3000 |
328
+ | 15 | Zyn | 115 | 146 | 16,759 | 35% | SCP-348 |
329
+
330
+ **Takeaway.** Crediting every author (co-authors, and people who never posted their own work) reshuffles the leaderboard versus a naive by-poster count and the co-authored share shows how collaboratively each writer works.
331
+
332
+ ### Top co-author duos
333
+
334
+ | # | Author A | Author B | Shared pages | Avg rating |
335
+ | --- | --- | --- | --- | --- |
336
+ | 1 | HarryBlank | Placeholder McD | 25 | 180 |
337
+ | 2 | Jasiu06 | Ralliston | 22 | 75 |
338
+ | 3 | Ralliston | Trotskyeet | 16 | 127 |
339
+ | 4 | Ben Counter | Pacific Obadiah | 13 | 36 |
340
+ | 5 | J Dune | PlaguePJP | 13 | 312 |
341
+ | 6 | Grigori Karpin | HarryBlank | 13 | 234 |
342
+ | 7 | DrAkimoto | MalyceGraves | 12 | 65 |
343
+ | 8 | LORDXVNV | Ralliston | 11 | 171 |
344
+ | 9 | DarkStuff | Uncle Nicolini | 10 | 116 |
345
+ | 10 | JakdragonX | Ralliston | 10 | 117 |
346
+ | 11 | AnAnomalousWriter | Ecronak | 9 | 273 |
347
+ | 12 | Liryn | Placeholder McD | 9 | 525 |
348
+
349
+ **Takeaway.** The wiki's tightest writing partnerships — recurring duos that have co-authored many pages together, several rating well above the site median.
350
+
351
+ ### Most collaborative authors
352
+
353
+ | # | Author | Distinct co-authors | Co-authored pages |
354
+ | --- | --- | --- | --- |
355
+ | 1 | syuzhet | 317 | 25 |
356
+ | 2 | Elenee FishTruck | 232 | 15 |
357
+ | 3 | Uncle Nicolini | 133 | 119 |
358
+ | 4 | Ralliston | 103 | 81 |
359
+ | 5 | Lt Flops | 95 | 38 |
360
+ | 6 | LORDXVNV | 82 | 28 |
361
+ | 7 | Dino--Draws | 78 | 22 |
362
+ | 8 | Rhineriver | 73 | 4 |
363
+ | 9 | stormbreath | 72 | 16 |
364
+ | 10 | PeppersGhost | 70 | 12 |
365
+ | 11 | kura_art | 70 | 2 |
366
+ | 12 | Pedagon | 70 | 16 |
367
+ | 13 | Prismal | 64 | 21 |
368
+ | 14 | Elenee Fishtruck | 62 | 3 |
369
+ | 15 | HarryBlank | 62 | 57 |
370
+
371
+ **Takeaway.** The community's connectors — authors who have written with the widest circle of collaborators, knitting otherwise separate clusters together.
372
+
373
+ ### Top rewriters
374
+
375
+ | # | Rewriter | Pages rewritten | Avg rating |
376
+ | --- | --- | --- | --- |
377
+ | 1 | Voct | 30 | 303 |
378
+ | 2 | Uncle Nicolini | 13 | 94 |
379
+ | 3 | Communism will win | 10 | 329 |
380
+ | 4 | thedeadlymoose | 6 | 661 |
381
+ | 5 | Queerious | 5 | 58 |
382
+ | 6 | Drewbear | 5 | 309 |
383
+ | 7 | DrClef | 5 | 1085 |
384
+ | 8 | Quikngruvn | 5 | 275 |
385
+ | 9 | SimpleCadence | 5 | 261 |
386
+ | 10 | JakdragonX | 5 | 133 |
387
+ | 11 | Aelanna | 5 | 236 |
388
+ | 12 | Tstaffor | 4 | 263 |
389
+
390
+ **Takeaway.** The canon's caretakers: a small group does most of the rewriting that keeps the early, heavily-trafficked articles current.