feat(sources): Wayback pass, automatic trimming, detention rule, ten cases re-sourced
Second and third rounds on the dossier pipeline, reviewed locally before commit. Retrieval - wayback_pass.py: retries every BLOCKED/DEAD/THIN/ERROR linked source through the Wayback Machine; blocks carry the snapshot date, archive URL and the live verdict. 143 slots retried: 93 fetched, 37 no snapshot, 12 script shells, 1 PDF. - fetch_sources.py: fetch_wayback() helper. - add_extra_sources.py: files staged extra_* finds (web search, not on the DB record) into the store with a provenance note. - Cases re-sourced by web search: 248 (Oslo: Document.no, Avisa Oslo, NRK; the linked Le Parisien piece is case 242 and is marked OFF-CASE), 258 Kharkiv, 260 Singapore, 358 Bangkok, 365 Las Vegas, 388 Verneuil-sur-Seine, 390 Zoersel, 430 Homestead. 341 of 364 cases now hold a fetched article; 11, 66 and 399 have no public text source (podcast, police video, direct victim report). Trimming - auto_trim.py: case-anchored furniture cut for UNTRIMMED blocks. Finds the body run that mentions the case, merges across subheadings and short furniture gaps, drops teasers, share bars, date/URL/caption lines and subscription pitches; refuses pages with no record term or almost no body. 302 blocks trimmed; 16 left on auto-trim-review.md (7 OFF-CASE suspects). Every cut is labelled AUTO-TRIMMED, UNREVIEWED in the dossier; the full extract stays in staging/. Decisions with anchors in trim-decisions-auto.json. - build_cases.py / verify_all.py: banners for auto-trimmed and archived blocks, staged-file check extended to Wayback blocks, flag legend under the record. Detention rule - README "Definitions": the DB field `kidnappings` is the DETENTION violence type (victim, guard, staff or relative held to force submission or execute the theft), distinct from the Kidnapping scenario (taken away and held). - detention-flag-review.md / detention-flag-corrections.json: 40 records reviewed with evidence; 30 set-to-1 proposals accepted by the owner on 2026-09-06 (listed in corrections-approved.md), 10 still open. - apply_detention_wording.py: "Violence Used" in the 70 reviewed summaries now names detention explicitly (62 of 70 labelled), supported by the summary's own text; idempotent; supersedes the batch scripts' wording. Worklist and docs - sofia-worklist.md: 248 decisions, detention rule item replacing the old "no abduction" item, fresh-search section for the textless cases. - README-START-HERE.md: progress notes, run commands, next steps. - Bug fixed in passing: Wayback blocks stored in-memory text with carriage returns; now stored as read back from disk. verify_all.py PASSES (2321 checks). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZZENdTLzNGsbNy4DyF1yt
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
499fd61f79
commit
439e83a4cb
@@ -26,6 +26,9 @@ DATABASE RECORD
|
||||
notes not much info
|
||||
has_processed_date 1
|
||||
created_at 2025-11-13 05:44:45
|
||||
(flag legend: 'kidnappings' is the DETENTION flag — 1 when the victim was held against
|
||||
their will at any point, tied, locked in, held at gunpoint or taken away; it is NOT the
|
||||
same as the 'Kidnapping' scenario, which means taken away and held. See README, Definitions.)
|
||||
|
||||
AI SUMMARY [generated at bulk import, NOT verified against sources]
|
||||
**Victims:** Family living in two neighboring villas/houses on same property in Tobo. Four family members restrained - multiple members subjected to mock executions and violence.
|
||||
@@ -61,19 +64,19 @@ Now, a fourth person has been arrested and charged with complicity in the robber
|
||||
According to Aftonbladet's information, the person was arrested in absentia and recently apprehended in Stockholm.
|
||||
|
||||
------------------------------------------------------------------------------------------------
|
||||
FETCHED ARTICLE 1 [RAW EXTRACT — NOT YET TRIMMED]
|
||||
!! This is the whole page as extracted. It still contains site furniture,
|
||||
!! and may contain teaser headlines for UNRELATED cases. Trim on read-through.
|
||||
!! Do not quote from it without checking the passage belongs to this case.
|
||||
FETCHED ARTICLE 1 [AUTO-TRIMMED — UNREVIEWED]
|
||||
!! Furniture was cut by a script keyed on this case's record, not by a person.
|
||||
!! It may still carry passages about OTHER cases from a round-up article.
|
||||
!! The full page extract is kept in staging/ if a cut needs revisiting.
|
||||
Source aftonbladet.se
|
||||
URL https://www.aftonbladet.se/nyheter/a/Rr77qd/aftonbladet-direkt?pinnedEntry=1411017&_sp_pass_consent=true
|
||||
Field url
|
||||
Retrieved 2026-09-05T12:46:10+00:00 via raw HTTP retrieval, deterministic extraction (HTTP 200)
|
||||
Language unknown
|
||||
Kept paragraphs ALL 58 paragraphs, untrimmed
|
||||
Kept paragraphs headline [0] + 1-57 of 58
|
||||
Length 5,934 chars
|
||||
Integrity sha256 3b70dd1c554538bdd2e79bdc6fe012466460c7907745d8f222db5f409955a642
|
||||
Trimmed NOT TRIMMED. Full page extract; trim on read-through.
|
||||
Trimmed AUTO-TRIMMED, unreviewed: kept paragraphs 1-57 plus headline [0]; dropped 0 leading and 0 trailing paragraphs. Case-term hits on page: 3.
|
||||
Caveat retrieved from a live page on the date above. Unlike text copied
|
||||
from the spreadsheet, there is no second copy to hash it against.
|
||||
------------------------------------------------------------------------------------------------
|
||||
@@ -197,19 +200,19 @@ En bra nyhetsbild eller film vill vi publicera direkt. Med appens hjälp når du
|
||||
Allmänna åsikter, teorier eller spekulationer är inte nyhetstips.
|
||||
|
||||
------------------------------------------------------------------------------------------------
|
||||
FETCHED ARTICLE 2 [RAW EXTRACT — NOT YET TRIMMED]
|
||||
!! This is the whole page as extracted. It still contains site furniture,
|
||||
!! and may contain teaser headlines for UNRELATED cases. Trim on read-through.
|
||||
!! Do not quote from it without checking the passage belongs to this case.
|
||||
FETCHED ARTICLE 2 [AUTO-TRIMMED — UNREVIEWED]
|
||||
!! Furniture was cut by a script keyed on this case's record, not by a person.
|
||||
!! It may still carry passages about OTHER cases from a round-up article.
|
||||
!! The full page extract is kept in staging/ if a cut needs revisiting.
|
||||
Source svt.se
|
||||
URL https://www.svt.se/nyheter/lokalt/uppsala/fangelsestraff-for-brutala-kryptoranet-i-tobo
|
||||
Field url_2
|
||||
Retrieved 2026-09-05T12:46:11+00:00 via raw HTTP retrieval, deterministic extraction (HTTP 200)
|
||||
Language unknown
|
||||
Kept paragraphs ALL 15 paragraphs, untrimmed
|
||||
Length 1,520 chars
|
||||
Integrity sha256 735ca686e83b9259ddfedf62782321e82ef8190a2bf1d53685175372888d71ab
|
||||
Trimmed NOT TRIMMED. Full page extract; trim on read-through.
|
||||
Kept paragraphs headline [0] + 2-14 of 15
|
||||
Length 1,473 chars
|
||||
Integrity sha256 7d95c6bd9647afe3fe4dbc51b4d722bdc0f58fbf07f7e50a0c04750551fb0b93
|
||||
Trimmed AUTO-TRIMMED, unreviewed: kept paragraphs 2-14 plus headline [0]; dropped 1 leading and 0 trailing paragraphs. Case-term hits on page: 7.
|
||||
Caveat retrieved from a live page on the date above. Unlike text copied
|
||||
from the spreadsheet, there is no second copy to hash it against.
|
||||
------------------------------------------------------------------------------------------------
|
||||
@@ -218,8 +221,6 @@ ORIGINAL (unknown, verbatim as retrieved)
|
||||
|
||||
Fängelsestraff för brutala kryptorånet i Tobo | SVT Nyheter
|
||||
|
||||
Fängelsestraff för brutala kryptorånet i Tobo
|
||||
|
||||
Familjen i Tobo blev bundna och skenavrättades – sedan rånades den på kryptovaluta till ett värde av 2,5 miljoner kronor.
|
||||
|
||||
Efter 1,5 timme avbröts det brutala rånet när ett av offren lyckades larma anhöriga.
|
||||
|
||||
Reference in New Issue
Block a user