studia_bas: record the licence notices of the 17 issue PDFs (v2#79)
#90
by ppuzio - opened
data/studia_bas/studia_bas.license-evidence.json
CHANGED
|
@@ -171,8 +171,8 @@
|
|
| 171 |
"version_resolution": {
|
| 172 |
"checked_at": "2026-10-06",
|
| 173 |
"question": "The registry and every row say CC BY 3.0 PL; the DOAJ record of the journal lists CC BY 4.0 (rights audit 2026-10, action \"resolve 3.0 vs 4.0\"). Which version applies?",
|
| 174 |
-
"conclusion": "CC BY 3.0 PL for all 112 rows. Every statement by the publisher that could be read names 3.0 PL: seven archived captures from 2021-07-11 to 2024-09-08 and three live pages on 2026-10-06, in Polish and English, with the cutoff at issue 2(66)/2021 wherever a cutoff is stated. The newest issue listed is 2(82)2025, the last issue in the data, so the live statement covers every row. Nothing shows a version change between issues, so no per-row version label is needed. DOAJ is the only source that says 4.0.",
|
| 175 |
-
"method": "Read-only. Wayback Machine replays (id_ form, bodies hashed after HTTP content decoding) of the journal's open-access page (seria=4) and author-instructions page (view=5), found with the CDX API. No Save Page Now request, no CAPTCHA was answered
|
| 176 |
"journal_statements_readable": [
|
| 177 |
{
|
| 178 |
"wayback_timestamp": "20210711180906",
|
|
@@ -295,6 +295,151 @@
|
|
| 295 |
],
|
| 296 |
"latest_issue_listed": "2(82)2025"
|
| 297 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 298 |
"journal_statements_blocked": {
|
| 299 |
"note": "These archived captures are a human-verification page, not the journal page. The earliest is 2025-11-15. The archive therefore holds no readable copy after 2024-09-08; the live pages above close that gap for 2026-10-06. The human-verification page can come back for other clients or request rates.",
|
| 300 |
"captures": [
|
|
@@ -350,8 +495,7 @@
|
|
| 350 |
"works_with_license_deposit": 0
|
| 351 |
},
|
| 352 |
"not_established": [
|
| 353 |
-
"No readable capture exists between 2024-09-08 and 2026-10-06, so
|
| 354 |
-
"The PDF notices (pdf_issue_editorial_notice, pdf_article_license_notice above) were not re-read: they would need a download of the issue PDFs (17 files, 51,701,823 bytes) from orka.sejm.gov.pl.",
|
| 355 |
"CEJSH and BazHum: guessed record URLs returned 404, no record was located."
|
| 356 |
]
|
| 357 |
}
|
|
|
|
| 171 |
"version_resolution": {
|
| 172 |
"checked_at": "2026-10-06",
|
| 173 |
"question": "The registry and every row say CC BY 3.0 PL; the DOAJ record of the journal lists CC BY 4.0 (rights audit 2026-10, action \"resolve 3.0 vs 4.0\"). Which version applies?",
|
| 174 |
+
"conclusion": "CC BY 3.0 PL for all 112 rows. Every statement by the publisher that could be read names 3.0 PL: seven archived captures from 2021-07-11 to 2024-09-08 and three live pages on 2026-10-06, in Polish and English, with the cutoff at issue 2(66)/2021 wherever a cutoff is stated. The newest issue listed is 2(82)2025, the last issue in the data, so the live statement covers every row. Nothing shows a version change between issues, so no per-row version label is needed. DOAJ is the only source that says 4.0. The 17 issue PDFs, re-read on 2026-10-06 and byte-identical to the ones the build used, carry the 3.0 PL notice on the editorial page and on each of their 115 articles, including issues 80-82.",
|
| 175 |
+
"method": "Read-only. Wayback Machine replays (id_ form, bodies hashed after HTTP content decoding) of the journal's open-access page (seria=4) and author-instructions page (view=5), found with the CDX API; three live journal pages fetched once each on 2026-10-06 (journal_statements_live); the 17 issue PDFs downloaded in a browser on 2026-10-06 (pdf_notices). No Save Page Now request, no CAPTCHA was answered.",
|
| 176 |
"journal_statements_readable": [
|
| 177 |
{
|
| 178 |
"wayback_timestamp": "20210711180906",
|
|
|
|
| 295 |
],
|
| 296 |
"latest_issue_listed": "2(82)2025"
|
| 297 |
},
|
| 298 |
+
"pdf_notices": {
|
| 299 |
+
"retrieved_at": "2026-10-06T17:08Z/17:12Z",
|
| 300 |
+
"note": "A maintainer downloaded each issue PDF in a browser from orka.sejm.gov.pl; scripted GETs to the issue agent got an HTTP 403 from the host's bot protection (slayerlabs/polish-dynaword-v2#79). url is the browser's recorded download source. Every file's sha256 equals its eligible_pdfs entry, so these are the bytes the build read. Text was extracted with PyMuPDF; a notice counts when, after whitespace normalisation, it is pdf_issue_editorial_notice or pdf_article_license_notice word for word. No other licence wording occurs: the remaining matches for licencj-/licens- are article prose (licencjat, patent licences, music licences).",
|
| 301 |
+
"issue_editorial_notices": 17,
|
| 302 |
+
"article_notices": 115,
|
| 303 |
+
"article_notices_vs_rows": "115 articles carry the notice; the build read 115 and kept 112 (3 dropped by the language gate, in issues 67, 69 and 82).",
|
| 304 |
+
"issues": [
|
| 305 |
+
{
|
| 306 |
+
"issue": 66,
|
| 307 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/7DAB99AC86D96E3CC125871F003BA8D5/$file/Studia_BAS_66.pdf",
|
| 308 |
+
"sha256": "f318ff61f5f7ce4a6df408a73439884d11a185d50811c16c09a6254eeabf1185",
|
| 309 |
+
"pages": 216,
|
| 310 |
+
"editorial_notice_page": 4,
|
| 311 |
+
"article_notices": 9
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"issue": 67,
|
| 315 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/49F50261396D1C31C1258766003B80EC/$file/Studia_BAS_67.pdf",
|
| 316 |
+
"sha256": "6a65b4abc1abe005bcf6d83a010361648061bd15f90f2593a58afcb49912a6b0",
|
| 317 |
+
"pages": 154,
|
| 318 |
+
"editorial_notice_page": 4,
|
| 319 |
+
"article_notices": 7
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"issue": 68,
|
| 323 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/4DCB7E728723B9AEC12587CA00292023/$file/Studia_BAS_68.pdf",
|
| 324 |
+
"sha256": "dad27e0f21ae93c9a9218d8b8e529b90e5e33aebbcd7ed651ad214d293e19bc9",
|
| 325 |
+
"pages": 196,
|
| 326 |
+
"editorial_notice_page": 2,
|
| 327 |
+
"article_notices": 9
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"issue": 69,
|
| 331 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/6E1D5DD629646164C125882F0042EA9D/$file/Studia_BAS_69.pdf",
|
| 332 |
+
"sha256": "4f574d44fd97496975345dcc0fbc86903cfe57d446655b2c42bbe80402cb8e8d",
|
| 333 |
+
"pages": 140,
|
| 334 |
+
"editorial_notice_page": 4,
|
| 335 |
+
"article_notices": 7
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"issue": 70,
|
| 339 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/839E66746D1AB0D9C1258895002642E7/$file/Studia_BAS_70.pdf",
|
| 340 |
+
"sha256": "4ba093eb43594c929cc62ba86f46ac0a285430b27022b1f434454835e19a048b",
|
| 341 |
+
"pages": 190,
|
| 342 |
+
"editorial_notice_page": 2,
|
| 343 |
+
"article_notices": 8
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"issue": 71,
|
| 347 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/549E7516259526CCC12588E500290C5F/$file/Studia_BAS_71.pdf",
|
| 348 |
+
"sha256": "356f7305608d52b851805b330a7e6d24c3320171a9c70ed967989bcd384442f7",
|
| 349 |
+
"pages": 122,
|
| 350 |
+
"editorial_notice_page": 4,
|
| 351 |
+
"article_notices": 5
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"issue": 72,
|
| 355 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/2BB58572CC7C4969C12589400037A45A/$file/Studia_BAS_72.pdf",
|
| 356 |
+
"sha256": "59bf48a26429c127b148922c264a93ecca6c4e53f1b0f29d5df67eec3021046f",
|
| 357 |
+
"pages": 190,
|
| 358 |
+
"editorial_notice_page": 4,
|
| 359 |
+
"article_notices": 8
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"issue": 73,
|
| 363 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/1B9A3D6263FE4CECC125897C003D72FB/$file/Studia%20BAS%201%202023.pdf",
|
| 364 |
+
"sha256": "38f278d82fd7a48a985633481cd9c10e023a07179d05a358874ae9f0c934b1f9",
|
| 365 |
+
"pages": 104,
|
| 366 |
+
"editorial_notice_page": 4,
|
| 367 |
+
"article_notices": 6
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"issue": 74,
|
| 371 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/73E91B4CBC749377C12589EA0038119B/$file/Studia%20BAS%202%202023.pdf",
|
| 372 |
+
"sha256": "3af2bad701f679d844adc0d7a6cda5d0fe0ec94ec379f73d79e615d703c82aa8",
|
| 373 |
+
"pages": 262,
|
| 374 |
+
"editorial_notice_page": 4,
|
| 375 |
+
"article_notices": 12
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"issue": 75,
|
| 379 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/E3137A96FC9C19C2C1258A4000424E3C/$file/Studia_BAS_75%202023.pdf",
|
| 380 |
+
"sha256": "ef60fc12a1821db384ec7ba4bdfc42db25f14b705d2f9dc4d547a242ee4f16a2",
|
| 381 |
+
"pages": 120,
|
| 382 |
+
"editorial_notice_page": 4,
|
| 383 |
+
"article_notices": 5
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"issue": 76,
|
| 387 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/FF0DBB53C5255542C1258AB600608394/$file/Studia%20BAS%204%202023.pdf",
|
| 388 |
+
"sha256": "69b739b58bfab8de967aba9b02babede9f59dc319d6e84bdd17c57f30b17e627",
|
| 389 |
+
"pages": 264,
|
| 390 |
+
"editorial_notice_page": 4,
|
| 391 |
+
"article_notices": 11
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"issue": 77,
|
| 395 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/3624167FFF2C8EFAC1258B25002FE5CA/$file/Studia%20BAS%201%202024.pdf",
|
| 396 |
+
"sha256": "320eb7df6b03b90d53095c9d08c56cfd9c3cfceb5e84ba0d919a53c8d4655027",
|
| 397 |
+
"pages": 128,
|
| 398 |
+
"editorial_notice_page": 4,
|
| 399 |
+
"article_notices": 5
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"issue": 78,
|
| 403 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/0C45D024534B8E51C1258B6A00273866/$file/Studia_BAS_78.pdf",
|
| 404 |
+
"sha256": "16fbd7b70a1fb9f244669923ec2d0260c09d17a6000aa7bee7192d1f9d368910",
|
| 405 |
+
"pages": 124,
|
| 406 |
+
"editorial_notice_page": 4,
|
| 407 |
+
"article_notices": 5
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"issue": 79,
|
| 411 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/8E887365EB13CC5AC1258BE200312802/$file/Studia_BAS_79_final.pdf",
|
| 412 |
+
"sha256": "aa1a3100f2ed46941c442bca6bc2ada828c3d90dc5017eae560cebc4c122443e",
|
| 413 |
+
"pages": 140,
|
| 414 |
+
"editorial_notice_page": 4,
|
| 415 |
+
"article_notices": 6
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"issue": 80,
|
| 419 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/7FEA61B843AC0226C1258C2200310106/$file/Studia_BAS_80.pdf",
|
| 420 |
+
"sha256": "b7e0a95ea4ab0ae97aa8297d3ecf103f3a68b5e2ba777718e91d608ef7b38765",
|
| 421 |
+
"pages": 94,
|
| 422 |
+
"editorial_notice_page": 4,
|
| 423 |
+
"article_notices": 4
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"issue": 81,
|
| 427 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/714EA6256DDBCBA2C1258D8000313476/$file/Studia_BAS_81.pdf",
|
| 428 |
+
"sha256": "ef24bab005c1ab17f381d6c7e5c8a12a3dd77ca2daa0ce0dbd411206569d9d36",
|
| 429 |
+
"pages": 115,
|
| 430 |
+
"editorial_notice_page": 4,
|
| 431 |
+
"article_notices": 4
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"issue": 82,
|
| 435 |
+
"url": "https://orka.sejm.gov.pl/WydBAS.nsf/0/A0DAEE2A8C2880AFC1258D800034AE10/$file/Studia_BAS_82.pdf",
|
| 436 |
+
"sha256": "40426dad520e291370a8172b4da4275789f3fc91587fc306fe6580c9bd6fcf3e",
|
| 437 |
+
"pages": 82,
|
| 438 |
+
"editorial_notice_page": 4,
|
| 439 |
+
"article_notices": 4
|
| 440 |
+
}
|
| 441 |
+
]
|
| 442 |
+
},
|
| 443 |
"journal_statements_blocked": {
|
| 444 |
"note": "These archived captures are a human-verification page, not the journal page. The earliest is 2025-11-15. The archive therefore holds no readable copy after 2024-09-08; the live pages above close that gap for 2026-10-06. The human-verification page can come back for other clients or request rates.",
|
| 445 |
"captures": [
|
|
|
|
| 495 |
"works_with_license_deposit": 0
|
| 496 |
},
|
| 497 |
"not_established": [
|
| 498 |
+
"No readable capture of the journal pages exists between 2024-09-08 and 2026-10-06, so their wording in that window is unknown. The PDFs of issues 80-82 (4/2024 to 2/2025 by the four-a-year numbering), published in that window, carry the 3.0 PL notices (pdf_notices).",
|
|
|
|
| 499 |
"CEJSH and BazHum: guessed record URLs returned 404, no record was located."
|
| 500 |
]
|
| 501 |
}
|
src/test_studia_bas_contract.py
CHANGED
|
@@ -715,6 +715,29 @@ def test_the_doaj_4_0_is_recorded_as_the_only_dissent_with_what_was_not_checked(
|
|
| 715 |
assert doaj["copyright_url"].endswith("view=5&seria=4&lang=EN")
|
| 716 |
assert "DOAJ is the only source that says 4.0" in resolution["conclusion"]
|
| 717 |
assert resolution["no_licence_deposit"]["works_with_license_deposit"] == 0
|
| 718 |
-
# the open points stay visible:
|
| 719 |
open_points = " ".join(resolution["not_established"])
|
| 720 |
-
assert "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 715 |
assert doaj["copyright_url"].endswith("view=5&seria=4&lang=EN")
|
| 716 |
assert "DOAJ is the only source that says 4.0" in resolution["conclusion"]
|
| 717 |
assert resolution["no_licence_deposit"]["works_with_license_deposit"] == 0
|
| 718 |
+
# the open points stay visible: no journal-page capture 2024-09 to 2026-10, CEJSH/BazHum not located
|
| 719 |
open_points = " ".join(resolution["not_established"])
|
| 720 |
+
assert "2024-09-08" in open_points and "CEJSH" in open_points
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
def test_every_issue_pdf_read_is_the_build_input_and_carries_3_0_pl_notices():
|
| 724 |
+
evidence, resolution = _version_resolution()
|
| 725 |
+
notices = resolution["pdf_notices"]
|
| 726 |
+
stats = json.loads((STUDIA_BAS_DATA / "studia_bas.stats.json").read_text(encoding="utf-8"))
|
| 727 |
+
pinned = {p["issue"]: p["sha256"] for p in evidence["eligible_pdfs"]}
|
| 728 |
+
issues = notices["issues"]
|
| 729 |
+
assert [i["issue"] for i in issues] == sorted(pinned) and len(issues) == notices["issue_editorial_notices"] == 17
|
| 730 |
+
for issue in issues:
|
| 731 |
+
assert issue["sha256"] == pinned[issue["issue"]]
|
| 732 |
+
assert issue["url"].startswith("https://orka.sejm.gov.pl/WydBAS.nsf/0/") and issue["url"].endswith(".pdf")
|
| 733 |
+
assert issue["editorial_notice_page"] >= 1 and issue["article_notices"] >= 1
|
| 734 |
+
# one notice per article read: the build read 115 and the language gate dropped 3
|
| 735 |
+
assert sum(i["article_notices"] for i in issues) == notices["article_notices"] == stats["read"] == 115
|
| 736 |
+
rows_per_issue = {}
|
| 737 |
+
for row in _attribution():
|
| 738 |
+
rows_per_issue[int(row["issue"])] = rows_per_issue.get(int(row["issue"]), 0) + 1
|
| 739 |
+
assert all(rows_per_issue[i["issue"]] <= i["article_notices"] for i in issues)
|
| 740 |
+
assert sum(i["article_notices"] - rows_per_issue[i["issue"]] for i in issues) == stats["drop_lang"]
|
| 741 |
+
wording = evidence["direct_official_evidence"]["observed_wording"]
|
| 742 |
+
for key in ("pdf_issue_editorial_notice", "pdf_article_license_notice"):
|
| 743 |
+
assert "3.0 Polska (CC BY 3.0 PL)" in wording[key] and "4.0" not in wording[key]
|