ppuzio Claude Opus 5.5 commited on
Commit
3393e05
·
1 Parent(s): 3bab9f9

wikipedia: rebuild from the official plwiki dump, label 3.0/4.0 per page

Browse files

Replaces the SpeakLeash plwiki snapshot with plwiki-20260901-pages-articles
(7 shards, sha1 checked against dumpstatus.json and sha1sums.txt), parsed by
src/fetch_wikipedia.py: namespace 0, no redirects, pages carrying {{NPA}}
({{Copyvio}}, {{Plagiat}}) dropped. Each row is labelled by its page's last
revision: before 2023-06-07 00:00 UTC CC-BY-SA-3.0, on or after CC-BY-SA-4.0
(license_for_revision, tested at the cutoff, across time zones, and on a
missing timestamp). Adds an attribution sidecar, build record, licence
evidence and an 80-page hand-checked copyright sample.

v0.2.5 -> rebuild: 1,171,897 -> 1,468,656 documents, 1,844,707,761 ->
3,140,841,847 characters, 707,194,207 -> 1,226,913,508 tokens.
Labels: CC-BY-SA-3.0 190,837, CC-BY-SA-4.0 1,277,819.

Refs slayerlabs/polish-dynaword-v2#69

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

artifacts/source_findings.md CHANGED
@@ -1480,3 +1480,60 @@ unresolved, so the release keeps 887 texts and drops 18 in copyright and 95 unre
1480
  `src/clean_1000_novels.py` pins the screen CSV by SHA-256
1481
  (`7fefc75f8fcbd07e5ec98842276765ffef9520b6acb4e24b4751c67cc3d2081c`, also in
1482
  `1000_novels.license-evidence.json`).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1480
  `src/clean_1000_novels.py` pins the screen CSV by SHA-256
1481
  (`7fefc75f8fcbd07e5ec98842276765ffef9520b6acb4e24b4751c67cc3d2081c`, also in
1482
  `1000_novels.license-evidence.json`).
1483
+
1484
+ ## wikipedia — Polish Wikipedia (rebuild from the official dump)
1485
+
1486
+ **Investigated** — 2026-10-05 (October 2026 rights audit, `artifacts/rights_audit_2026-10/reports/wikis_ugc.md`
1487
+ L44-46, `reports/citations.md` L17, `reports/citations/wikimedia.md` section 5;
1488
+ slayerlabs/polish-dynaword-v2#69).
1489
+
1490
+ **Verdict** — `added`, rebuilt for v0.2.6 from the official Wikimedia dump; the SpeakLeash
1491
+ `plwiki` intermediary is removed. 1,468,656 documents / 3,140,841,847 characters /
1492
+ 1,226,913,508 tokens (v0.2.5: 1,171,897 / 1,844,707,761 / 707,194,207). Labels per record by
1493
+ the page's last revision: `CC-BY-SA-3.0` 190,837 documents (6.6% of tokens), `CC-BY-SA-4.0`
1494
+ 1,277,819 (93.4%); v0.2.5 labelled every row 3.0. Row ids are now `wikipedia_<page id>`
1495
+ ("Bitwa pod Grunwaldem": `wikipedia_25295` in v0.2.5, `wikipedia_716` now).
1496
+
1497
+ **Enumeration** — `plwiki-20260901-pages-articles`, 7 shards, each sha1 matched to the
1498
+ dump's `dumpstatus.json` and `sha1sums.txt`, parsed by `src/fetch_wikipedia.py`: 2,877,278
1499
+ pages → 2,304,425 in namespace 0 → 598,071 redirects and 35 pages with `{{NPA}}`
1500
+ (`{{Copyvio}}`, `{{Plagiat}}`) skipped → 1,706,319 converted → 382 exact duplicates →
1501
+ 231,717 under 200 characters and 5,564 non-Polish dropped by `build_dynaword.py` →
1502
+ 1,468,656. One sidecar line per row (`wikipedia.attribution.jsonl`: page id, revid, title,
1503
+ URL, last-revision time, licence).
1504
+
1505
+ **License evidence** — verified, read 2026-10-05: Terms of Use oldid 554823 (CC BY-SA 4.0
1506
+ and GFDL, in effect June 7, 2023; sha256 `c96ef93b…`), oldid 98524 (CC BY-SA 3.0, June 16,
1507
+ 2014), the 3.0 and 4.0 legal code, pl.wikipedia `rightsinfo` (BY-SA 4.0). Inferred: a page
1508
+ edited after the switch may carry its earlier 3.0 text under 4.0 (3.0 §4(b)(ii)). The
1509
+ cutoff is 2023-06-07 00:00 UTC, not the audit's "06-08 if time of day unknown": 06-08 would
1510
+ put that day's 4.0 edits under 3.0, which 4.0 §3(b)(1) does not allow; midnight may put
1511
+ 3.0 text under 4.0 for some of the 184 pages last edited that day. The footer switch date
1512
+ was not checked. Evidence in `data/wikipedia/wikipedia.license-evidence.json`.
1513
+
1514
+ **Copyright pastes** — the 31 notice pages unchanged since the dump were re-read: all carry
1515
+ the notice; 4 edited since were not re-read. Web sample of 40 released pages per label
1516
+ (seed 20261006, Earwig's Copyvio Detector, every hit from confidence 0.10 read by hand):
1517
+ 1 of 40 per label copied or closely paraphrased from a copyrighted source
1518
+ (`wikipedia_833396` "Obnażyć prawdę", Filmweb's official description; `wikipedia_1126780`
1519
+ "Czarnka", the Drawieński Park Narodowy lake text archived 2012), 6 later copies of
1520
+ Wikipedia, 2 shared titles or stock phrases, 70 below the threshold. 95% Wilson upper
1521
+ bound 12.9% per label. Both pages are kept in this release; dropping them is an open
1522
+ decision. Per page in `data/wikipedia/wikipedia.copyvio-sample.jsonl`.
1523
+
1524
+ **Dedup checks** — reported, not fixed. Exact-text overlap (SHA-256 of raw text) with NKJP1M
1525
+ (main and v0.2.5) and HPLT v0.2.5 is 0 documents (v0.2.5: NKJP1M–Wikipedia 1, HPLT–Wikipedia
1526
+ 6). Near duplicates not measured. The `overlap_audit.json` files of `plwiki_talk` and others
1527
+ compare literal ids against the old `data/wikipedia` (revision `fe44303`, 1,171,897 rows) and
1528
+ are stale after the id change.
1529
+
1530
+ **Blockers** — none to merge. Open: the two pasted pages; the time of day of the 4.0 switch;
1531
+ GFDL-era text; `{{ek}}` pages kept; appendix headings left in 56.4% of documents (2.96% of
1532
+ characters from the first such heading on) and whitespace-only lines in 11.9%; NERGAL pass
1533
+ before release.
1534
+
1535
+ **Lesson** — (1) Earwig rated a close paraphrase "none" (0.30): hand-check below its
1536
+ "possible" threshold. (2) Earwig's best hit is usually a later copy of Wikipedia; the real
1537
+ source came from the article's own citation and history ("Czarnka": a 2025 forum hit, the
1538
+ park's 2012 text behind it). (3) The Terms of Use give the day of the licence switch, not
1539
+ the time, so a last-revision label is inexact for one day of edits.
data/wikipedia/wikipedia.attribution.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09470d9e87b26cb1b2a677c50004c0b6b0b9c0877eec116b227fcd47dca3ada1
3
+ size 344192463
data/wikipedia/wikipedia.build.json ADDED
@@ -0,0 +1,603 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attribution_rows": 1468656,
3
+ "attribution_sha256": "09470d9e87b26cb1b2a677c50004c0b6b0b9c0877eec116b227fcd47dca3ada1",
4
+ "by_sa_4_cutoff": "2023-06-07T00:00:00+00:00",
5
+ "copyvio_tagged": [
6
+ {
7
+ "pageid": "3581",
8
+ "title": "Miód"
9
+ },
10
+ {
11
+ "pageid": "112887",
12
+ "title": "Powiat głogowski"
13
+ },
14
+ {
15
+ "pageid": "116438",
16
+ "title": "Koło Wiedeńskie"
17
+ },
18
+ {
19
+ "pageid": "118678",
20
+ "title": "Powiat średzki (województwo dolnośląskie)"
21
+ },
22
+ {
23
+ "pageid": "147239",
24
+ "title": "II Liceum Ogólnokształcące im. Władysława Reymonta w Ostrowie Wielkopolskim"
25
+ },
26
+ {
27
+ "pageid": "301776",
28
+ "title": "AZS-AWF Katowice"
29
+ },
30
+ {
31
+ "pageid": "465101",
32
+ "title": "Bielizna (zespół muzyczny)"
33
+ },
34
+ {
35
+ "pageid": "478153",
36
+ "title": "Hosz"
37
+ },
38
+ {
39
+ "pageid": "511275",
40
+ "title": "Franz Platko"
41
+ },
42
+ {
43
+ "pageid": "660354",
44
+ "title": "Okęcie Warszawa (piłka nożna)"
45
+ },
46
+ {
47
+ "pageid": "752758",
48
+ "title": "II Liceum Ogólnokształcące im. św. Królowej Jadwigi w Siedlcach"
49
+ },
50
+ {
51
+ "pageid": "949513",
52
+ "title": "Sławomira Walczewska"
53
+ },
54
+ {
55
+ "pageid": "1103637",
56
+ "title": "Żydowskie Stowarzyszenie Czulent"
57
+ },
58
+ {
59
+ "pageid": "1128573",
60
+ "title": "Polski Chór Kameralny"
61
+ },
62
+ {
63
+ "pageid": "1436949",
64
+ "title": "Ivana Brlić-Mažuranić"
65
+ },
66
+ {
67
+ "pageid": "1546659",
68
+ "title": "Tia Dalma"
69
+ },
70
+ {
71
+ "pageid": "1821283",
72
+ "title": "Prawa logiczne"
73
+ },
74
+ {
75
+ "pageid": "2020583",
76
+ "title": "Miejska Biblioteka Publiczna w Dąbrowie Górniczej"
77
+ },
78
+ {
79
+ "pageid": "2617660",
80
+ "title": "Urszula Plewka-Schmidt"
81
+ },
82
+ {
83
+ "pageid": "2630750",
84
+ "title": "Instytut Bezpieczeństwa Wewnętrznego Państwowej Wyższej Szkoły Zawodowej w Nysie"
85
+ },
86
+ {
87
+ "pageid": "2905811",
88
+ "title": "Bogdan Mirowski"
89
+ },
90
+ {
91
+ "pageid": "3180470",
92
+ "title": "Austin Gipsy"
93
+ },
94
+ {
95
+ "pageid": "3180517",
96
+ "title": "Mini Moke"
97
+ },
98
+ {
99
+ "pageid": "3314522",
100
+ "title": "Dwór w Orłowcu"
101
+ },
102
+ {
103
+ "pageid": "3345346",
104
+ "title": "Aktywność twórcza dzieci"
105
+ },
106
+ {
107
+ "pageid": "3610420",
108
+ "title": "Parafia Najświętszej Maryi Panny Królowej Polski w Stawie Lubelskim"
109
+ },
110
+ {
111
+ "pageid": "4235898",
112
+ "title": "Szary Dom w Warszawie"
113
+ },
114
+ {
115
+ "pageid": "4828412",
116
+ "title": "Burray"
117
+ },
118
+ {
119
+ "pageid": "4845270",
120
+ "title": "Paulina Poczęta"
121
+ },
122
+ {
123
+ "pageid": "4855709",
124
+ "title": "Eday"
125
+ },
126
+ {
127
+ "pageid": "5000973",
128
+ "title": "Narzeczona z Koryntu"
129
+ },
130
+ {
131
+ "pageid": "5454145",
132
+ "title": "Kościół Wniebowzięcia Najświętszej Maryi Panny w Opactwie"
133
+ },
134
+ {
135
+ "pageid": "5471202",
136
+ "title": "Mozaika z centaurami"
137
+ },
138
+ {
139
+ "pageid": "5505550",
140
+ "title": "Sylwia Góra"
141
+ },
142
+ {
143
+ "pageid": "5763234",
144
+ "title": "Leontzi Honauer"
145
+ }
146
+ ],
147
+ "discovered_at": "2026-10-05T22:27:57.741359+00:00",
148
+ "dump_base": "https://dumps.wikimedia.org/plwiki/20260901",
149
+ "dump_date": "20260901",
150
+ "extract": {
151
+ "extracted": 1706319,
152
+ "ns0": 2304425,
153
+ "ns0_copyvio_tag": 35,
154
+ "ns0_redirect": 598071,
155
+ "pages": 2877278
156
+ },
157
+ "files": [
158
+ {
159
+ "name": "plwiki-20260901-pages-articles1.xml-p1p187037.bz2",
160
+ "sha1": "611397f275a41cc4d0524006e283520c2f3fd7e2",
161
+ "size": 228666199,
162
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles1.xml-p1p187037.bz2"
163
+ },
164
+ {
165
+ "name": "plwiki-20260901-pages-articles2.xml-p187038p564779.bz2",
166
+ "sha1": "6d76363103e7083c7812cf3bc6071292203d2eec",
167
+ "size": 218169610,
168
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles2.xml-p187038p564779.bz2"
169
+ },
170
+ {
171
+ "name": "plwiki-20260901-pages-articles3.xml-p564780p1199518.bz2",
172
+ "sha1": "b6f705bd96b036eeb9b410261cc03befa23bdbc0",
173
+ "size": 299427661,
174
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles3.xml-p564780p1199518.bz2"
175
+ },
176
+ {
177
+ "name": "plwiki-20260901-pages-articles4.xml-p1199519p2047892.bz2",
178
+ "sha1": "772051399e6266f9956b8c4fa045138fc2e3f83f",
179
+ "size": 397804765,
180
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles4.xml-p1199519p2047892.bz2"
181
+ },
182
+ {
183
+ "name": "plwiki-20260901-pages-articles5.xml-p2047893p3462393.bz2",
184
+ "sha1": "567c3d2ac5eb361b5e78e2d180eb6f99e9775179",
185
+ "size": 581720605,
186
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles5.xml-p2047893p3462393.bz2"
187
+ },
188
+ {
189
+ "name": "plwiki-20260901-pages-articles6.xml-p3462394p4962393.bz2",
190
+ "sha1": "73181e6545523c1bdeb07f6cb06149cfa27ca96f",
191
+ "size": 522376624,
192
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles6.xml-p3462394p4962393.bz2"
193
+ },
194
+ {
195
+ "name": "plwiki-20260901-pages-articles6.xml-p4962394p6142332.bz2",
196
+ "sha1": "3d2b4886e923bb71f368e5357bb94b93b8fd234d",
197
+ "size": 479329987,
198
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-pages-articles6.xml-p4962394p6142332.bz2"
199
+ }
200
+ ],
201
+ "prepare": {
202
+ "counts": {
203
+ "CC-BY-SA-3.0": 284076,
204
+ "CC-BY-SA-4.0": 1421861,
205
+ "exact_duplicate": 382,
206
+ "extracted": 1706319
207
+ },
208
+ "exact_duplicate_pageids": [
209
+ "28456",
210
+ "28459",
211
+ "36213",
212
+ "36486",
213
+ "36488",
214
+ "36671",
215
+ "36693",
216
+ "36784",
217
+ "38243",
218
+ "38266",
219
+ "38272",
220
+ "38278",
221
+ "38282",
222
+ "38310",
223
+ "38311",
224
+ "38414",
225
+ "38448",
226
+ "38461",
227
+ "38500",
228
+ "38712",
229
+ "38719",
230
+ "38722",
231
+ "38724",
232
+ "38820",
233
+ "38843",
234
+ "38865",
235
+ "38873",
236
+ "38909",
237
+ "38913",
238
+ "38915",
239
+ "38917",
240
+ "291881",
241
+ "329710",
242
+ "589281",
243
+ "851553",
244
+ "905494",
245
+ "984810",
246
+ "1088223",
247
+ "1205536",
248
+ "1238816",
249
+ "1355709",
250
+ "1664249",
251
+ "1961799",
252
+ "2011478",
253
+ "2028303",
254
+ "2037362",
255
+ "2037386",
256
+ "2121112",
257
+ "2122001",
258
+ "2122104",
259
+ "2122140",
260
+ "2144430",
261
+ "2148165",
262
+ "2148171",
263
+ "2148177",
264
+ "2148190",
265
+ "2148198",
266
+ "2151206",
267
+ "2151302",
268
+ "2151311",
269
+ "2151316",
270
+ "2151344",
271
+ "2165950",
272
+ "2165956",
273
+ "2165967",
274
+ "2165972",
275
+ "2180164",
276
+ "2180168",
277
+ "2321713",
278
+ "2322432",
279
+ "2322449",
280
+ "2359571",
281
+ "2369789",
282
+ "2369798",
283
+ "2369804",
284
+ "2374403",
285
+ "2377375",
286
+ "2377383",
287
+ "2449127",
288
+ "2476761",
289
+ "2477184",
290
+ "2477187",
291
+ "2477201",
292
+ "2477208",
293
+ "2477212",
294
+ "2509904",
295
+ "2651904",
296
+ "2652555",
297
+ "2923853",
298
+ "3019305",
299
+ "3077193",
300
+ "3085905",
301
+ "3086146",
302
+ "3086229",
303
+ "3086279",
304
+ "3103274",
305
+ "3105578",
306
+ "3105595",
307
+ "3292284",
308
+ "3296432",
309
+ "3301248",
310
+ "3304115",
311
+ "3310254",
312
+ "3314206",
313
+ "3321499",
314
+ "3323123",
315
+ "3332605",
316
+ "3338874",
317
+ "3340991",
318
+ "3340997",
319
+ "3341724",
320
+ "3342825",
321
+ "3351758",
322
+ "3365995",
323
+ "3375980",
324
+ "3384332",
325
+ "3385995",
326
+ "3452042",
327
+ "3452051",
328
+ "3452057",
329
+ "3452061",
330
+ "3452063",
331
+ "3452066",
332
+ "3452068",
333
+ "3452069",
334
+ "3452077",
335
+ "3452078",
336
+ "3452081",
337
+ "3453035",
338
+ "3453037",
339
+ "3453040",
340
+ "3453171",
341
+ "3453175",
342
+ "3453670",
343
+ "3453678",
344
+ "3453680",
345
+ "3453681",
346
+ "3453684",
347
+ "3453687",
348
+ "3453688",
349
+ "3453689",
350
+ "3453693",
351
+ "3453696",
352
+ "3453703",
353
+ "3453744",
354
+ "3453748",
355
+ "3453749",
356
+ "3453753",
357
+ "3453756",
358
+ "3453764",
359
+ "3453769",
360
+ "3454214",
361
+ "3454394",
362
+ "3454398",
363
+ "3454403",
364
+ "3454409",
365
+ "3454414",
366
+ "3454425",
367
+ "3454429",
368
+ "3454432",
369
+ "3454434",
370
+ "3454437",
371
+ "3455451",
372
+ "3455452",
373
+ "3455456",
374
+ "3455458",
375
+ "3456013",
376
+ "3456015",
377
+ "3456016",
378
+ "3456019",
379
+ "3456021",
380
+ "3456025",
381
+ "3456026",
382
+ "3456029",
383
+ "3456030",
384
+ "3456033",
385
+ "3456391",
386
+ "3466830",
387
+ "3475009",
388
+ "3475067",
389
+ "3475070",
390
+ "3475075",
391
+ "3475077",
392
+ "3475083",
393
+ "3475091",
394
+ "3475106",
395
+ "3475114",
396
+ "3475117",
397
+ "3475120",
398
+ "3477793",
399
+ "3482168",
400
+ "3487257",
401
+ "3487275",
402
+ "3543712",
403
+ "3650172",
404
+ "3650175",
405
+ "3650176",
406
+ "3650177",
407
+ "3650194",
408
+ "3650195",
409
+ "3650196",
410
+ "3650197",
411
+ "3650198",
412
+ "3650204",
413
+ "3650205",
414
+ "3650210",
415
+ "3650227",
416
+ "3650230",
417
+ "3650231",
418
+ "3650236",
419
+ "3650241",
420
+ "3650274",
421
+ "3650276",
422
+ "3650284",
423
+ "3650298",
424
+ "3650304",
425
+ "3650306",
426
+ "3650315",
427
+ "3650317",
428
+ "3701823",
429
+ "3701828",
430
+ "3702349",
431
+ "3753745",
432
+ "3834508",
433
+ "3941528",
434
+ "3988329",
435
+ "3988339",
436
+ "3988345",
437
+ "3988447",
438
+ "3988632",
439
+ "3988636",
440
+ "3988648",
441
+ "3989410",
442
+ "3989412",
443
+ "3990430",
444
+ "3990478",
445
+ "3992956",
446
+ "3993359",
447
+ "3993374",
448
+ "3995688",
449
+ "3995969",
450
+ "4039403",
451
+ "4052677",
452
+ "4052680",
453
+ "4061808",
454
+ "4116673",
455
+ "4138198",
456
+ "4141516",
457
+ "4142303",
458
+ "4143280",
459
+ "4145810",
460
+ "4146419",
461
+ "4147781",
462
+ "4147803",
463
+ "4154383",
464
+ "4162494",
465
+ "4164015",
466
+ "4167353",
467
+ "4168220",
468
+ "4190594",
469
+ "4197867",
470
+ "4199257",
471
+ "4213090",
472
+ "4213808",
473
+ "4213936",
474
+ "4214964",
475
+ "4214979",
476
+ "4242387",
477
+ "4265153",
478
+ "4265155",
479
+ "4265184",
480
+ "4265242",
481
+ "4267663",
482
+ "4274433",
483
+ "4292577",
484
+ "4307174",
485
+ "4319266",
486
+ "4330107",
487
+ "4365585",
488
+ "4370460",
489
+ "4371659",
490
+ "4380212",
491
+ "4387263",
492
+ "4393392",
493
+ "4397867",
494
+ "4412081",
495
+ "4417859",
496
+ "4420624",
497
+ "4422343",
498
+ "4424420",
499
+ "4426710",
500
+ "4428345",
501
+ "4429574",
502
+ "4431038",
503
+ "4434344",
504
+ "4439525",
505
+ "4439536",
506
+ "4441068",
507
+ "4443767",
508
+ "4444633",
509
+ "4460349",
510
+ "4463957",
511
+ "4463965",
512
+ "4464694",
513
+ "4464697",
514
+ "4464776",
515
+ "4466063",
516
+ "4474237",
517
+ "4476623",
518
+ "4478186",
519
+ "4478581",
520
+ "4485808",
521
+ "4503262",
522
+ "4503953",
523
+ "4504402",
524
+ "4513037",
525
+ "4514946",
526
+ "4543369",
527
+ "4555538",
528
+ "4573282",
529
+ "4579461",
530
+ "4579557",
531
+ "4596339",
532
+ "4605577",
533
+ "4627025",
534
+ "4694165",
535
+ "4718047",
536
+ "4818537",
537
+ "4929992",
538
+ "4934965",
539
+ "5056599",
540
+ "5177878",
541
+ "5179153",
542
+ "5427082",
543
+ "5462778",
544
+ "5462783",
545
+ "5607353",
546
+ "5650419",
547
+ "5671901",
548
+ "5805794",
549
+ "6025742",
550
+ "6048845",
551
+ "6055810",
552
+ "6063333",
553
+ "6063339",
554
+ "6063351",
555
+ "6063354",
556
+ "6063359",
557
+ "6063361",
558
+ "6063364",
559
+ "6063374",
560
+ "6063386",
561
+ "6063393",
562
+ "6063397",
563
+ "6063403",
564
+ "6063415",
565
+ "6063417",
566
+ "6063432",
567
+ "6063437",
568
+ "6063442",
569
+ "6063769",
570
+ "6063781",
571
+ "6101355",
572
+ "6101367",
573
+ "6101383",
574
+ "6101512",
575
+ "6102085",
576
+ "6102770",
577
+ "6102776",
578
+ "6102973",
579
+ "6103183",
580
+ "6103600",
581
+ "6104124",
582
+ "6105519",
583
+ "6105545",
584
+ "6105548",
585
+ "6105551",
586
+ "6105554",
587
+ "6105556",
588
+ "6105559",
589
+ "6115526",
590
+ "6136999"
591
+ ]
592
+ },
593
+ "rightsinfo": {
594
+ "text": "Creative Commons Attribution-Share Alike 4.0",
595
+ "url": "https://creativecommons.org/licenses/by-sa/4.0/deed.pl"
596
+ },
597
+ "sha1sums_url": "https://dumps.wikimedia.org/plwiki/20260901/plwiki-20260901-sha1sums.txt",
598
+ "terms_of_use": {
599
+ "effective": "These Terms of Use went into effect on June 7, 2023",
600
+ "sha256": "c96ef93b439ff9b8242dc3233f41ede57c0984ef9153fafa51aa5f8cf0678832",
601
+ "url": "https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=554823&action=raw"
602
+ }
603
+ }
data/wikipedia/wikipedia.copyvio-sample.jsonl ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"n": 1, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3257607", "pageid": 3257607, "revid": 67757567, "title": "Dębiczka", "checked_at": "2026-10-05T23:06:02Z", "earwig_best": {"url": "http://archive.is/20140915181327/http://lubuskie.atlaskolejowy.pl/?id=baza&poz=71", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://archive.is/20140915181327/http://lubuskie.atlaskolejowy.pl/?id=baza&poz=71", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Chotk%C3%B3w_Wie%C5%9B", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Siecieborzyce_(przystanek_kolejowy)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Kartowice_Szprotawskie", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
2
+ {"n": 2, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_634943", "pageid": 634943, "revid": 69585907, "title": "Mühlingen", "checked_at": "2026-10-05T23:06:13Z", "earwig_best": {"url": "http://www.muehlingen.de", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.muehlingen.de", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Aach_(Badenia-Wirtembergia)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Stei%C3%9Flingen", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Gaienhofen", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Orsingen-Nenzingen", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
3
+ {"n": 3, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_5039268", "pageid": 5039268, "revid": 67766191, "title": "Mistrzostwa Świata w Narciarstwie Dowolnym i Snowboardingu 2021 – skoki akrobatyczne kobiet", "checked_at": "2026-10-05T23:06:27Z", "earwig_best": {"url": "https://www.fis-ski.com/en/freestyle-freeski/moguls-aerials/news-multimedia/news-multimedia/news/fis-freestyle-ski-world-championships-about-to-kick-off-in-almaty", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.fis-ski.com/en/freestyle-freeski/moguls-aerials/news-multimedia/news-multimedia/news/fis-freestyle-ski-world-championships-about-to-kick-off-in-almaty", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://medias4.fis-ski.com/pdf/2021/FS/8048/2021FS8048RLQ.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://medias2.fis-ski.com/pdf/2021/FS/8052/2021FS8052RLF1.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://medias2.fis-ski.com/pdf/2021/FS/8052/2021FS8052RLF.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
4
+ {"n": 4, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1931812", "pageid": 1931812, "revid": 67214216, "title": "Heute – in Europa", "checked_at": "2026-10-05T23:06:36Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Heute_%E2%80%93_in_Europa", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Heute_%E2%80%93_in_Europa", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
5
+ {"n": 5, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1942875", "pageid": 1942875, "revid": 65044332, "title": "Platylophus", "checked_at": "2026-10-05T23:06:44Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
6
+ {"n": 6, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3377531", "pageid": 3377531, "revid": 68244600, "title": "Pěčín (przystanek kolejowy)", "checked_at": "2026-10-05T23:06:54Z", "earwig_best": {"url": "http://www.zelpage.cz/odjezdy-2015/pecin.html", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.zelpage.cz/odjezdy-2015/pecin.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.zelpage.cz/stanice/pecin.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.cd.cz/cd-online/staniceinfo.php?nazev=54150", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Jablonn%C3%A9_nad_Orlic%C3%AD_(stacja_kolejowa)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Kr%C3%A1l%C3%ADky_(stacja_kolejowa)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
7
+ {"n": 7, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1456412", "pageid": 1456412, "revid": 44996373, "title": "Szwajcaria na Letnich Igrzyskach Olimpijskich 1896", "checked_at": "2026-10-05T23:07:08Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
8
+ {"n": 8, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3856868", "pageid": 3856868, "revid": 69294401, "title": "Vasastaden", "checked_at": "2026-10-05T23:07:17Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Vasastaden", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Vasastaden", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://www.rome2rio.com/pl/s/Sztokholm/Tranholmen", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
9
+ {"n": 9, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1669621", "pageid": 1669621, "revid": 48223310, "title": "Prefektura Galii", "checked_at": "2026-10-05T23:07:30Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Prefektura_Galii", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Prefektura_Galii", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
10
+ {"n": 10, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3523793", "pageid": 3523793, "revid": 65096375, "title": "Lembach im Mühlkreis", "checked_at": "2026-10-05T23:07:38Z", "earwig_best": {"url": "http://www.gemeinde-lembach.at", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.gemeinde-lembach.at", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.statistik.at/web_de/statistiken/index.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Lembach_im_M%C3%BChlkreis", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
11
+ {"n": 11, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_4574632", "pageid": 4574632, "revid": 58413040, "title": "Jesionek", "checked_at": "2026-10-05T23:07:44Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
12
+ {"n": 12, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3534220", "pageid": 3534220, "revid": 62095676, "title": "Henrich Petrosjan", "checked_at": "2026-10-05T23:07:58Z", "earwig_best": {"url": "http://vse-grani.com/viewtopic.php?f=28&t=2389&start=70", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://vse-grani.com/viewtopic.php?f=28&t=2389&start=70", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.reddit.com/r/Medals/comments/1i7tb51/world_champion_swimmer_shavarsh_karapetyan_who/?tl=pl", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Arme%C5%84ska_Socjalistyczna_Republika_Radziecka", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikibooks.org/wiki/Szablon:Pa%C5%84stwo_dane_Armenia", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Hymn_Arme%C5%84skiej_SRR", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
13
+ {"n": 13, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_5357024", "pageid": 5357024, "revid": 70285694, "title": "Mikul-Haradok", "checked_at": "2026-10-05T23:08:12Z", "earwig_best": {"url": "https://kresy24.pl/bialoruska-wies-powalczy-o-tytul-najlepszej-na-swiecie/", "confidence": 0.06252035698133393, "violation": "none"}, "earwig_sources": [{"url": "https://kresy24.pl/bialoruska-wies-powalczy-o-tytul-najlepszej-na-swiecie/", "confidence": 0.06252035698133393, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.radzima.org/pl/town/mscislaw.html", "confidence": 0.010152371464017962, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://rzecz-pospolita.com/miadziol.php3", "confidence": 0.010152371464017962, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://maps.mapywig.org/m/WIG_maps/series/300K/59_MOZYRZ_1930.jpg", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://maps.by", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.063; not read by hand"}
14
+ {"n": 14, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3699764", "pageid": 3699764, "revid": 65188900, "title": "Tony Woodcock (rugbysta)", "checked_at": "2026-10-05T23:08:45Z", "earwig_best": {"url": "http://www.dpmc.govt.nz/honours/lists/ny2016-list", "confidence": 0.009900990099009901, "violation": "none"}, "earwig_sources": [{"url": "http://www.dpmc.govt.nz/honours/lists/ny2016-list", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20160122003954/http://dpmc.govt.nz/honours/lists/ny2016-list", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20160515165440/http://en.espn.co.uk/scrum/rugby/story/73046.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20160510185037/http://en.espn.co.uk/scrum/rugby/story/81008.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://au.news.yahoo.com/thewest/sport/a/4738990/wulf-leaves-run-late-for-marist-39-s-big-day/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.010; not read by hand"}
15
+ {"n": 15, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_235894", "pageid": 235894, "revid": 58389613, "title": "Saint-Palais", "checked_at": "2026-10-05T23:08:52Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
16
+ {"n": 16, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_833396", "pageid": 833396, "revid": 66028101, "title": "Obnażyć prawdę", "checked_at": "2026-10-05T23:09:06Z", "earwig_best": {"url": "https://www.filmweb.pl/film/Obna%C5%BCy%C4%87+prawd%C4%99-2005-257319", "confidence": 0.29577464788732394, "violation": "none"}, "earwig_sources": [{"url": "https://www.filmweb.pl/film/Obna%C5%BCy%C4%87+prawd%C4%99-2005-257319", "confidence": 0.29577464788732394, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.filmweb.pl/film/Obna%C5%BCy%C4%87+prawd%C4%99-2005-257319/descs", "confidence": 0.29577464788732394, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://ec2.images-amazon.com/images/P/B000FZEU1K.01._SS500_SCLZZZZZZZ_.jpg", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://vider.info/vid/+fensvx5", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Obna%C5%BCy%C4%87_prawd%C4%99", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "copied_from_source", "note": "The 'Opis fabuły' paragraph (about 600 of 1,700 characters) is a close paraphrase of Filmweb's 'oficjalny opis prod. telewizyjnej' for the film (https://www.filmweb.pl/film/Obna%C5%BCy%C4%87+prawd%C4%99-2005-257319/descs): same sentences with a few words changed. Added by an IP in revision 15302011 (2008-12-26), whose 'Źródła' section cites Filmweb; the paragraph is unchanged in the released revision. Direction inferred from that citation; the date of Filmweb's text was not found."}
17
+ {"n": 17, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_61444", "pageid": 61444, "revid": 65823973, "title": "Curia", "checked_at": "2026-10-05T23:09:18Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Curia", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Curia", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
18
+ {"n": 18, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1679958", "pageid": 1679958, "revid": 58448341, "title": "Dubielewo", "checked_at": "2026-10-05T23:09:25Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Dubielewo", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Dubielewo", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
19
+ {"n": 19, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_915518", "pageid": 915518, "revid": 59924387, "title": "Project 1950", "checked_at": "2026-10-05T23:09:38Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
20
+ {"n": 20, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_630050", "pageid": 630050, "revid": 59375641, "title": "Góry Kastylijskie", "checked_at": "2026-10-05T23:09:52Z", "earwig_best": {"url": "https://prezi.com/j7zhczq7ax51/pasma-gorskie-w-europie/", "confidence": 0.5481927710843374, "violation": "possible"}, "earwig_sources": [{"url": "https://prezi.com/j7zhczq7ax51/pasma-gorskie-w-europie/", "confidence": 0.5481927710843374, "violation": "possible", "excluded": false, "skipped": false}, {"url": "http://www.summitpost.org/area/range/180977/sistema-central.html", "confidence": 0.05660377358490566, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/G%C3%B3ry_Kastylijskie", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "mirror_of_wikipedia", "note": "Matched Prezi 'Pasma górskie w Europie' (page timestamps 2015-05/06). The matched Geologia paragraph is in Wikipedia since revision 4977406 (2006-10-16, Gisbern), the lead wording since 2010; the Prezi copies Wikipedia. Whether the 2006 edit came from a print source was not checked."}
21
+ {"n": 21, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1789131", "pageid": 1789131, "revid": 59204744, "title": "Desy Margawati", "checked_at": "2026-10-05T23:10:01Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
22
+ {"n": 22, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3042159", "pageid": 3042159, "revid": 60643450, "title": "Tylko dla orłów (singel Budki Suflera)", "checked_at": "2026-10-05T23:10:11Z", "earwig_best": {"url": "https://www.eska.pl/rozrywka/gwiazdy/monika-jarosinska-przerobila-wielki-hit-anny-jantar-nogi-same-rwa-sie-do-tanca-posluchaj-aa-T3Pt-85Ag-qFQ6.html", "confidence": 0.060624621816434854, "violation": "none"}, "earwig_sources": [{"url": "https://www.eska.pl/rozrywka/gwiazdy/monika-jarosinska-przerobila-wielki-hit-anny-jantar-nogi-same-rwa-sie-do-tanca-posluchaj-aa-T3Pt-85Ag-qFQ6.html", "confidence": 0.060624621816434854, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://moje.radio.lublin.pl/tylko-dla-orlow-nowa-piosenka-budki-suflera/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Tylko_dla_or%C5%82%C3%B3w_(singel_Budki_Suflera)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.061; not read by hand"}
23
+ {"n": 23, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_4004684", "pageid": 4004684, "revid": 60805016, "title": "ISO 3166-2:CX", "checked_at": "2026-10-05T23:10:24Z", "earwig_best": {"url": "https://www.iso.org/obp/ui/#iso:code:3166:CX", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.iso.org/obp/ui/#iso:code:3166:CX", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/ISO_3166-2:VI", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/ISO_3166-2:GU", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/ISO_3166-2:TO", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/ISO_3166-2:MP", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
24
+ {"n": 24, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_2795664", "pageid": 2795664, "revid": 65367642, "title": "João Correia", "checked_at": "2026-10-05T23:10:38Z", "earwig_best": {"url": "https://web.archive.org/web/20120121161825/http://news.fm.ul.pt/Content.aspx?tabid=60&mid=372&cid=759", "confidence": 0.0196078431372549, "violation": "none"}, "earwig_sources": [{"url": "https://web.archive.org/web/20120121161825/http://news.fm.ul.pt/Content.aspx?tabid=60&mid=372&cid=759", "confidence": 0.0196078431372549, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://news.fm.ul.pt/Content.aspx?tabid=60&mid=372&cid=759", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20150709160717/http://www.tsf.pt/Programas/programa.aspx?content_id=1164823&audio_id=1389492", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20150709160407/http://archive.ercrugby.com/statistics/player_archive.php?player=1293&includeref=dynamic", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20150709155810/http://en.espn.co.uk/statsguru/rugby/player/14144.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.020; not read by hand"}
25
+ {"n": 25, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_2330779", "pageid": 2330779, "revid": 66763162, "title": "Plascheid", "checked_at": "2026-10-05T23:10:48Z", "earwig_best": {"url": "http://www.vg-neuerburg.de", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.vg-neuerburg.de", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Schankweiler", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Weidingen_(Niemcy)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/H%C3%BCtten_(Nadrenia-Palatynat)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Bauler_(powiat_Eifel_Bitburg-Pr%C3%BCm)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
26
+ {"n": 26, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1581232", "pageid": 1581232, "revid": 68149697, "title": "Natalie Angier", "checked_at": "2026-10-05T23:11:02Z", "earwig_best": {"url": "https://web.archive.org/web/20120207100301/http://www.natalieangier.com/main.php?id=author", "confidence": 0.08256880733944955, "violation": "none"}, "earwig_sources": [{"url": "https://web.archive.org/web/20120207100301/http://www.natalieangier.com/main.php?id=author", "confidence": 0.08256880733944955, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.racjonalista.pl/kk.php/s,2548/", "confidence": 0.038461538461538464, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://bn.org.pl/download/format/mod4424", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.natalieangier.com", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.natalieangier.com/main.php?id=author", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.083; not read by hand"}
27
+ {"n": 27, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_30024", "pageid": 30024, "revid": 67172543, "title": "801", "checked_at": "2026-10-05T23:11:09Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
28
+ {"n": 28, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_665256", "pageid": 665256, "revid": 48232338, "title": "Błąd tendencji centralnej", "checked_at": "2026-10-05T23:11:23Z", "earwig_best": {"url": "https://www.pedagogszkolny.pl/articles.php?article_id=6", "confidence": 0.18746295629437337, "violation": "none"}, "earwig_sources": [{"url": "https://www.pedagogszkolny.pl/articles.php?article_id=6", "confidence": 0.18746295629437337, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/B%C5%82%C4%85d_tendencji_centralnej", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Kategoria:B%C5%82%C4%99dy_w_spostrzeganiu_spo%C5%82ecznym", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "mirror_of_wikipedia", "note": "One definition sentence shared with pedagogszkolny.pl article 6 ('Napisane przez Kazimierz dnia grudnia 19 2008'). The sentence is in Wikipedia revision 4907421 (2006-10-08, Floriann); the site copies Wikipedia. The source of the 2006 stub was not checked."}
29
+ {"n": 29, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1248875", "pageid": 1248875, "revid": 65065397, "title": "Nottuln", "checked_at": "2026-10-05T23:11:30Z", "earwig_best": {"url": "http://www.nottuln.de", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.nottuln.de", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://artsandculture.google.com/entity/m0850fs?hl=pl", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Nottuln", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
30
+ {"n": 30, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3299924", "pageid": 3299924, "revid": 62680615, "title": "Ajon (krater marsjański)", "checked_at": "2026-10-05T23:11:41Z", "earwig_best": {"url": "https://tyflomapy.pl/32__Ameryka_Polnocna_-_rzezba_terenu.html", "confidence": 0.0779615414697118, "violation": "none"}, "earwig_sources": [{"url": "https://tyflomapy.pl/32__Ameryka_Polnocna_-_rzezba_terenu.html", "confidence": 0.0779615414697118, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.docsity.com/pl/docs/ameryka-polnocna-i-poludniowa-1/12671030/", "confidence": 0.0779615414697118, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://brainly.pl/zadanie/13938760", "confidence": 0.0779615414697118, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.wspolrzedne.pl/miasto/nowy-jork", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://planetarynames.wr.usgs.gov/Feature/124?__fsk=-1593524072", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.078; not read by hand"}
31
+ {"n": 31, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1052708", "pageid": 1052708, "revid": 38502494, "title": "Henri François le Dran", "checked_at": "2026-10-05T23:11:52Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Henri_Fran%C3%A7ois_le_Dran", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Henri_Fran%C3%A7ois_le_Dran", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
32
+ {"n": 32, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1549233", "pageid": 1549233, "revid": 69963393, "title": "Bitwa o Wilno", "checked_at": "2026-10-05T23:11:58Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
33
+ {"n": 33, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1010742", "pageid": 1010742, "revid": 64261501, "title": "Kopanki", "checked_at": "2026-10-05T23:12:05Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
34
+ {"n": 34, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_1265449", "pageid": 1265449, "revid": 63394561, "title": "O miłości...", "checked_at": "2026-10-05T23:12:18Z", "earwig_best": {"url": "https://muzeumpiosenki.pl/aktualnosci/karykatura-urszuli-sipinskiej-autorstwa-eryka-lipinskiego_1190.html", "confidence": 0.02150620522096362, "violation": "none"}, "earwig_sources": [{"url": "https://muzeumpiosenki.pl/aktualnosci/karykatura-urszuli-sipinskiej-autorstwa-eryka-lipinskiego_1190.html", "confidence": 0.02150620522096362, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.opole.pl/vcontent_print/node/36399", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.instagram.com/p/DXNBJGngjkQ/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.facebook.com/muzeumpolskiejpiosenki/posts/%E2%84%8D%F0%9D%95%9A%F0%9D%95%A4%F0%9D%95%A5%F0%9D%95%A0%F0%9D%95%A3%F0%9D%95%9A%F0%9D%95%92-%F0%9D%95%81%F0%9D%95%96%F0%9D%95%95%F0%9D%95%9F%F0%9D%95%96%F0%9D%95%98%F0%9D%95%A0-%E2%84%99%F0%9D%95%A3%F0%9D%95%AB%F0%9D%95%96%F0%9D%95%93%F0%9D%95%A0%F0%9D%95%9B%F0%9D%95%A6dzisiaj-dwadzie%C5%9Bcia-lat-a-mo%C5%BCe-mniej-muz-piotr-figiel-s/891911366288253/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.facebook.com/muzeumpolskiejpiosenki/posts/%E2%84%8D%F0%9D%95%9A%F0%9D%95%A4%F0%9D%95%A5%F0%9D%95%A0%F0%9D%95%A3%F0%9D%95%9A%F0%9D%95%92-%F0%9D%95%81%F0%9D%95%96%F0%9D%95%95%F0%9D%95%9F%F0%9D%95%96%F0%9D%95%98%F0%9D%95%A0-%E2%84%99%F0%9D%95%A3%F0%9D%95%AB%F0%9D%95%96%F0%9D%95%93%F0%9D%95%A0%F0%9D%95%9B%F0%9D%95%A6dzisiaj-najwi%C4%99cej-witaminy-muz-s%C5%82-i-wyk-andrzej-rosiewi/890673613078695/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.022; not read by hand"}
35
+ {"n": 35, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_4812615", "pageid": 4812615, "revid": 68110364, "title": "Języki luri", "checked_at": "2026-10-05T23:12:30Z", "earwig_best": {"url": "https://web.archive.org/web/20030508195757/http://www.ling.hawaii.edu/faculty/stampe/Linguistics/Ruhlen/ruhlen.html", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://web.archive.org/web/20030508195757/http://www.ling.hawaii.edu/faculty/stampe/Linguistics/Ruhlen/ruhlen.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.ethnologue.com/language/lrc", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.ethnologue.com/language/luz", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.ethnologue.com/subgroups/luri", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.ling.hawaii.edu/faculty/stampe/Linguistics/Ruhlen/ruhlen.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
36
+ {"n": 36, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_3015256", "pageid": 3015256, "revid": 62489027, "title": "Helene Swanepoel", "checked_at": "2026-10-05T23:12:41Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
37
+ {"n": 37, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_461620", "pageid": 461620, "revid": 41761290, "title": "Herb Aragonii", "checked_at": "2026-10-05T23:12:51Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Herb_Aragonii", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Herb_Aragonii", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
38
+ {"n": 38, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_201656", "pageid": 201656, "revid": 68271359, "title": "Czułym", "checked_at": "2026-10-05T23:13:05Z", "earwig_best": {"url": "https://www.visitczechia.com/pl-pl/news/2025/05/n-year-of-the-vltava-river", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.visitczechia.com/pl-pl/news/2025/05/n-year-of-the-vltava-river", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://rzeszowskiepiwnice.pl/czy-wiesz-rze/rzeszowskie-ciekawostki/wislok-rzeka-splawna/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://sjp.pwn.pl/slowniki/sp%C5%82awne.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://mapa.targeo.pl/splawna-3--ul/swiecie-86-100/ulica", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.facebook.com/extraswiecie/posts/saturn-salon-%C5%82azienek-%C5%9Bwiecie-ul-sp%C5%82awna-1-przy-ul-wodnej/1899023620857899/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
39
+ {"n": 39, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_4978710", "pageid": 4978710, "revid": 61813965, "title": "Gorący temat", "checked_at": "2026-10-05T23:13:13Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
40
+ {"n": 40, "stratum": "CC-BY-SA-3.0", "id": "wikipedia_756707", "pageid": 756707, "revid": 58442073, "title": "Wicker Man", "checked_at": "2026-10-05T23:13:21Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/The_Wicker_Man", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/The_Wicker_Man", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Wicker_Man", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
41
+ {"n": 41, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_3913820", "pageid": 3913820, "revid": 80461951, "title": "Mistrzostwa Świata w Biathlonie 2017 – sztafeta mieszana", "checked_at": "2026-10-05T23:13:35Z", "earwig_best": {"url": "https://docs.google.com/viewerng/viewer?url=http://ibu.blob.core.windows.net/docs/1617/BT/SWRL/CH__/MXRL/BT_C51B2_1.1.pdf", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://docs.google.com/viewerng/viewer?url=http://ibu.blob.core.windows.net/docs/1617/BT/SWRL/CH__/MXRL/BT_C51B2_1.1.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://docs.google.com/viewerng/viewer?url=http://ibu.blob.core.windows.net/docs/1617/BT/SWRL/CH__/MXRL/BT_C73C_1.0.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
42
+ {"n": 42, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_337153", "pageid": 337153, "revid": 80006275, "title": "Leśnica (miasto)", "checked_at": "2026-10-05T23:13:49Z", "earwig_best": {"url": "https://lesnica.pl/115/miejscowosci-gminy-lesnica.html", "confidence": 0.09090909090909091, "violation": "none"}, "earwig_sources": [{"url": "https://lesnica.pl/115/miejscowosci-gminy-lesnica.html", "confidence": 0.09090909090909091, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20201116133028/http://www.powiatprudnicki.pl/powiatprudnicki-historiapowiatu.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://stat.gov.pl/obszary-tematyczne/ludnosc/ludnosc/powierzchnia-i-ludnosc-w-przekroju-terytorialnym-w-2024-roku,7,21.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.lesnica.pl", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.lesnica.pl/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.091; not read by hand"}
43
+ {"n": 43, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1251565", "pageid": 1251565, "revid": 79491937, "title": "Ludwik Żychliński", "checked_at": "2026-10-05T23:14:03Z", "earwig_best": {"url": "https://spgoclaw.pl/goclaw-dawniej-i-dzis/", "confidence": 0.32432432432432434, "violation": "none"}, "earwig_sources": [{"url": "https://spgoclaw.pl/goclaw-dawniej-i-dzis/", "confidence": 0.32432432432432434, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://uniejow.pl/pamieci-bohaterow-161-rocznice-bitwy-pod-czepowem-upamietniono-w-wilamowie/", "confidence": 0.0196078431372549, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://kapica.org.pl/ludwik-wincenty-dionizy-zychlinski-1837-1910/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.wbc.poznan.pl/publication/25032", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.wbc.poznan.pl/publication/82481", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "mirror_of_wikipedia", "note": "The biography paragraph is quoted on spgoclaw.pl 'Gocław dawniej i dziś' (datePublished 2026-02-03), whose footnote reads 'Źródło: http://wikipedia.org'. The paragraph is in Wikipedia since the page was created (revision 11480106, 2008-02-24, Radzio 9). The source of the 2008 text was not checked."}
44
+ {"n": 44, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_2067431", "pageid": 2067431, "revid": 72889928, "title": "Willa Hammerschmidt", "checked_at": "2026-10-05T23:14:16Z", "earwig_best": {"url": "https://www.rome2rio.com/pl/s/K%C3%B6nigswinter/Oberpleis", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.rome2rio.com/pl/s/K%C3%B6nigswinter/Oberpleis", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Willa_Hammerschmidt", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
45
+ {"n": 45, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_687628", "pageid": 687628, "revid": 80441195, "title": "Muzyka programowa", "checked_at": "2026-10-05T23:14:30Z", "earwig_best": {"url": "https://prezi.com/omffdsdvxxyt/fryderyk-chopin/", "confidence": 0.37888198757763975, "violation": "none"}, "earwig_sources": [{"url": "https://prezi.com/omffdsdvxxyt/fryderyk-chopin/", "confidence": 0.37888198757763975, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.scribd.com/document/653595894/Marek-Bankowicz-Historia-polityczna-%C5%9Bwiata-XX-wieku-1901-1945", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://openurl.ebsco.com/contentitem/gcd:184667697?sid=ebsco:plink:crawler-gcd&id=ebsco:gcd:184667697&crl=c&jrnl=20812515", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://open.spotify.com/album/2dfGmE6GTcCRolHf6QFMoV", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.youtube.com/c/ObliczaXXWieku/videos", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "mirror_of_wikipedia", "note": "The definition is on Prezi 'Fryderyk Chopin' (page timestamps 2015-03-04). Wikipedia has 'Treścią muzyki może być ciąg zdarzeń' since revision 17245092 (2009-05-30, RoodyAlien; earliest revision found by bisecting the 74-revision history); the Prezi copies Wikipedia."}
46
+ {"n": 46, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_3253253", "pageid": 3253253, "revid": 79148462, "title": "Jorge Kadú", "checked_at": "2026-10-05T23:14:48Z", "earwig_best": {"url": "https://gazetawroclawska.pl/jorge-kadu-poziom-polskiej-reprezentacji-jest-zblizony-do-republiki-zielonego-przyladka/ar/3798309", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://gazetawroclawska.pl/jorge-kadu-poziom-polskiej-reprezentacji-jest-zblizony-do-republiki-zielonego-przyladka/ar/3798309", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.sfd.pl/%C5%9Arodkowy_napastnik-t635690.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.epa.gov/eg/steam-electric-power-generating-effluent-guidelines-2015-final-rule", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.brookings.edu/articles/two-steps-back-city-and-suburban-poverty-trends-1999-2005/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.taschen.com/en/books/film/40758/the-star-wars-archives-1999-2005-45th-ed/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
47
+ {"n": 47, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_4639031", "pageid": 4639031, "revid": 75031388, "title": "Kodeks 0268", "checked_at": "2026-10-05T23:15:02Z", "earwig_best": {"url": "http://ntvmr.uni-muenster.de/en_GB/liste/?ObjID=20268", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://ntvmr.uni-muenster.de/en_GB/liste/?ObjID=20268", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
48
+ {"n": 48, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1661704", "pageid": 1661704, "revid": 80544267, "title": "Ihor Szymeczko", "checked_at": "2026-10-05T23:15:17Z", "earwig_best": {"url": "https://gazeta.ua/articles/sport/_odruzhilisya-vidomi-ukrayinski-sportsmeni/769764", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://gazeta.ua/articles/sport/_odruzhilisya-vidomi-ukrayinski-sportsmeni/769764", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.olympedia.org/results/331126", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.olympedia.org/results/354353", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.olympedia.org/results/263060", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.sports-reference.com/olympics/athletes/sh/ihor-shymechko-1.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
49
+ {"n": 49, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1026126", "pageid": 1026126, "revid": 79917510, "title": "Get on the Bus", "checked_at": "2026-10-05T23:15:31Z", "earwig_best": {"url": "https://www.bmi.com/news/christopher_ludacris_bridges_and_top_songwriters_honored_at_the_2014_bmi_rb", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.bmi.com/news/christopher_ludacris_bridges_and_top_songwriters_honored_at_the_2014_bmi_rb", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://eil.com/shop/moreinfo.asp?catalogid=177153", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://open.spotify.com/playlist/5Q1698UBo7pq7PfNeEk7UX", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.instagram.com/reel/DTVWKumDUmq/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.instagram.com/charthistory/reel/DEnUGWWRGEo/?hl=af", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
50
+ {"n": 50, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_2980824", "pageid": 2980824, "revid": 78549414, "title": "Píñar", "checked_at": "2026-10-05T23:15:42Z", "earwig_best": {"url": "http://www.ayuntamientopinar.es/", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.ayuntamientopinar.es/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://ssweb.seap.minhap.es/REL/frontend/inicio/municipios/all/all/350", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/P%C3%AD%C3%B1ar", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
51
+ {"n": 51, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1653507", "pageid": 1653507, "revid": 77279795, "title": "USS Barton", "checked_at": "2026-10-05T23:15:49Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
52
+ {"n": 52, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_231170", "pageid": 231170, "revid": 70606318, "title": "Saint-Victor-sur-Avre", "checked_at": "2026-10-05T23:15:57Z", "earwig_best": {"url": null, "confidence": 0.0, "violation": "none"}, "earwig_sources": [], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
53
+ {"n": 53, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_4986199", "pageid": 4986199, "revid": 74784947, "title": "Prime Tower", "checked_at": "2026-10-05T23:16:08Z", "earwig_best": {"url": "https://trek.zone/pl/szwajcaria/miejsca/835475/letzigrund-stadion-zurych", "confidence": 0.6216882165778005, "violation": "possible"}, "earwig_sources": [{"url": "https://trek.zone/pl/szwajcaria/miejsca/835475/letzigrund-stadion-zurych", "confidence": 0.6216882165778005, "violation": "possible", "excluded": false, "skipped": false}, {"url": "https://www.skyscrapercenter.com/building/prime-tower/9047", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Prime_Tower", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "mirror_of_wikipedia", "note": "The whole lead (194 of 392 chars) is on trek.zone (a Letzigrund Stadion page listing nearby sights). trek.zone builds its place blurbs from pl.wikipedia: neighbouring entries carry wiki_url fields pointing to pl.wikipedia and images are credited 'Wikipedia / CC BY-SA 3.0'. The lead sentence 'Jego wysokość wynosi 126 metrów' is in the article's first revision 61917727 (2021-01-06, IP). trek.zone page date not found."}
54
+ {"n": 54, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_4780515", "pageid": 4780515, "revid": 78931534, "title": "Małgorzata Nossowska", "checked_at": "2026-10-05T23:16:20Z", "earwig_best": {"url": "https://czasopisma.isppan.waw.pl/sm/article/view/1622", "confidence": 0.12210269680089984, "violation": "none"}, "earwig_sources": [{"url": "https://czasopisma.isppan.waw.pl/sm/article/view/1622", "confidence": 0.12210269680089984, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.umcs.pl/pl/addres-book-employee,1962,pl.html", "confidence": 0.12210269680089984, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://studiahistoricolitteraria.uken.krakow.pl/article/view/11682", "confidence": 0.12210269680089984, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://wydawnictwo.umcs.eu/produkt/4797/o-francuzce-ktora-pokochala-polske-rosa-bailly-i-stowarzyszenie-les-amis-de-la-pologne-1", "confidence": 0.12210269680089984, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://czasopisma.uni.lodz.pl/pnh/article/download/25492/25372/63236", "confidence": 0.05918887139033065, "violation": "none", "excluded": false, "skipped": false}], "class": "title_or_stock_phrase", "note": "Only shared text: the title of her book ('O Francuzce, która pokochała Polskę...', 89 of 744 chars), on a journal review page and publisher pages. A bibliographic title, no prose shared."}
55
+ {"n": 55, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_119", "pageid": 119, "revid": 80108337, "title": "Anglowie", "checked_at": "2026-10-05T23:16:34Z", "earwig_best": {"url": "https://quizlet.com/pl/552057737/powstanie-panstw-barbarzynskich-na-gruzach-cesarstwa-zachodniego-flash-cards/", "confidence": 0.150282203049338, "violation": "none"}, "earwig_sources": [{"url": "https://quizlet.com/pl/552057737/powstanie-panstw-barbarzynskich-na-gruzach-cesarstwa-zachodniego-flash-cards/", "confidence": 0.150282203049338, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://sjp.pl/Anglowie", "confidence": 0.150282203049338, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Anglowie", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "mirror_of_wikipedia", "note": "One definition sentence (92 chars) is on sjp.pl, posted as a user comment dated 2016-12-10, and on a Quizlet set (undated). Wikipedia has 'który w V wieku n.e. najechał wraz z' since revision 23742520 (2010-10-30, Delta 51; found by bisecting the 81-revision history). The sjp.pl comment postdates it; the Quizlet date was not checked."}
56
+ {"n": 56, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1797801", "pageid": 1797801, "revid": 72592380, "title": "Bugaj Lipnicki", "checked_at": "2026-10-05T23:16:41Z", "earwig_best": {"url": "http://www.spkliczkow.pl/okolica/33-kliczkow-wielki", "confidence": 0.21622310846963594, "violation": "none"}, "earwig_sources": [{"url": "http://www.spkliczkow.pl/okolica/33-kliczkow-wielki", "confidence": 0.21622310846963594, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.spkliczkow.pl/okolica", "confidence": 0.21622310846963594, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://szkolacielce.szkolnastrona.pl/index.php?c=page&id=399", "confidence": 0.08701137698962981, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.stat.gov.pl/broker/access/performSearch.jspa?searchString=Bugaj+Lipnicki&level=miejsc&wojewodztwo=391&powiat=4986&gmina=&miejscowosc=&advanced=false", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://mapy.com/pl/?source=osm&id=729092", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "title_or_stock_phrase", "note": "Shared text (123 of 286 chars) is the standard Polish-village stub formula ('wieś w Polsce położona w województwie łódzkim, w powiecie ...'; '... administracyjnie należała do województwa sieradzkiego'), on spkliczkow.pl's page about a different village (Kliczków Wielki). Stock phrasing, no other prose shared."}
57
+ {"n": 57, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1502707", "pageid": 1502707, "revid": 74763766, "title": "Soldier Field", "checked_at": "2026-10-05T23:16:55Z", "earwig_best": {"url": "https://www.ebay.com/itm/156152431451", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.ebay.com/itm/156152431451", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://artsandculture.google.com/entity/m02jw35?hl=pl", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Soldier_Field", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
58
+ {"n": 58, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_539244", "pageid": 539244, "revid": 79439495, "title": "Paserstwo", "checked_at": "2026-10-05T23:17:09Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Paserstwo", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Paserstwo", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
59
+ {"n": 59, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_687193", "pageid": 687193, "revid": 78584526, "title": "Lowlands", "checked_at": "2026-10-05T23:17:22Z", "earwig_best": {"url": "https://www.scottish-places.info/features/featurefirst7454.html", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.scottish-places.info/features/featurefirst7454.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Lowlands", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
60
+ {"n": 60, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_235835", "pageid": 235835, "revid": 80384744, "title": "Saint-Hilaire-de-Lusignan", "checked_at": "2026-10-05T23:17:34Z", "earwig_best": {"url": "https://catalogue-donnees.insee.fr/en/catalogue/recherche/DS_RP_TD_POPULATION_AGESEX_PRINC", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://catalogue-donnees.insee.fr/en/catalogue/recherche/DS_RP_TD_POPULATION_AGESEX_PRINC", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Pujols_(Lot_i_Garonna)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikivoyage.org/wiki/Marmande", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Dondas", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Clermont-Dessous", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
61
+ {"n": 61, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_3566935", "pageid": 3566935, "revid": 72488982, "title": "Alonisos (miejscowość)", "checked_at": "2026-10-05T23:17:45Z", "earwig_best": {"url": "https://www.statistics.gr/documents/20181/1210503/resident_population_census2011rev.xls/956f8949-513b-45b3-8c02-74f5e8ff0230", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.statistics.gr/documents/20181/1210503/resident_population_census2011rev.xls/956f8949-513b-45b3-8c02-74f5e8ff0230", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/%C5%BDerava", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Bog%C3%A2ltin", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Toldal", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Rova%C4%8Dko_Trebaljevo", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
62
+ {"n": 62, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_4782573", "pageid": 4782573, "revid": 79750745, "title": "Parafia Podwyższenia Krzyża Świętego w Koszelewach", "checked_at": "2026-10-05T23:17:56Z", "earwig_best": {"url": "https://diecezja-torun.pl/diecezja/parafia/146/parafia-pw-podwyzszenia-krzyza-swietego-w-koszelewach", "confidence": 0.016000341346441075, "violation": "none"}, "earwig_sources": [{"url": "https://diecezja-torun.pl/diecezja/parafia/146/parafia-pw-podwyzszenia-krzyza-swietego-w-koszelewach", "confidence": 0.016000341346441075, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.facebook.com/SkomielnaParafia/albums/128098063314229/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.youtube.com/@parafiapw.mbrozancowejwrze5907", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.youtube.com/@parafiapw.wszystkichswiety9191", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://parafiakoszelewy.eu", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.016; not read by hand"}
63
+ {"n": 63, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1126780", "pageid": 1126780, "revid": 78276807, "title": "Czarnka", "checked_at": "2026-10-05T23:18:10Z", "earwig_best": {"url": "http://gorybezgranic.pl/viewtopic.php?t=7066", "confidence": 0.46236559139784944, "violation": "possible"}, "earwig_sources": [{"url": "http://gorybezgranic.pl/viewtopic.php?t=7066", "confidence": 0.46236559139784944, "violation": "possible", "excluded": false, "skipped": false}, {"url": "https://www.dpn.pl/czarne", "confidence": 0.0196078431372549, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.geoportal.gov.pl", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20071114070630/http://www.gorzow.pios.gov.pl/komunikaty/jeziora03/Jezioro%20Czarne.htm", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://eshp.ijp.pan.pl/search/results/47533", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "copied_from_source", "note": "Earwig's hit is a 2025-02-21 forum trip report (gorybezgranic.pl) that quotes the lake paragraph verbatim in quotation marks (645 of 2705 chars). The paragraph entered Wikipedia in revision 42979631 (2015-06-19, MOs810, summary 'rozb., źr., ilustracja'), cited to 'Tablica informacyjna in situ' (an on-site board, not read). It follows, fact by fact and in the same order, the Drawieński Park Narodowy page dpn.pl/czarne, archived 2012-01-25 with the same text: 10 tys. lat / bryła martwego lodu, średnio 7 m, 'beztlenowe bakterie Desulfovibrio desulfuricans', 'purpurowe bakterie siarkowe ... utleniające siarkowodór do wolnej siarki', mixing by wind 'wiosną i jesienią', mezotroficzny. Close paraphrase of an earlier park text; the board may hold the verbatim original. Whether a national park's text is protected (Art. 4 of the Polish copyright act excludes official materials) was not assessed."}
64
+ {"n": 64, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_236235", "pageid": 236235, "revid": 80385167, "title": "Lasseubetat", "checked_at": "2026-10-05T23:18:20Z", "earwig_best": {"url": "https://catalogue-donnees.insee.fr/en/catalogue/recherche/DS_RP_TD_POPULATION_AGESEX_PRINC", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://catalogue-donnees.insee.fr/en/catalogue/recherche/DS_RP_TD_POPULATION_AGESEX_PRINC", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
65
+ {"n": 65, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_3765828", "pageid": 3765828, "revid": 79849966, "title": "Latarnia morska Sorgu", "checked_at": "2026-10-05T23:18:34Z", "earwig_best": {"url": "http://nma.vta.ee/aton/aton_2807.html", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://nma.vta.ee/aton/aton_2807.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://adam.vta.ee/teenused/info/dokumendid/list_of_lights/list_of_lights.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.etts.ee/EN/lighthouses/lighthouses-list/parnumaa/860-sorgu-tuletorn", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://archive.ph/20160815190025/http://www.etts.ee/EN/lighthouses/lighthouses-list/parnumaa/860-sorgu-tuletorn", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Latarnia_morska_Sorgu", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
66
+ {"n": 66, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_6089462", "pageid": 6089462, "revid": 80000875, "title": "Marian Malicki", "checked_at": "2026-10-05T23:18:49Z", "earwig_best": {"url": "https://cmentarze.szczecin.pl/chapter_11975.asp?smode=2&p1oid=7C99F0C740154AB99D827F5BA4827B9A", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://cmentarze.szczecin.pl/chapter_11975.asp?smode=2&p1oid=7C99F0C740154AB99D827F5BA4827B9A", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://usz.edu.pl/zmarl-prof-marian-malicki/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://zar.usz.edu.pl/zmarl-prof-dr-hab-marian-malicki/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Marian_Malicki", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
67
+ {"n": 67, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_2926805", "pageid": 2926805, "revid": 80532432, "title": "Diego Nargiso", "checked_at": "2026-10-05T23:19:03Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Potito_Starace", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Potito_Starace", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Paolo_Lorenzi", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Filippo_Volandri", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Andreas_Seppi", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}, {"url": "https://pl.wikipedia.org/wiki/Paolo_Can%C3%A8", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
68
+ {"n": 68, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_638010", "pageid": 638010, "revid": 73009817, "title": "Fabio Berardi", "checked_at": "2026-10-05T23:19:15Z", "earwig_best": {"url": "http://www.rulers.org/ruls1.html#san_marino", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.rulers.org/ruls1.html#san_marino", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
69
+ {"n": 69, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_5244080", "pageid": 5244080, "revid": 76778919, "title": "Dex Meets Dexter", "checked_at": "2026-10-05T23:19:29Z", "earwig_best": {"url": "https://www.billboard.com/charts/year-end/2018/top-r-and-b-hip-hop-albums/", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://www.billboard.com/charts/year-end/2018/top-r-and-b-hip-hop-albums/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.billboard.com/artist/famous-dex/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.billboard.com/music/rb-hip-hop/famous-dex-pick-it-up-video-asap-rocky-8094797/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.xxlmag.com/asap-rocky-famous-dex-new-song-pick-it-up/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.riaa.com/gold-platinum/?tab_active=default-award&se=Famous+Dex#search_section", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
70
+ {"n": 70, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_2719559", "pageid": 2719559, "revid": 72142527, "title": "Lekkoatletyka na Letnich Igrzyskach Paraolimpijskich 2008 – maraton mężczyzn kl. T46", "checked_at": "2026-10-05T23:19:43Z", "earwig_best": {"url": "https://www.paralympic.org/beijing-2008", "confidence": 0.0196078431372549, "violation": "none"}, "earwig_sources": [{"url": "https://www.paralympic.org/beijing-2008", "confidence": 0.0196078431372549, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.020; not read by hand"}
71
+ {"n": 71, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_5800775", "pageid": 5800775, "revid": 79091793, "title": "Jerzy Datka", "checked_at": "2026-10-05T23:19:56Z", "earwig_best": {"url": "https://old.ug.edu.pl/pracownik/2165/cezary_obracht-prondzynski", "confidence": 0.012739025777429714, "violation": "none"}, "earwig_sources": [{"url": "https://old.ug.edu.pl/pracownik/2165/cezary_obracht-prondzynski", "confidence": 0.012739025777429714, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.2016.kultura-regionow.pl/2,143,Jerzy_Adam_Vetulani.htm", "confidence": 0.012739025777429714, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://ludzie.nauka.gov.pl/ln/profiles/Q0IZ7ibjpyE", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.pum.edu.pl/studenci/informacje_z_jednostek/wnoz/katedra_zywienia_czlowieka_i_metabolomiki/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.biujp.bytow.com.pl/bw/Cezary-Obracht-Prondzynski,960", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.013; not read by hand"}
72
+ {"n": 72, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_229575", "pageid": 229575, "revid": 70605126, "title": "Olmi-Cappella", "checked_at": "2026-10-05T23:20:05Z", "earwig_best": {"url": "https://pl.wikipedia.org/wiki/Olmi-Cappella", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://pl.wikipedia.org/wiki/Olmi-Cappella", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
73
+ {"n": 73, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_2419634", "pageid": 2419634, "revid": 80580567, "title": "Wang Zhizhi", "checked_at": "2026-10-05T23:20:19Z", "earwig_best": {"url": "http://www.basketball-reference.com/players/z/zhizhwa01.html", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.basketball-reference.com/players/z/zhizhwa01.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://basketball.realgm.com/player/Zhizhi-Wang/Summary/973", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://www.hispanosnba.com/jugadores/wang-zhizhi", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.shamsports.com/player-profile?pid=513", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "http://basketball.eurobasket.com/player/ZhiZhi-Wang/China/Bayi-Rockets/6583", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
74
+ {"n": 74, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_2260801", "pageid": 2260801, "revid": 78835488, "title": "Winchmore Hill (stacja kolejowa)", "checked_at": "2026-10-05T23:20:28Z", "earwig_best": {"url": "http://www.nationalrail.co.uk/stations/WIH/details.html", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://www.nationalrail.co.uk/stations/WIH/details.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20121030202624/http://www.rail-reg.gov.uk/upload/xls/station_usage_0809.xls", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Palmers_Green_(stacja_kolejowa)", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
75
+ {"n": 75, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_4606156", "pageid": 4606156, "revid": 72073800, "title": "Arie Selinger", "checked_at": "2026-10-05T23:20:42Z", "earwig_best": {"url": "https://historiasportu.info/arie-selinger-z-obozu-koncentracyjnego-do-panteonu-siatkarskich-legend,7285163761992769a", "confidence": 0.06542056074766354, "violation": "none"}, "earwig_sources": [{"url": "https://historiasportu.info/arie-selinger-z-obozu-koncentracyjnego-do-panteonu-siatkarskich-legend,7285163761992769a", "confidence": 0.06542056074766354, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20100106085805/http://www.volleyhall.org/selinger.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.instagram.com/p/Dciq638slrt/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.instagram.com/p/Dc-qDQCCEgl/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://favoriterecordings.bandcamp.com/album/french-disco-boogie-sounds-1975-1984-selected-by-charles-maurice", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.065; not read by hand"}
76
+ {"n": 76, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_1274036", "pageid": 1274036, "revid": 80271681, "title": "Antonio Pacinotti", "checked_at": "2026-10-05T23:20:55Z", "earwig_best": {"url": "http://notes9.senato.it/web/senregno.nsf/8c58c55c1230e7f8c125703d002fe257/7cb9be081de668af4125646f005e07b6?OpenDocument", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "http://notes9.senato.it/web/senregno.nsf/8c58c55c1230e7f8c125703d002fe257/7cb9be081de668af4125646f005e07b6?OpenDocument", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Antonio_Pacinotti", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
77
+ {"n": 77, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_5637580", "pageid": 5637580, "revid": 76947511, "title": "Parafia św. Augustyna w Wiedniu", "checked_at": "2026-10-05T23:21:08Z", "earwig_best": {"url": "https://austria-forum.org/af/AustriaWiki/Augustinerkirche_%28Wien%29", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://austria-forum.org/af/AustriaWiki/Augustinerkirche_%28Wien%29", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://augustinerkirche.augustiner.at/pfarre-st-augustin/", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.erzdioezese-wien.at/pages/pfarren/9003", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://maps.adac.de/poi/augustinerkirche-wien", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://austria-forum.org/af/AustriaWiki/Liste_der_Pfarren_im_Stadtdekanat_1_%28Erzdi%C3%B6zese_Wien%29", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
78
+ {"n": 78, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_4797552", "pageid": 4797552, "revid": 78338808, "title": "Kierunek: Noc", "checked_at": "2026-10-05T23:21:22Z", "earwig_best": {"url": "https://www.filmweb.pl/serial/Kierunek%3A+Noc-2020-839229", "confidence": 0.009900990099009901, "violation": "none"}, "earwig_sources": [{"url": "https://www.filmweb.pl/serial/Kierunek%3A+Noc-2020-839229", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://kultura.gazeta.pl/kultura/7,127222,25879817,kierunek-noc-data-premiery-i-nowy-zwiastun-serialu-netfliksa.html", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://www.facebook.com/netflixpolska/posts/1478532879024017?__cft__%5B0%5D=AZXfPU5palECh9Yz6S-vVC_3nOofEbQhD2dxBOZ4DBEiw4XDPFMcSpLCLRPFFzrlfgjLE8YS2Qu_ZNwbkuWlwcypEoVkszVEGNsrY6G6e0LzIT8V0dAI5LPGJraMcjTfxmolgDaLCpskNH01rsYP1ai06M-EmpE5ldQzZIZp6h5DR_jSzF6sgTsPXUrzuDMb9-0&__tn__=%2CO%2CP-R", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Kierunek:_Noc", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.010; not read by hand"}
79
+ {"n": 79, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_987403", "pageid": 987403, "revid": 80267168, "title": "Sorafenib", "checked_at": "2026-10-05T23:21:38Z", "earwig_best": {"url": "https://www.ema.europa.eu/pl/documents/product-information/symkevi-epar-product-information_pl.pdf", "confidence": 0.009900990099009901, "violation": "none"}, "earwig_sources": [{"url": "https://www.ema.europa.eu/pl/documents/product-information/symkevi-epar-product-information_pl.pdf", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://rejestrymedyczne.ezdrowie.gov.pl/api/rpl/medicinal-products/34197/characteristic", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://biotechnologia.pl/farmacja/publikacja-w-nejm-daje-nadzieje-pacjentom-z-czerniakiem-wysokiego-ryzyka-w-stadium-iii,20183", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://szczepimysie.pl/nowe-informacje-o-leku-pfizera-na-covid-19-ma-byc-skuteczny-rowniez-przeciw-omikronowi/", "confidence": 0.009900990099009901, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://ec.europa.eu/health/documents/community-register/2018/20180625141089/anx_141089_pl.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}], "class": "no_match", "note": "best confidence 0.010; not read by hand"}
80
+ {"n": 80, "stratum": "CC-BY-SA-4.0", "id": "wikipedia_5497156", "pageid": 5497156, "revid": 71848958, "title": "Saint Vincent i Grenadyny na Mistrzostwach Świata w Lekkoatletyce 2022", "checked_at": "2026-10-05T23:21:52Z", "earwig_best": {"url": "https://assets.aws.worldathletics.org/document/62c81122d6503b36ea2c27ca.pdf", "confidence": 0.0, "violation": "none"}, "earwig_sources": [{"url": "https://assets.aws.worldathletics.org/document/62c81122d6503b36ea2c27ca.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://media.aws.iaaf.org/competitiondocuments/pdf/7137279/AT-800-W-h----.RS4.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20230109220124/https://media.aws.iaaf.org/competitiondocuments/pdf/7137279/AT-800-W-h----.RS4.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://web.archive.org/web/20220711111354/https://assets.aws.worldathletics.org/document/62c81122d6503b36ea2c27ca.pdf", "confidence": 0.0, "violation": "none", "excluded": false, "skipped": false}, {"url": "https://pl.wikipedia.org/wiki/Albania_na_Mistrzostwach_%C5%9Awiata_w_Lekkoatletyce_2022", "confidence": 0.0, "violation": "none", "excluded": true, "skipped": true}], "class": "no_match", "note": "best confidence 0.000; not read by hand"}
data/wikipedia/wikipedia.license-evidence.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "license": "CC-BY-SA-3.0 or CC-BY-SA-4.0 per record, by the page's last revision",
3
+ "spdx": [
4
+ "https://spdx.org/licenses/CC-BY-SA-3.0.html",
5
+ "https://spdx.org/licenses/CC-BY-SA-4.0.html"
6
+ ],
7
+ "status": "documented-open-cc-by-sa",
8
+ "review_scope": "licence of contributors' text on pl.wikipedia and its version per page; copyright pastes estimated by sample; not independent legal advice",
9
+ "checked_at": "2026-10-05",
10
+ "evidence_url": "https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=554823",
11
+ "sha256": "c96ef93b439ff9b8242dc3233f41ede57c0984ef9153fafa51aa5f8cf0678832",
12
+ "statement": "When you submit text to which you hold the copyright, you agree to license it under: Creative Commons Attribution-ShareAlike 4.0 International License (\"CC BY-SA 4.0\"), and GNU Free Documentation License (\"GFDL\")",
13
+ "effective": "These Terms of Use went into effect on June 7, 2023",
14
+ "previous_terms": {
15
+ "url": "https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=98524",
16
+ "sha256": "46617e3576a507b8f83a0cf7b28b60e43817ad93cc5d747a558b503e7d1cc6de",
17
+ "statement": "Creative Commons Attribution-ShareAlike 3.0 Unported License (“CC BY-SA”)",
18
+ "effective": "These Terms of Use went into effect on June 16, 2014"
19
+ },
20
+ "site_licence": {
21
+ "url": "https://pl.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=rightsinfo",
22
+ "observed_at": "2026-10-05T22:27:57.741359+00:00",
23
+ "rightsinfo": {
24
+ "text": "Creative Commons Attribution-Share Alike 4.0",
25
+ "url": "https://creativecommons.org/licenses/by-sa/4.0/deed.pl"
26
+ }
27
+ },
28
+ "licence_text": {
29
+ "url": "https://creativecommons.org/licenses/by-sa/3.0/legalcode",
30
+ "sha256": "3f941b3b89cf7b8370ceb83cc76d2120d471b58735d8ca60238a751a48d7f72f",
31
+ "section": "4(b)",
32
+ "statement": "You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License"
33
+ },
34
+ "label_rule": {
35
+ "function": "src/fetch_wikipedia.py license_for_revision",
36
+ "cutoff": "2023-06-07T00:00:00+00:00",
37
+ "rule": "last revision before the cutoff -> CC-BY-SA-3.0; at or after -> CC-BY-SA-4.0; a timestamp without a time zone or missing stops the build",
38
+ "cutoff_day": "the Terms of Use give the day, not the time; midnight UTC labels the whole of 2023-06-07 as 4.0. If the switch came later that day, pages last edited before it are 3.0 text under a 4.0 label. The rights audit (wikimedia.md L3) suggested 2023-06-08; that would label 4.0 edits of 2023-06-07 as 3.0, which 4.0 §3(b)(1) does not allow. Neither choice is exact without the time of the switch",
39
+ "licence_text_4": {
40
+ "url": "https://creativecommons.org/licenses/by-sa/4.0/legalcode",
41
+ "sha256": "28a9529c7d0bb4dc51f4bf5c116a3d16ef247a052f7591466768ddf563fd1cf5",
42
+ "section": "3(b)(1)",
43
+ "statement": "The Adapter's License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License."
44
+ },
45
+ "pages_last_revised_on_cutoff_day": 184,
46
+ "tests": "src/test_wikipedia_contract.py test_license_for_revision, test_license_for_revision_fails_without_a_zoned_timestamp, test_every_row_label_follows_its_last_revision"
47
+ },
48
+ "chain": [
49
+ {
50
+ "hop": "Wikipedia contributors -> Wikimedia Foundation",
51
+ "basis": "Terms of Use: contributors license their text CC BY-SA 4.0 from 2023-06-07, CC BY-SA 3.0 under the 2014-2023 terms",
52
+ "url": "https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=554823",
53
+ "mark": "V"
54
+ },
55
+ {
56
+ "hop": "Wikimedia dump -> polish-dynaword",
57
+ "basis": "plwiki-20260901-pages-articles, 7 shards, each sha1 matched to dumpstatus.json and sha1sums.txt (wikipedia.build.json)",
58
+ "url": "https://dumps.wikimedia.org/plwiki/20260901/",
59
+ "mark": "V"
60
+ },
61
+ {
62
+ "hop": "page last edited on or after 2023-06-07 -> released as 4.0",
63
+ "basis": "CC BY-SA 3.0 §4(b)(ii) lets an adaptation be licensed under a later version with the same License Elements",
64
+ "url": "https://creativecommons.org/licenses/by-sa/3.0/legalcode",
65
+ "mark": "I"
66
+ }
67
+ ],
68
+ "attribution": "author = \"Wikipedia contributors, <page URL>\"; the page history names the contributors; Terms of Use section 7 accepts a link or URL to the page. wikipedia.attribution.jsonl: id, pageid, revid, title, url, last_revision_at, license per row",
69
+ "intermediary_removed": "v0.2.0-v0.2.5 used the SpeakLeash plwiki snapshot (speakleash-ds-pub); the v0.2.6 rebuild reads the official dump directly",
70
+ "finding": "Contributors' text is CC BY-SA; its version follows the page's last revision. Pages carrying the plwiki copyright-violation notice ({{NPA}}, {{Copyvio}}, {{Plagiat}}) are dropped.",
71
+ "release_scope": {
72
+ "labels": {
73
+ "CC-BY-SA-4.0": 1277819,
74
+ "CC-BY-SA-3.0": 190837
75
+ },
76
+ "tokens_by_label": {
77
+ "CC-BY-SA-4.0": 1145890205,
78
+ "CC-BY-SA-3.0": 81023303
79
+ },
80
+ "pages_scanned": 2877278,
81
+ "namespace_0": 2304425,
82
+ "redirects": 598071,
83
+ "empty": 0,
84
+ "copyvio_notice": 35,
85
+ "parser_failures": 0,
86
+ "converted": 1706319,
87
+ "exact_duplicates": 382,
88
+ "under_200_chars": 231717,
89
+ "non_polish": 5564,
90
+ "documents_released": 1468656,
91
+ "last_revised_before_2009": 0
92
+ },
93
+ "copyvio_notice_recheck": {
94
+ "checked_at": "2026-10-05",
95
+ "reread_unchanged_since_dump": 31,
96
+ "all_carry_notice": true,
97
+ "edited_after_dump_not_reread": [
98
+ [
99
+ "Miód",
100
+ "2026-09-23T15:47:05Z"
101
+ ],
102
+ [
103
+ "Koło Wiedeńskie",
104
+ "2026-09-18T08:37:56Z"
105
+ ],
106
+ [
107
+ "AZS-AWF Katowice",
108
+ "2026-10-05T18:18:44Z"
109
+ ],
110
+ [
111
+ "Polski Chór Kameralny",
112
+ "2026-10-02T22:38:32Z"
113
+ ]
114
+ ]
115
+ },
116
+ "audit_trail": "wikipedia.build.json lists the dropped copyright-notice pages (copyvio_tagged) and the page ids dropped as exact duplicates (prepare.exact_duplicate_pageids)",
117
+ "copyright_sample": {
118
+ "file": "wikipedia.copyvio-sample.jsonl",
119
+ "checked_at": "2026-10-05",
120
+ "method": "random.seed(seed); per label in sorted order, random.sample of that label's released ids in page-id order; each sampled revision (revid) run through Earwig's Copyvio Detector API (copyvios.toolforge.org, action=search, use_engine=1, use_links=1); every page whose best source reached confidence 0.10 or a 'possible'/'suspected' verdict was compared by hand (Earwig compare detail, the page history, the source's date)",
121
+ "seed": 20261006,
122
+ "per_stratum": {
123
+ "CC-BY-SA-3.0": 40,
124
+ "CC-BY-SA-4.0": 40
125
+ },
126
+ "classes_defined": [
127
+ "no_match",
128
+ "mirror_of_wikipedia",
129
+ "title_or_stock_phrase",
130
+ "free_or_public_domain_source",
131
+ "attributed_quotation",
132
+ "copied_from_source",
133
+ "not_checked"
134
+ ],
135
+ "classes": {
136
+ "no_match": 70,
137
+ "copied_from_source": 2,
138
+ "mirror_of_wikipedia": 6,
139
+ "title_or_stock_phrase": 2
140
+ },
141
+ "strata": {
142
+ "CC-BY-SA-3.0": {
143
+ "documents": 40,
144
+ "classes": {
145
+ "no_match": 37,
146
+ "copied_from_source": 1,
147
+ "mirror_of_wikipedia": 2
148
+ },
149
+ "copied": 1,
150
+ "wilson_95": [
151
+ 0.4,
152
+ 12.9
153
+ ],
154
+ "stratum_token_share": 6.6
155
+ },
156
+ "CC-BY-SA-4.0": {
157
+ "documents": 40,
158
+ "classes": {
159
+ "no_match": 33,
160
+ "mirror_of_wikipedia": 4,
161
+ "title_or_stock_phrase": 2,
162
+ "copied_from_source": 1
163
+ },
164
+ "copied": 1,
165
+ "wilson_95": [
166
+ 0.4,
167
+ 12.9
168
+ ],
169
+ "stratum_token_share": 93.4
170
+ }
171
+ },
172
+ "token_weighted_upper_bound_95": "12.9% (sum of stratum bounds weighted by token share; conservative)",
173
+ "limits": "finds pastes from pages a web search returns or the article links; not print sources, offline text, translations or paraphrase below the hand-check threshold; a hit is classed by which text came first, not by a legal opinion on originality",
174
+ "hand_check_from": 0.1,
175
+ "found_copied": [
176
+ {
177
+ "id": "wikipedia_833396",
178
+ "title": "Obnażyć prawdę",
179
+ "stratum": "CC-BY-SA-3.0",
180
+ "note": "The 'Opis fabuły' paragraph (about 600 of 1,700 characters) is a close paraphrase of Filmweb's 'oficjalny opis prod. telewizyjnej' for the film (https://www.filmweb.pl/film/Obna%C5%BCy%C4%87+prawd%C4%99-2005-257319/descs): same sentences with a few words changed. Added by an IP in revision 15302011 (2008-12-26), whose 'Źródła' section cites Filmweb; the paragraph is unchanged in the released revision. Direction inferred from that citation; the date of Filmweb's text was not found."
181
+ },
182
+ {
183
+ "id": "wikipedia_1126780",
184
+ "title": "Czarnka",
185
+ "stratum": "CC-BY-SA-4.0",
186
+ "note": "Earwig's hit is a 2025-02-21 forum trip report (gorybezgranic.pl) that quotes the lake paragraph verbatim in quotation marks (645 of 2705 chars). The paragraph entered Wikipedia in revision 42979631 (2015-06-19, MOs810, summary 'rozb., źr., ilustracja'), cited to 'Tablica informacyjna in situ' (an on-site board, not read). It follows, fact by fact and in the same order, the Drawieński Park Narodowy page dpn.pl/czarne, archived 2012-01-25 with the same text: 10 tys. lat / bryła martwego lodu, średnio 7 m, 'beztlenowe bakterie Desulfovibrio desulfuricans', 'purpurowe bakterie siarkowe ... utleniające siarkowodór do wolnej siarki', mixing by wind 'wiosną i jesienią', mezotroficzny. Close paraphrase of an earlier park text; the board may hold the verbatim original. Whether a national park's text is protected (Art. 4 of the Polish copyright act excludes official materials) was not assessed."
187
+ }
188
+ ],
189
+ "found_copied_decision": "kept in this release; drop or keep is an open decision"
190
+ },
191
+ "not_checked": [
192
+ "pastes from copyrighted sources beyond the sample above",
193
+ "the 3.0 -> 4.0 label of pages edited after the cutoff (inferred from 3.0 §4(b)(ii), not reviewed by a lawyer), and the time of day of the switch (184 pages last edited on 2023-06-07)",
194
+ "text imported from elsewhere under another licence or with extra attribution requirements (Terms of Use, Re-use); template notices are removed by the conversion",
195
+ "text first contributed under GFDL before the 2009 move to CC BY-SA (0 pages last edited before 2009); GFDL dual licensing; only the CC BY-SA grant is relied on",
196
+ "quotations inside articles (Art. 29 of the Polish copyright act)",
197
+ "pages tagged for speedy deletion ({{ek}}) are kept; how many are tagged for copyright reasons was not counted",
198
+ "personal data (NERGAL scrub runs before release)"
199
+ ]
200
+ }
data/wikipedia/wikipedia.md CHANGED
@@ -3,41 +3,142 @@
3
  Polish Wikipedia
4
 
5
  ## Dataset description
6
- - **Source (upstream):** https://dumps.wikimedia.org/plwiki/latest/
7
  - **Domain:** encyclopedic
8
  - **Language:** Polish (pl)
9
- - **License:** `CC-BY-SA-3.0`
10
- - **Created (range):** 2001-01-15, 2026-06-14
11
- - **Added:** 2026-07-02
12
 
13
  ## Licensing — traceable basis
14
- Wikimedia dumps explicitly released under CC-BY-SA 3.0; attribution to contributors + share-alike preserved.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  ## Provenance
17
- Pulled from SpeakLeash's public redistribution (`speakleash-ds-pub`, key `plwiki`) of the upstream source above. SpeakLeash credited as intermediate aggregator; upstream license/attribution preserved.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ## Statistics
20
  | documents | characters | tokens (tiktoken proxy) |
21
  |---:|---:|---:|
22
- | 1,171,897 | 1,844,707,761 | 707,194,207 |
23
 
 
 
 
 
 
24
 
25
  ## Per-document license metadata
26
  | license | documents |
27
  |---|---:|
28
- | `CC-BY-SA-3.0` | 1,171,897 |
29
-
30
- Author metadata present for **0** documents. Empty values mean the upstream record did not expose a machine-readable author field.
31
 
32
- Statistics were recomputed directly from the released parquet file.
33
 
34
  ## Filters applied (build_dynaword.py)
35
- Minimal, per Dynaword guidelines (heavy filtering left to downstream use):
36
- - drop documents < 200 chars: **0**
37
- - drop non-Polish (diacritic ratio): **0**
38
- - exact cross-source dedup (sha1): **0**
39
  - OCR alpha-ratio < 0.70 (OCR sources only): **0**
40
- - read 1,171,897 → kept 1,171,897
41
 
42
  Token counts are a fast tiktoken (cl100k) proxy (~1% off Llama-3); the canonical
43
  Llama-3 count is computed at release.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Polish Wikipedia
4
 
5
  ## Dataset description
6
+ - **Source (upstream):** https://dumps.wikimedia.org/plwiki/20260901/
7
  - **Domain:** encyclopedic
8
  - **Language:** Polish (pl)
9
+ - **License:** `CC-BY-SA-3.0` or `CC-BY-SA-4.0` per record (by last-revision date)
10
+ - **Created (range):** 2010-11-12, 2026-09-01 (date of the page's last revision in the dump)
11
+ - **Added:** 2026-07-02; rebuilt 2026-10-05 (UTC) from the official Wikimedia dump
12
 
13
  ## Licensing — traceable basis
14
+ Wikipedia contributors license their text under CC BY-SA 4.0 under the Wikimedia
15
+ [Terms of Use](https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=554823) in effect since 7 June 2023, and under CC BY-SA 3.0 under the
16
+ [2014-2023 Terms of Use](https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=98524) (both read 2026-10-05 UTC). The pl.wikipedia site licence
17
+ (`rightsinfo`) links BY-SA 4.0. Each row is labelled by its page's last revision in the
18
+ dump:
19
+
20
+ | last revision (UTC) | `license` | documents | tokens | share of tokens |
21
+ |---|---|---:|---:|---:|
22
+ | before 2023-06-07 | `CC-BY-SA-3.0` | 190,837 | 81,023,303 | 6.6% |
23
+ | 2023-06-07 or later | `CC-BY-SA-4.0` | 1,277,819 | 1,145,890,205 | 93.4% |
24
+
25
+ A page last edited on or after the cutoff can still hold 3.0 text from earlier edits;
26
+ [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/legalcode) §4(b)(ii) lets such an adaptation be licensed under "a later
27
+ version of this License with the same License Elements", so it is labelled 4.0. The Terms
28
+ of Use give the day of the switch, not the time. The cutoff is midnight UTC, so the
29
+ 184 pages last edited on 2023-06-07 itself are labelled 4.0. If the switch came later
30
+ that day, those last edited before it are 3.0 text under a 4.0 label; a 2023-06-08 cutoff
31
+ (the rights audit's suggestion) would instead put that day's 4.0 edits under a 3.0 label,
32
+ which [4.0](https://creativecommons.org/licenses/by-sa/4.0/legalcode) §3(b)(1) ("this version or later") does not allow. Neither choice is
33
+ exact without the time of the switch. The rule is `license_for_revision` in `src/fetch_wikipedia.py`,
34
+ tested at the cutoff second, across time zones, and on a missing timestamp, which stops the
35
+ build. v0.2.0-v0.2.5 labelled every row `CC-BY-SA-3.0`.
36
+
37
+ Text pasted into an article from a copyrighted source is under neither licence. The
38
+ fetcher drops the 35 pages that carry plwiki's copyright-violation
39
+ notice `{{NPA}}` (or its redirects `{{Copyvio}}`, `{{Plagiat}}`) in the dump.
40
+ On 2026-10-05 the 31 of them not edited since the dump were re-read on
41
+ pl.wikipedia: all carry the notice (some mark one section only; the whole page is dropped).
42
+ The 4 edited after the dump were not re-read. A paste without the notice cannot
43
+ be detected by the build.
44
+
45
+ To measure undetected pastes, 40 released pages per label (seed
46
+ 20261006, page-id order) were run through Earwig's Copyvio Detector (web search and
47
+ the page's external links) on 2026-10-05. Every page whose best match reached
48
+ confidence 0.10 or a "possible"/"suspected" verdict was compared by hand
49
+ with the page history and the date of the matching text (see `wikipedia.copyvio-sample.jsonl`):
50
+
51
+ | result | `CC-BY-SA-3.0` | `CC-BY-SA-4.0` |
52
+ |---|---:|---:|
53
+ | best Earwig confidence below 0.10 and no possible/suspected verdict; not read by hand | 37 | 33 |
54
+ | shared text on a later page that copies Wikipedia | 2 | 4 |
55
+ | shared text is only a title, a name or a stock phrase, not prose | 0 | 2 |
56
+ | text copied or closely paraphrased from a copyrighted source | 1 | 1 |
57
+
58
+ 1 of 40 (`CC-BY-SA-3.0`) and 1 of 40 (`CC-BY-SA-4.0`) pages contain text
59
+ copied or closely paraphrased from a copyrighted source: `wikipedia_833396` "Obnażyć prawdę" (`CC-BY-SA-3.0`); `wikipedia_1126780` "Czarnka" (`CC-BY-SA-4.0`). They stay in
60
+ this release (the sample file notes why each is classed so). The share of such pages is below 12.9% (`CC-BY-SA-3.0`) and
61
+ 12.9% (`CC-BY-SA-4.0`), 95% Wilson upper bounds; the labels hold
62
+ 6.6% and 93.4% of the tokens. The bounds cover only
63
+ what the detector can find: print sources, translations and paraphrase scoring below the
64
+ hand-check threshold cannot match.
65
+
66
+ Evidence: `wikipedia.license-evidence.json`.
67
+
68
+ ## Attribution
69
+ Each row's `author` is `Wikipedia contributors, <page URL>`, e.g.
70
+ `Wikipedia contributors, https://pl.wikipedia.org/wiki/Warszawa`. The page history names the contributors; the Terms of Use
71
+ (section 7) accept a link or URL to the page as attribution.
72
+ `wikipedia.attribution.jsonl` has one line per row: `id`, `pageid`, `revid` (the revision
73
+ in the dump), `title`, `url`, `last_revision_at`, `license`. The row `id` is
74
+ `wikipedia_<page id>` and `created` is the date of `last_revision_at`.
75
+
76
+ The text is modified: wiki markup is converted to plain text (see Provenance).
77
 
78
  ## Provenance
79
+ Parsed from the official Wikimedia dump `plwiki-20260901-pages-articles` by
80
+ `src/fetch_wikipedia.py`: 7 shards, whose names, sizes and sha1 are in
81
+ `wikipedia.build.json`, each matched against the dump's `dumpstatus.json` and
82
+ `sha1sums.txt`. v0.2.0-v0.2.5 used the SpeakLeash `plwiki` snapshot
83
+ (`speakleash-ds-pub`); that intermediary was removed in this rebuild.
84
+
85
+ Articles (namespace 0) only. Redirects, empty pages and pages with a copyright-violation
86
+ notice are skipped. Wikitext is converted with mwparserfromhell
87
+ `strip_code(normalize=True, collapse=True)`, as in the sibling Wikimedia builders, after
88
+ removing `<ref>` bodies, file and category links and behaviour switches (`__NOTOC__`).
89
+ Templates (infoboxes, navigation boxes), `<math>`, galleries and comments are dropped;
90
+ table cells stay as flattened text; section headings stay as their own line. Of two
91
+ pages with the same text (sha1 of the stripped text), the lower page id is kept.
92
+
93
+ 2,877,278 pages scanned → 2,304,425 in namespace 0 → 598,071 redirects,
94
+ 0 empty pages and 35 with a copyright-violation notice skipped
95
+ (0 parser failures) → 1,706,319 converted →
96
+ 382 exact duplicates dropped → 1,705,937 read by the build →
97
+ 1,468,656 released.
98
+
99
+ Not cleaned: appendix headings ("Zobacz też", "Uwagi", "Przypisy", "Bibliografia", "Linki
100
+ zewnętrzne") stay in 828,389 documents (56.405%), with what is left of those sections
101
+ after the conversion (2.96% of all characters from the first such heading to the end);
102
+ 174,668 documents (11.893%) have whitespace-only lines.
103
 
104
  ## Statistics
105
  | documents | characters | tokens (tiktoken proxy) |
106
  |---:|---:|---:|
107
+ | 1,468,656 | 3,140,841,847 | 1,226,913,508 |
108
 
109
+ v0.2.5 (SpeakLeash snapshot) had 1,171,897 documents, 1,844,707,761 characters and
110
+ 707,194,207 tokens. The SpeakLeash extraction is not documented. Its text drops the
111
+ appendix sections (a line reading only "Przypisy", "Bibliografia", "Linki zewnętrzne" or
112
+ "Zobacz też" occurs in 65 of its 1,171,897 documents) and, on the page compared, lists: "Bitwa pod Grunwaldem" is 37,234 characters
113
+ in v0.2.5 and 59,133 here.
114
 
115
  ## Per-document license metadata
116
  | license | documents |
117
  |---|---:|
118
+ | `CC-BY-SA-3.0` | 190,837 |
119
+ | `CC-BY-SA-4.0` | 1,277,819 |
 
120
 
121
+ Author metadata present for **1,468,656** documents.
122
 
123
  ## Filters applied (build_dynaword.py)
124
+ - drop documents < 200 chars: **231,717**
125
+ - drop non-Polish (diacritic ratio): **5,564**
126
+ - exact cross-source dedup (sha1): **0** (the fetcher already dropped 382)
 
127
  - OCR alpha-ratio < 0.70 (OCR sources only): **0**
128
+ - read 1,705,937 → kept 1,468,656
129
 
130
  Token counts are a fast tiktoken (cl100k) proxy (~1% off Llama-3); the canonical
131
  Llama-3 count is computed at release.
132
+
133
+ ## Not checked
134
+ - pastes from copyrighted sources beyond the sample above
135
+ - the 3.0 → 4.0 label of pages edited after the cutoff (a reading of 3.0 §4(b)(ii), not a
136
+ lawyer's opinion), and the time of day of the switch (184 pages last edited on 2023-06-07)
137
+ - text imported from elsewhere under another licence or with extra attribution
138
+ requirements (Terms of Use, Re-use); notices kept in templates are removed by the conversion
139
+ - text first contributed under GFDL before the 2009 move to CC BY-SA, and GFDL dual
140
+ licensing; only the CC BY-SA grant is relied on
141
+ - quotations inside articles (Art. 29 of the Polish copyright act)
142
+ - pages tagged for speedy deletion (`{{ek}}`) are kept; how many are tagged for copyright
143
+ reasons was not counted
144
+ - personal data (the NERGAL scrub runs before release)
data/wikipedia/wikipedia.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4327aeb90bba9d94963dc65ba70fe70e7fd86e065d1a0b1ad4f7fa38950bc5b4
3
- size 864170388
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fca10e80f9ee0c8db289518a001178e1b9580d744976841144fb08784d47256e
3
+ size 1462996349
data/wikipedia/wikipedia.stats.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
- "read": 1171897,
3
- "kept": 1171897,
4
- "drop_short": 0,
5
- "drop_lang": 0,
6
  "drop_dup": 0,
7
  "drop_ocr": 0,
8
- "chars": 1844707761,
9
- "tokens": 707194207,
10
  "licenses": {
11
- "CC-BY-SA-3.0": 1171897
 
12
  },
13
- "authors_with_value": 0,
14
- "license": "CC-BY-SA-3.0",
15
- "stats_recomputed_from_parquet": true
16
- }
 
1
  {
2
+ "read": 1705937,
3
+ "kept": 1468656,
4
+ "drop_short": 231717,
5
+ "drop_lang": 5564,
6
  "drop_dup": 0,
7
  "drop_ocr": 0,
8
+ "chars": 3140841847,
9
+ "tokens": 1226913508,
10
  "licenses": {
11
+ "CC-BY-SA-4.0": 1277819,
12
+ "CC-BY-SA-3.0": 190837
13
  },
14
+ "authors_with_value": 1468656,
15
+ "secs": 36.0,
16
+ "license": "CC BY-SA (3.0 or 4.0 per record, by last-revision date)"
17
+ }
src/fetch_wikipedia.py ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Polish Wikipedia articles (ns 0) from the official plwiki dump, licence per record.
3
+
4
+ Replaces the SpeakLeash `plwiki` snapshot (v0.2.6 rights audit,
5
+ slayerlabs/polish-dynaword-v2#69). The dump date is pinned; every shard is
6
+ checked against the sha1 in dumpstatus.json and in the dump's sha1sums.txt.
7
+
8
+ B=<build dir, never committed>
9
+ python3 src/fetch_wikipedia.py discover --out $B # shards, sha1s, licence evidence
10
+ python3 src/fetch_wikipedia.py acquire --out $B # resumable download + sha1 check
11
+ python3 src/fetch_wikipedia.py extract --out $B # ns 0, no redirects, no copyvio tag
12
+ python3 src/fetch_wikipedia.py prepare --out $B # $B/wikipedia.jsonl.zst
13
+ python3 src/build_dynaword.py --sources wikipedia --speakleash-dir $B --out .
14
+ python3 src/fetch_wikipedia.py attribution --out $B # data/wikipedia sidecars
15
+ """
16
+ from __future__ import annotations
17
+
18
+ import argparse
19
+ import bz2
20
+ from collections import Counter
21
+ from concurrent.futures import ProcessPoolExecutor
22
+ from datetime import datetime, timezone
23
+ import gzip
24
+ import hashlib
25
+ import json
26
+ from pathlib import Path
27
+ import re
28
+ import subprocess
29
+ import sys
30
+ from xml.etree.ElementTree import iterparse
31
+
32
+ sys.path.insert(0, str(Path(__file__).resolve().parent))
33
+ from build_plwiki_talk_pl import ( # noqa: E402 shared plwiki dump helpers
34
+ UA, _local, digest, load, now, page_url, request, request_json, save, sha1_file,
35
+ )
36
+
37
+ SOURCE = "wikipedia"
38
+ AUTHOR = "Wikipedia contributors" # + page URL; the page history names them
39
+ DUMP_DATE = "20260901" # same snapshot as plwiki_talk / plwiki_user_talk
40
+ DUMP_BASE = f"https://dumps.wikimedia.org/plwiki/{DUMP_DATE}"
41
+ DUMPSTATUS_URL = f"{DUMP_BASE}/dumpstatus.json"
42
+ SHA1SUMS_URL = f"{DUMP_BASE}/plwiki-{DUMP_DATE}-sha1sums.txt"
43
+ SHARD_RE = re.compile(r"plwiki-\d{8}-pages-articles\d+\.xml-p\d+p\d+\.bz2")
44
+ RIGHTSINFO_URL = ("https://pl.wikipedia.org/w/api.php?action=query&meta=siteinfo"
45
+ "&siprop=rightsinfo&format=json")
46
+ # WMF Terms of Use, revision in force from 2023-06-07 (sections 7(b)/7(c); history note).
47
+ TOU_URL = "https://foundation.wikimedia.org/w/index.php?title=Policy:Terms_of_Use&oldid=554823&action=raw"
48
+ TOU_SHA256 = "c96ef93b439ff9b8242dc3233f41ede57c0984ef9153fafa51aa5f8cf0678832"
49
+ TOU_EFFECTIVE = "These Terms of Use went into effect on June 7, 2023"
50
+
51
+ # Text contributed under the 2014 ToU is CC BY-SA 3.0; the ToU in force from
52
+ # 2023-06-07 moved new text to CC BY-SA 4.0. A page last edited on or after the
53
+ # cutoff is an adaptation of its 3.0 text, which BY-SA 3.0 s4(b)(ii) lets us
54
+ # distribute under 4.0 (same licence elements). Time of day of the switch is not
55
+ # published, so midnight UTC labels that whole day 4.0 (the later licence).
56
+ BY_SA_4_CUTOFF = datetime(2023, 6, 7, tzinfo=timezone.utc)
57
+
58
+ # plwiki copyright-violation notice and its redirects (Szablon:NPA <- Copyvio, Plagiat).
59
+ # Namespace prefix is case-insensitive, the first letter of the name too.
60
+ COPYVIO_RE = re.compile(r"\{\{\s*(?:(?i:szablon|template)\s*:\s*)?(?:[Nn]PA|[Cc]opyvio|[Pp]lagiat)\s*(?:\||\}\})")
61
+ # Links that render as an image or a category, not as running text ([[:Kategoria:X]] is a text link).
62
+ NON_PROSE_NS = {"plik", "file", "image", "grafika", "media", "kategoria", "category"}
63
+ SWITCH_RE = re.compile(r"__[A-ZĄĆĘŁŃÓŚŹŻ]+__") # __NOTOC__, __BEZSPISU__
64
+
65
+
66
+ def _non_prose(node) -> bool:
67
+ from mwparserfromhell.nodes import Tag, Wikilink
68
+ if isinstance(node, Tag):
69
+ return str(node.tag).strip().lower() == "ref"
70
+ if isinstance(node, Wikilink):
71
+ title = str(node.title).strip()
72
+ return ":" in title and not title.startswith(":") and title.split(":", 1)[0].strip().lower() in NON_PROSE_NS
73
+ return False
74
+
75
+
76
+ def strip_article(wikitext: str) -> str | None:
77
+ """The sibling builders' strip_code, minus what it leaves as text: <ref> bodies,
78
+ "thumb|250px|caption" of file links, "Kategoria:X" lines, behaviour switches.
79
+ None when mwparserfromhell fails on the page."""
80
+ import mwparserfromhell
81
+ try:
82
+ code = mwparserfromhell.parse(wikitext)
83
+ for node in code.filter(matches=_non_prose):
84
+ try:
85
+ code.remove(node)
86
+ except ValueError: # nested in a node removed earlier
87
+ pass
88
+ text = code.strip_code(normalize=True, collapse=True)
89
+ except Exception: # noqa: BLE001 parser failure drops the page, counted
90
+ return None
91
+ return SWITCH_RE.sub("", text).strip()
92
+
93
+
94
+ def license_for_revision(timestamp: str | None) -> str:
95
+ """SPDX label for a page whose last revision is at `timestamp` (ISO 8601 with zone)."""
96
+ if not timestamp:
97
+ raise ValueError("missing revision timestamp")
98
+ ts = datetime.fromisoformat(timestamp)
99
+ if ts.tzinfo is None:
100
+ raise ValueError(f"revision timestamp without timezone: {timestamp!r}")
101
+ return "CC-BY-SA-4.0" if ts >= BY_SA_4_CUTOFF else "CC-BY-SA-3.0"
102
+
103
+
104
+ def text_key(text: str) -> bytes:
105
+ """Exact-duplicate key, identical to build_dynaword's (sha1 of the stripped text)."""
106
+ return hashlib.sha1(text.strip().encode("utf-8")).digest()
107
+
108
+
109
+ def discover(out: Path) -> None:
110
+ status = request_json(DUMPSTATUS_URL)
111
+ sums = {name: sha for sha, name in (line.split() for line in request(SHA1SUMS_URL).text.splitlines() if line.strip())}
112
+ job = status["jobs"]["articlesdump"]
113
+ if job.get("status") != "done":
114
+ raise ValueError(f"articlesdump not done: {job.get('status')}")
115
+ files = sorted(({"name": name, "url": f"{DUMP_BASE}/{name}", "size": meta["size"], "sha1": meta["sha1"]}
116
+ for name, meta in job["files"].items() if SHARD_RE.fullmatch(name)),
117
+ key=lambda f: int(re.search(r"-p(\d+)p", f["name"]).group(1)))
118
+ if not files:
119
+ raise ValueError("no pages-articles shards")
120
+ for f in files:
121
+ if sums.get(f["name"]) != f["sha1"]:
122
+ raise ValueError(f"sha1sums.txt disagrees with dumpstatus.json for {f['name']}")
123
+ rights = request_json(RIGHTSINFO_URL)["query"]["rightsinfo"]
124
+ if "creativecommons.org/licenses/by-sa/4.0" not in rights.get("url", ""):
125
+ raise ValueError(f"plwiki rightsinfo changed: {rights}")
126
+ tou = request(TOU_URL).content
127
+ if hashlib.sha256(tou).hexdigest() != TOU_SHA256 or TOU_EFFECTIVE.encode() not in tou:
128
+ raise ValueError("pinned Terms of Use revision changed")
129
+ save(out / "selection.json", {
130
+ "observed_at": now(), "dump_date": DUMP_DATE, "dump_base": DUMP_BASE,
131
+ "dumpstatus_url": DUMPSTATUS_URL, "sha1sums_url": SHA1SUMS_URL, "files": files,
132
+ "total_bytes": sum(f["size"] for f in files), "rightsinfo": rights,
133
+ "terms_of_use": {"url": TOU_URL, "sha256": TOU_SHA256, "effective": TOU_EFFECTIVE},
134
+ "by_sa_4_cutoff": BY_SA_4_CUTOFF.isoformat(),
135
+ })
136
+ print(f"{len(files)} shards, {sum(f['size'] for f in files) / 1e9:.2f} GB")
137
+
138
+
139
+ def acquire(out: Path) -> None:
140
+ raw = out / "raw_dump"
141
+ raw.mkdir(parents=True, exist_ok=True)
142
+ for f in load(out / "selection.json")["files"]:
143
+ dst = raw / f["name"]
144
+ if not dst.exists() or dst.stat().st_size != f["size"]:
145
+ subprocess.run(["curl", "-fsSL", "--retry", "8", "-C", "-", "-A", UA["User-Agent"],
146
+ "-o", str(dst), f["url"]], check=True)
147
+ if sha1_file(dst) != f["sha1"]:
148
+ raise ValueError(f"sha1 mismatch: {f['name']}")
149
+ print(f" {f['name']} sha1 OK", flush=True)
150
+
151
+
152
+ def pages(fh):
153
+ """Yield (pageid, revid, ns, title, timestamp, is_redirect, wikitext) per <page>."""
154
+ ids, title = [], None
155
+ ns = timestamp = text = None
156
+ redirect = False
157
+ for _, el in iterparse(fh, events=("end",)):
158
+ tag = _local(el.tag)
159
+ if tag == "title":
160
+ title = el.text
161
+ elif tag == "ns":
162
+ ns = el.text
163
+ elif tag == "id" and len(ids) < 2: # <page><id>, then <revision><id>
164
+ ids.append(el.text)
165
+ elif tag == "timestamp":
166
+ timestamp = el.text
167
+ elif tag == "redirect":
168
+ redirect = True
169
+ elif tag == "text":
170
+ text = el.text
171
+ elif tag == "page":
172
+ yield ids[0], ids[1], ns, title, timestamp, redirect, text or ""
173
+ ids, title, ns, timestamp, text, redirect = [], None, None, None, None, False
174
+ el.clear()
175
+
176
+
177
+ def extract_shard(src: Path, dst: Path) -> dict:
178
+ counts, copyvio = Counter(), []
179
+ tmp = dst.with_suffix(".tmp")
180
+ with bz2.open(src, "rb") as fh, gzip.open(tmp, "wt", encoding="utf-8") as fo:
181
+ for pageid, revid, ns, title, timestamp, redirect, wikitext in pages(fh):
182
+ counts["pages"] += 1
183
+ if ns != "0":
184
+ continue
185
+ counts["ns0"] += 1
186
+ if redirect:
187
+ counts["ns0_redirect"] += 1
188
+ elif not wikitext.strip():
189
+ counts["ns0_empty"] += 1
190
+ elif COPYVIO_RE.search(wikitext):
191
+ counts["ns0_copyvio_tag"] += 1
192
+ copyvio.append({"pageid": pageid, "title": title})
193
+ elif (text := strip_article(wikitext)) is None:
194
+ counts["ns0_strip_error"] += 1
195
+ else:
196
+ counts["extracted"] += 1
197
+ fo.write(json.dumps({"pageid": pageid, "revid": revid, "title": title, "timestamp": timestamp,
198
+ "wikitext_chars": len(wikitext), "text": text}, ensure_ascii=False) + "\n")
199
+ result = {"shard": src.name, "counts": dict(counts), "copyvio_tagged": copyvio}
200
+ save(dst.with_name(src.name + ".counts.json"), result)
201
+ tmp.rename(dst)
202
+ return result
203
+
204
+
205
+ def extract(out: Path, workers: int) -> None:
206
+ files = load(out / "selection.json")["files"]
207
+ ext = out / "extracted"
208
+ ext.mkdir(exist_ok=True)
209
+ todo = [f["name"] for f in files if not (ext / (f["name"] + ".jsonl.gz")).exists()]
210
+ for f in files: # acquire checked the sha1; refuse a shard it has not finished
211
+ if f["name"] in todo and (out / "raw_dump" / f["name"]).stat().st_size != f["size"]:
212
+ raise ValueError(f"incomplete shard, run acquire: {f['name']}")
213
+ with ProcessPoolExecutor(max_workers=workers) as pool:
214
+ for r in pool.map(extract_shard, [out / "raw_dump" / n for n in todo],
215
+ [ext / (n + ".jsonl.gz") for n in todo]):
216
+ print(f" {r['shard']}: {r['counts']}", flush=True)
217
+
218
+
219
+ def prepare(out: Path) -> None:
220
+ """Label each page, drop exact duplicates keeping the lowest page id, write the build input."""
221
+ files = load(out / "selection.json")["files"]
222
+ seen, counts = set(), Counter()
223
+ duplicates = []
224
+ zst = subprocess.Popen(["zstd", "-q", "-f", "-3", "-o", str(out / f"{SOURCE}.jsonl.zst")],
225
+ stdin=subprocess.PIPE)
226
+ with gzip.open(out / "manifest.jsonl.gz", "wt", encoding="utf-8") as manifest:
227
+ for f in files: # shards are in page-id order, pages inside a shard too
228
+ with gzip.open(out / "extracted" / (f["name"] + ".jsonl.gz"), "rt", encoding="utf-8") as fh:
229
+ for line in fh:
230
+ row = json.loads(line)
231
+ counts["extracted"] += 1
232
+ key = text_key(row["text"])
233
+ if key in seen:
234
+ duplicates.append(row["pageid"])
235
+ continue
236
+ seen.add(key)
237
+ label = license_for_revision(row["timestamp"])
238
+ counts[label] += 1
239
+ row_id, url = f"{SOURCE}_{row['pageid']}", page_url(row["title"])
240
+ zst.stdin.write((json.dumps({
241
+ "id": row_id, "text": row["text"], "created": row["timestamp"][:10],
242
+ "license": label, "author": f"{AUTHOR}, {url}",
243
+ }, ensure_ascii=False) + "\n").encode("utf-8"))
244
+ manifest.write(json.dumps({
245
+ "id": row_id, "pageid": int(row["pageid"]), "revid": int(row["revid"]),
246
+ "title": row["title"], "url": url,
247
+ "last_revision_at": row["timestamp"], "license": label,
248
+ }, ensure_ascii=False) + "\n")
249
+ zst.stdin.close()
250
+ if zst.wait():
251
+ raise RuntimeError("zstd failed")
252
+ counts["exact_duplicate"] = len(duplicates)
253
+ save(out / "prepare.json", {"counts": dict(counts), "exact_duplicate_pageids": duplicates})
254
+ print(dict(counts))
255
+
256
+
257
+ def attribution(out: Path, data_dir: Path) -> None:
258
+ """Sidecars for the rows build_dynaword kept: per-page attribution and the build record."""
259
+ import pyarrow.parquet as pq
260
+ kept = set(pq.read_table(data_dir / f"{SOURCE}.parquet", columns=["id"])["id"].to_pylist())
261
+ n = 0
262
+ with gzip.open(out / "manifest.jsonl.gz", "rt", encoding="utf-8") as fh, \
263
+ (data_dir / f"{SOURCE}.attribution.jsonl").open("w", encoding="utf-8") as fo:
264
+ for line in fh:
265
+ if json.loads(line)["id"] in kept:
266
+ fo.write(line)
267
+ n += 1
268
+ if n != len(kept):
269
+ raise ValueError(f"attribution rows {n} != parquet rows {len(kept)}")
270
+ selection = load(out / "selection.json")
271
+ shards = [load(out / "extracted" / (f["name"] + ".counts.json")) for f in selection["files"]]
272
+ save(data_dir / f"{SOURCE}.build.json", {
273
+ "dump_date": selection["dump_date"], "dump_base": selection["dump_base"],
274
+ "sha1sums_url": selection["sha1sums_url"], "files": selection["files"],
275
+ "rightsinfo": selection["rightsinfo"], "terms_of_use": selection["terms_of_use"],
276
+ "by_sa_4_cutoff": selection["by_sa_4_cutoff"], "discovered_at": selection["observed_at"],
277
+ "extract": dict(sum((Counter(s["counts"]) for s in shards), Counter())),
278
+ "copyvio_tagged": [p for s in shards for p in s["copyvio_tagged"]],
279
+ "prepare": load(out / "prepare.json"),
280
+ "attribution_rows": n, "attribution_sha256": digest((data_dir / f"{SOURCE}.attribution.jsonl").read_bytes()),
281
+ })
282
+ print(f"attribution rows: {n}")
283
+
284
+
285
+ def main() -> None:
286
+ ap = argparse.ArgumentParser()
287
+ ap.add_argument("step", choices=["discover", "acquire", "extract", "prepare", "attribution"])
288
+ ap.add_argument("--out", required=True, type=Path)
289
+ ap.add_argument("--data-dir", type=Path, default=Path(__file__).resolve().parent.parent / "data" / SOURCE)
290
+ ap.add_argument("--workers", type=int, default=8)
291
+ a = ap.parse_args()
292
+ a.out.mkdir(parents=True, exist_ok=True)
293
+ {"discover": lambda: discover(a.out), "acquire": lambda: acquire(a.out),
294
+ "extract": lambda: extract(a.out, a.workers), "prepare": lambda: prepare(a.out),
295
+ "attribution": lambda: attribution(a.out, a.data_dir)}[a.step]()
296
+
297
+
298
+ if __name__ == "__main__":
299
+ main()
src/sources.py CHANGED
@@ -114,16 +114,35 @@ SOURCES = {
114
  "wikipedia": {
115
  "added": "2026-07-02",
116
  "release": "0.2.0",
117
- "speakleash_key": "plwiki",
 
 
118
  "pretty": "Polish Wikipedia",
119
- "license": "CC-BY-SA-3.0",
120
- "license_spdx": "CC-BY-SA-3.0",
121
- "traceable": "Wikimedia dumps explicitly released under CC-BY-SA 3.0; "
122
- "attribution to contributors + share-alike preserved.",
123
- "upstream": "https://dumps.wikimedia.org/plwiki/latest/",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  "domain": "encyclopedic",
125
- "created": "2001-01-15, 2026-06-14",
126
  "is_ocr": False,
 
127
  },
128
  "wikisource": {
129
  "added": "2026-07-02",
 
114
  "wikipedia": {
115
  "added": "2026-07-02",
116
  "release": "0.2.0",
117
+ "file_key": "wikipedia",
118
+ "preserve_id": True,
119
+ "preserve_created": True,
120
  "pretty": "Polish Wikipedia",
121
+ "provenance": "Parsed directly from the official Wikimedia dump "
122
+ "plwiki-20260901-pages-articles (7 shards, sha1 checked against the "
123
+ "dump's sha1sums.txt) by src/fetch_wikipedia.py. Articles (namespace 0) "
124
+ "only, no redirects; one document per page, id from the page id. "
125
+ "v0.2.0-v0.2.5 used the SpeakLeash plwiki snapshot; that intermediary "
126
+ "was removed in the v0.2.6 rebuild.",
127
+ "legal_note": "Pages carrying the plwiki copyright-violation notice {{NPA}} (or its "
128
+ "redirects {{Copyvio}}, {{Plagiat}}) in the dump are dropped. Text "
129
+ "pasted into an article without such a notice cannot be detected; a "
130
+ "stratified web sample is recorded in wikipedia.license-evidence.json.",
131
+ "license": "CC BY-SA (3.0 or 4.0 per record, by last-revision date)",
132
+ "license_spdx": "MIXED",
133
+ "traceable": "Contributors license their text under CC BY-SA 4.0 since the Wikimedia "
134
+ "Terms of Use of 2023-06-07, under CC BY-SA 3.0 before. A page whose "
135
+ "last revision predates 2023-06-07 is labelled CC-BY-SA-3.0; a page "
136
+ "revised on or after that day is an adaptation of the 3.0 text, which "
137
+ "3.0 §4(b)(ii) allows under 4.0, and is labelled CC-BY-SA-4.0. Each "
138
+ "row's author field links its page, whose history names the "
139
+ "contributors; wikipedia.attribution.jsonl gives page id, revision id, "
140
+ "title and last-revision time per row.",
141
+ "upstream": "https://dumps.wikimedia.org/plwiki/20260901/",
142
  "domain": "encyclopedic",
143
+ "created": "2010-11-12, 2026-09-01",
144
  "is_ocr": False,
145
+ "custom_datasheet": True,
146
  },
147
  "wikisource": {
148
  "added": "2026-07-02",
src/test_wikipedia_contract.py ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Unit and contract checks for the wikipedia source (src/fetch_wikipedia.py)."""
2
+
3
+ import bz2
4
+ from collections import Counter
5
+ import io
6
+ import json
7
+ from pathlib import Path
8
+ import re
9
+ import shutil
10
+ import subprocess
11
+
12
+ import pyarrow as pa
13
+ import pyarrow.parquet as pq
14
+ import pytest
15
+
16
+ import fetch_wikipedia as fw
17
+ from sources import SOURCES
18
+ from verify_paper_claims import license_family
19
+
20
+ ROOT = Path(__file__).resolve().parents[1]
21
+ DATA = ROOT / "data" / "wikipedia"
22
+
23
+
24
+ # --- licence label per last-revision timestamp -------------------------------------------
25
+
26
+ @pytest.mark.parametrize("timestamp, label", [
27
+ ("2023-06-07T00:00:00Z", "CC-BY-SA-4.0"), # exactly the cutoff
28
+ ("2023-06-06T23:59:59Z", "CC-BY-SA-3.0"), # one second before
29
+ ("2023-06-07T00:30:00+01:00", "CC-BY-SA-3.0"), # 2023-06-06T23:30Z
30
+ ("2023-06-06T23:30:00-01:00", "CC-BY-SA-4.0"), # 2023-06-07T00:30Z
31
+ ("2004-03-01T10:00:00Z", "CC-BY-SA-3.0"),
32
+ ("2026-09-01T12:00:00Z", "CC-BY-SA-4.0"),
33
+ ])
34
+ def test_license_for_revision(timestamp, label):
35
+ assert fw.license_for_revision(timestamp) == label
36
+
37
+
38
+ @pytest.mark.parametrize("timestamp", [None, "", "2023-06-07T00:00:00", "2023-06-07", "not a date"])
39
+ def test_license_for_revision_fails_without_a_zoned_timestamp(timestamp):
40
+ with pytest.raises(ValueError):
41
+ fw.license_for_revision(timestamp)
42
+
43
+
44
+ # --- wikitext -> text ----------------------------------------------------------------------
45
+
46
+ @pytest.mark.parametrize("wikitext, tagged", [
47
+ ("{{NPA|http://example.pl}}\nTekst", True),
48
+ ("{{nPA}}", True), # first letter is case-insensitive in MediaWiki titles
49
+ ("{{npa}}", False), # Szablon:Npa is a different (missing) page
50
+ ("{{ Szablon:Copyvio | url }}", True),
51
+ ("{{szablon:plagiat}}", True),
52
+ ("{{NPAx}}", False),
53
+ ("{{Nie NPA}}", False),
54
+ ("Skrót NPA w tekście", False),
55
+ ])
56
+ def test_copyvio_tag(wikitext, tagged):
57
+ assert bool(fw.COPYVIO_RE.search(wikitext)) is tagged
58
+
59
+
60
+ def test_strip_article_drops_markup_left_by_strip_code():
61
+ wikitext = ("'''Ala''' ma kota<ref>Jan K., ''Koty'', 2001.</ref> i psa<ref name=\"x\" />.\n"
62
+ "[[Plik:Kot.jpg|thumb|250px|Kot [[Ala|Ali]]]]\n[[File:a.png|mały|x]]\n"
63
+ "Zob. [[:Kategoria:Koty|koty]] i [[Pies|psy]].\n__NOTOC__\n"
64
+ "[[Kategoria:Koty]]\n[[kategoria:Psy|*]]")
65
+ assert fw.strip_article(wikitext) == "Ala ma kota i psa.\n\nZob. koty i psy."
66
+
67
+
68
+ # --- dump pipeline on a fixture ------------------------------------------------------------
69
+
70
+ def _page(pageid, title, ns, timestamp, text, redirect=False):
71
+ return (f"<page><title>{title}</title><ns>{ns}</ns><id>{pageid}</id>"
72
+ + ('<redirect title="Ala" />' if redirect else "")
73
+ + f"<revision><id>{pageid * 100}</id><parentid>1</parentid><timestamp>{timestamp}</timestamp>"
74
+ f"<contributor><username>U</username><id>7</id></contributor>"
75
+ f"<text bytes=\"1\">{text}</text><sha1>x</sha1></revision></page>")
76
+
77
+
78
+ BODY = "Ala jest polskim imieniem żeńskim, noszonym przez wiele znanych osób w różnych epokach. " * 4
79
+ OTHER = "Pies domowy jest udomowionym ssakiem z rodziny psowatych, towarzyszem człowieka od wieków. " * 4
80
+ XML = ('<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.11/"><siteinfo><sitename>W</sitename></siteinfo>'
81
+ + _page(10, "Ala", 0, "2023-06-07T00:00:00Z", BODY + "[[Kategoria:Imiona]]")
82
+ + _page(11, "Przekierowanie", 0, "2020-01-01T00:00:00Z", "#PATRZ [[Ala]]", redirect=True)
83
+ + _page(12, "Dyskusja:Ala", 1, "2020-01-01T00:00:00Z", BODY)
84
+ + _page(13, "Kot", 0, "2020-01-01T00:00:00Z", "{{NPA|http://x.pl}}" + OTHER)
85
+ + _page(14, "Ala (imię)", 0, "2010-01-01T00:00:00Z", BODY)
86
+ + _page(15, "Pusty", 0, "2010-01-01T00:00:00Z", "")
87
+ + _page(16, "Pies", 0, "2023-06-06T23:59:59Z", OTHER)
88
+ + "</mediawiki>")
89
+ SHARD = "plwiki-20260901-pages-articles1.xml-p1p20.bz2"
90
+
91
+
92
+ def test_pages_reads_page_and_revision_ids_not_contributor_id():
93
+ rows = list(fw.pages(io.BytesIO(XML.encode())))
94
+ assert [r[:3] for r in rows][:2] == [("10", "1000", "0"), ("11", "1100", "0")]
95
+ assert rows[1][5] is True and rows[0][5] is False
96
+
97
+
98
+ @pytest.mark.skipif(shutil.which("zstd") is None, reason="zstd CLI")
99
+ def test_extract_prepare_attribution_end_to_end(tmp_path):
100
+ (tmp_path / "raw_dump").mkdir()
101
+ (tmp_path / "extracted").mkdir()
102
+ (tmp_path / "raw_dump" / SHARD).write_bytes(bz2.compress(XML.encode()))
103
+ fw.save(tmp_path / "selection.json", {
104
+ "observed_at": "t", "dump_date": "20260901", "dump_base": "b", "sha1sums_url": "s",
105
+ "files": [{"name": SHARD}], "rightsinfo": {}, "terms_of_use": {}, "by_sa_4_cutoff": "c",
106
+ })
107
+ result = fw.extract_shard(tmp_path / "raw_dump" / SHARD, tmp_path / "extracted" / (SHARD + ".jsonl.gz"))
108
+ assert result["counts"] == {"pages": 7, "ns0": 6, "ns0_redirect": 1, "ns0_empty": 1,
109
+ "ns0_copyvio_tag": 1, "extracted": 3}
110
+ assert result["copyvio_tagged"] == [{"pageid": "13", "title": "Kot"}]
111
+
112
+ fw.prepare(tmp_path)
113
+ out = subprocess.run(["zstd", "-dc", str(tmp_path / "wikipedia.jsonl.zst")], capture_output=True, check=True)
114
+ rows = [json.loads(line) for line in out.stdout.decode().splitlines()]
115
+ assert [r["id"] for r in rows] == ["wikipedia_10", "wikipedia_16"] # 14 duplicates 10's text
116
+ assert [r["license"] for r in rows] == ["CC-BY-SA-4.0", "CC-BY-SA-3.0"]
117
+ assert [r["created"] for r in rows] == ["2023-06-07", "2023-06-06"]
118
+ assert rows[0]["author"] == "Wikipedia contributors, https://pl.wikipedia.org/wiki/Ala"
119
+ assert "Kategoria" not in rows[0]["text"]
120
+ assert fw.load(tmp_path / "prepare.json") == {
121
+ "counts": {"extracted": 3, "CC-BY-SA-4.0": 1, "CC-BY-SA-3.0": 1, "exact_duplicate": 1},
122
+ "exact_duplicate_pageids": ["14"]}
123
+
124
+ data = tmp_path / "data"
125
+ data.mkdir()
126
+ pq.write_table(pa.table({"id": ["wikipedia_16"]}), data / "wikipedia.parquet") # build kept one row
127
+ fw.attribution(tmp_path, data)
128
+ sidecar = [json.loads(line) for line in (data / "wikipedia.attribution.jsonl").read_text().splitlines()]
129
+ assert sidecar == [{"id": "wikipedia_16", "pageid": 16, "revid": 1600, "title": "Pies",
130
+ "url": "https://pl.wikipedia.org/wiki/Pies",
131
+ "last_revision_at": "2023-06-06T23:59:59Z", "license": "CC-BY-SA-3.0"}]
132
+ build = fw.load(data / "wikipedia.build.json")
133
+ assert build["attribution_rows"] == 1 and build["extract"]["ns0_copyvio_tag"] == 1
134
+
135
+
136
+ # --- released data -------------------------------------------------------------------------
137
+
138
+ def _released():
139
+ table = pq.read_table(DATA / "wikipedia.parquet", columns=["id", "source", "created", "license", "author"])
140
+ return table, table.to_pydict()
141
+
142
+
143
+ def test_registry_entry():
144
+ entry = SOURCES["wikipedia"]
145
+ assert entry["file_key"] == "wikipedia" and "speakleash_key" not in entry
146
+ assert entry["preserve_id"] is True and entry["preserve_created"] is True
147
+ assert entry["license_spdx"] == "MIXED" and entry["release"] == "0.2.0"
148
+ assert fw.DUMP_DATE in entry["upstream"] and "SpeakLeash" in entry["provenance"]
149
+ # both labels are CC BY-SA: the source stays in that family of the paper's licence table
150
+ assert license_family(entry["license"]) == "CC-BY-SA"
151
+
152
+
153
+ def test_schema_ids_and_counts():
154
+ stats = json.loads((DATA / "wikipedia.stats.json").read_text(encoding="utf-8"))
155
+ build = json.loads((DATA / "wikipedia.build.json").read_text(encoding="utf-8"))
156
+ schema = pq.read_schema(DATA / "wikipedia.parquet")
157
+ assert schema.names == ["id", "text", "source", "added", "created", "token_count", "license", "author"]
158
+ table, cols = _released()
159
+ assert table.num_rows == stats["kept"] == build["attribution_rows"]
160
+ assert stats["read"] == build["prepare"]["counts"]["extracted"] - build["prepare"]["counts"]["exact_duplicate"]
161
+ assert stats["drop_dup"] == 0 # the fetcher already dropped exact duplicates, lowest page id kept
162
+ assert len(set(cols["id"])) == table.num_rows
163
+ assert all(re.fullmatch(r"wikipedia_\d+", i) for i in cols["id"])
164
+ assert set(cols["source"]) == {"wikipedia"}
165
+ tagged = {f"wikipedia_{p['pageid']}" for p in build["copyvio_tagged"]}
166
+ assert tagged and not tagged & set(cols["id"])
167
+ assert [f["name"] for f in build["files"]] == sorted(
168
+ (f["name"] for f in build["files"]), key=lambda n: int(re.search(r"-p(\d+)p", n).group(1)))
169
+ assert all(re.fullmatch(r"[0-9a-f]{40}", f["sha1"]) for f in build["files"])
170
+
171
+
172
+ def test_every_row_label_follows_its_last_revision():
173
+ table, cols = _released()
174
+ meta = {}
175
+ with (DATA / "wikipedia.attribution.jsonl").open(encoding="utf-8") as fh:
176
+ for line in fh:
177
+ row = json.loads(line)
178
+ meta[row["id"]] = row
179
+ assert len(meta) == table.num_rows
180
+ for row_id, created, label, author in zip(cols["id"], cols["created"], cols["license"], cols["author"]):
181
+ m = meta[row_id]
182
+ assert label == m["license"] == fw.license_for_revision(m["last_revision_at"])
183
+ assert created == m["last_revision_at"][:10]
184
+ assert author == f"{fw.AUTHOR}, {m['url']}"
185
+ assert row_id == f"wikipedia_{m['pageid']}"
186
+ stats = json.loads((DATA / "wikipedia.stats.json").read_text(encoding="utf-8"))
187
+ evidence = json.loads((DATA / "wikipedia.license-evidence.json").read_text(encoding="utf-8"))
188
+ assert stats["licenses"] == dict(Counter(cols["license"])) == evidence["release_scope"]["labels"]
189
+
190
+
191
+ def test_copyright_sample_matches_the_release():
192
+ """The sample must be redrawn if the released rows change."""
193
+ import random
194
+
195
+ sample = json.loads((DATA / "wikipedia.license-evidence.json").read_text(encoding="utf-8"))["copyright_sample"]
196
+ rows = [json.loads(line) for line in (DATA / sample["file"]).read_text(encoding="utf-8").splitlines()]
197
+ _, cols = _released()
198
+ random.seed(sample["seed"])
199
+ expected = []
200
+ for label in sorted(sample["per_stratum"]):
201
+ ids = sorted((i for i, lic in zip(cols["id"], cols["license"]) if lic == label),
202
+ key=lambda i: int(i.split("_")[1])) # page-id order, not parquet row order
203
+ expected += [(label, i) for i in random.sample(ids, sample["per_stratum"][label])]
204
+ assert [(r["stratum"], r["id"]) for r in rows] == expected
205
+ assert [r["n"] for r in rows] == list(range(1, len(expected) + 1))
206
+ assert all(r["class"] in sample["classes_defined"] for r in rows)
207
+ assert dict(Counter(r["class"] for r in rows)) == sample["classes"]