Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit f20de7ac927fdd9281ea84ee021ba49826ddad39
parent 9c18cbc8d35a0ee2a978c8032860719aba65e482
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Thu, 15 Oct 2026 17:06:11 -0400

plans: release 30 lane V — the bench v3 record (diagnosis counts, what changed, gates, the runs owed), FACTS, CHANGELOG

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Meditor/CHANGELOG.md | 1+
Mplans/FACTS.md | 27+++++++++++++++++++++++++++
Aplans/release-30/V.md | 85+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 113 insertions(+), 0 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- **The verdict bench shows the model what you read, and rules each part of a claim.** A claim's cited posts and pages now go to the model beside the transcript, quoted with who posted them and when. A section heading that names a verdict is no longer shown to the model, and a claim that repeats an earlier one (the same words over the same clips, as in a re-cut report) is asked once, which halves a run. The model no longer picks a verdict. It lists the claim's parts and says of each whether the evidence shows it, shows it wrong, or does not show it, and the verdict follows from those answers: every part shown is CORROBORATED, some shown and some not is PARTLY, nothing shown but a part shown wrong is CONTRADICTED, nothing shown is NOT_FOUND. What each verdict means (REPORT.md, the bench page) now says this. A part the evidence does not show makes a claim PARTLY again, as your rulings do. Proposed verdicts use the same rule. umtool's `/tools/bench` shows under each claim what the model saw (its transcript lines, its posts and pages), and under each answer its parts. This is prompt version 3. Needs a restart of the editor and umtool. - **find-copy can fetch from an archive.org copy that is a single video file.** Such a file's fetch failed with "Requested format is not available" and the copy was then marked as failed. A copy's window is now cut from whatever single file it is, and a copy is marked failed only when the copy itself is gone or refused. `pnpm ops find-copy --json '{"article": "<id>", "retryFailed": true}'` tries copies marked failed again. Needs a restart of the editor. - **A model can propose verdicts for a fact-check's unruled claims, for you to approve or reject.** `pnpm ops report-draft --json '{"task":"verdicts","article":"<id>"}'` asks each claim with no verdict, with the verdict bench's own prompt, and keeps each proposed verdict, its reason, the model and the prompt version in `verdicts.proposed.json` beside the article, never in `report.json`. It runs only on a model you ticked on the verdict bench (`settings.generation.verdicts.models`, empty until you do), and never sets a verdict itself. umtool's Inbox shows "N verdicts proposed" under Review; **Review verdicts** opens the article, where each proposal has **Approve** (the claim gets that verdict) and **Reject** (the claim stays unruled), with an optional note. A claim you have ruled, or whose proposal you have reviewed, is not asked again. `pnpm ops verdict-review` does the same from the command line. Needs a restart of the editor and umtool. - **Draft everything can add the on-screen deck first.** Tick **with the deck** beside **Draft everything** on a cut's Media tab (or `umtool chain <article> <n> --draft-all --deck`): before the flips, a step adds the on-screen deck with every setting at its default to a cut that has none, so the flips and threads are drafted on a cut the converter made. A copy of the cut as it was is kept in its revisions first. A cut that already has a deck is left as it is, and the step says "deck added" or "deck already there". Off by default: without the tick, Draft everything is as it was. Needs a restart of umtool. diff --git a/plans/FACTS.md b/plans/FACTS.md @@ -9496,6 +9496,33 @@ parsed to 0 cues, indexing the video textless) is CLOSED by `200a3105` (transcri - **The injected model** is `BenchDeps.ask(system, user, schema, model)` — no Meter, so an injected ask costs nothing in the run's spend. +## Release 30 lane V: the verdict bench, v3 (verified 2026-10-15, branch `r30/bench-v3`) + +- **The model names no verdict.** `VERDICT_ANSWER_SCHEMA` is `{parts: [{part, finding}], checkable, reason}` with + `finding` one of `PART_FINDINGS` (`shown`, `shown wrong`, `not shown`); `verdictOfParts` (`draft/bench/prompt.ts`) + derives the verdict in code: not checkable → UNTESTABLE; every part shown → CORROBORATED; no part shown and one + shown wrong → CONTRADICTED; none shown or wrong → NOT_FOUND; otherwise PARTLY. `readVerdictAnswer` is THE reader + of an answer (the bench's `run.ts` and M8's `tasks/verdicts.ts` both call it): parts cut at `PARTS_MAX` (6), a + part at `PART_MAX` (160), the reason at `REASON_MAX` (300); a checkable answer with no valid part is a parse + failure. A result stores `parts` (and `checkable: false` when untestable). `PROMPT_VERSION` is `"3"`. +- **The meanings are written in parts terms** and `VERDICT_TIE_RULE` is gone: `VERDICT_PARTS_RULE` + (`verdicts.mjs`) says what a part is (a separate thing said or done; a describing word and a fact about the world + outside what was said are not parts; a how-often / never part is shown when the evidence is consistent with it). + REPORT.md, the bench prompt and umtool read it. +- **An item's `evidence`** (`items.ts` `BenchEvidence`): the claim's `post` and `page` citations — quote (cut at + `EVIDENCE_QUOTE_MAX` 600), label, speaker, date, a post's channel, a page's title; never a page's `note`. At most + `EVIDENCE_MAX` (8); more are `dropped`. A `source` citation is still dropped ("not a video, audio, post or page + citation"). A claim still needs a span citation to be an item. The prompt quotes them under "Cited posts and + pages:". `benchItemsHash` adds the evidence only when an item has some (a pre-v3 item hashes as before). +- **A heading naming a verdict is withheld** (`sectionNamesVerdict`: a verdict code or default label, or + corroborat / contradict / partially / partly / untestable, case-insensitive) — `item.section` is absent. +- **`benchItemsOf` dedupes** (`dedupe`, default on): a claim with the same text over the same cited spans as an + earlier item (report id order) is skipped `"the same claim as <key>"` (`SAME_CLAIM_REASON`). Over the registry at + 2026-10-15 that is 73 of 147 claims (the two fact-checks repeat each other); the bench is 74 claims. +- **umtool `/tools/bench`**: each item row carries `windows` (span, bound, cues) and `evidence`, shown as + `details[data-seen]` "what the model saw" (`[data-evidence]`, `[data-window]`); each answer its `parts` + (`[data-part-finding]`). + ## Release 29 lane A: Bluesky capture, the gone reading, `sourceGone`, find-copy (verified 2026-10-15, branch `r29/evidence`) - **Bluesky captures with no login** (`common/social/blueskyPostCapture.ts`, `blueskyFetcher.captureByIds`): liveness diff --git a/plans/release-30/V.md b/plans/release-30/V.md @@ -0,0 +1,85 @@ +# Release 30 lane V — the verdict bench, v3 + +### V, as shipped (2026-10-15, lane V, `r30/bench-v3` from `main` `59fdc486`) + +The diagnosis of bench v2's disagreements, and the fixes it called for. No real model call was made: the qwen +runs are the orchestrator's (the transcription lane and the memory floor held the GPU the whole session). The +commands are at the end of this section. + +**The diagnosis** (opus on prompt 2, `vb-r29-api`: 71 of 146 answered items disagree with the operator; read +locally, recorded as counts only): + +| Category | Disagreements | What it is | +| --- | --- | --- | +| compound claim, partly shown | 22 | the claim joins several things; some are shown, one is not found (or a quoted phrase, a count or a date is not the speaker's) — the operator rules PARTLY; v2's meaning ("a part only not shown does not make PARTLY") sent the model to CORROBORATED (18) or NOT_FOUND (4) | +| evidence the model never saw | 14 | the ruling rests on the claim's cited posts or pages; v2 items carried transcript windows only | +| framing | 14 | the operator rules the substance hers (paraphrase, softer wording); the model demotes for framing (PARTLY 10, CONTRADICTED 4) | +| corpus-wide claim | 11 | how often, "never", "constantly", "didn't come up in the episode": the operator ruled from a corpus search no window shows | +| ruling needs outside context | 6 | a fact about the world beside what was said ("she gets it wrong: X"), a claim phrased as a prediction, a feud the window only half shows | +| model error | 4 | a verdict against the model's own reason, or a misread | +| window miss | 0 | every cited quote is inside its ±60 s window (147 of 147, token overlap ≥ 0.6) | + +qwen on prompt 1 (`vb-r28`, 79 disagreements): the same categories where they overlap (evidence 14, framing 12, +corpus-wide 8, outside context 4, compound 4, model error 1) plus 36 of its own — 25 CORROBORATED claims demoted to +PARTLY for an unshown detail (prompt 1's meanings), 6 misreads, 5 others. + +Two item facts beside it: the 147 items are **74 distinct claims**, each twice (the second fact-check is a re-cut of +the first, its 73 repeats ruled identically), and the re-cut's **section headings name the verdict** — the answer, +shown to the model as context since V1. + +**What changed:** + +- **Evidence** (`items.ts`): a claim's post and page citations are its `evidence` — quoted, with label, speaker and + date (never a page's note), at most `EVIDENCE_MAX` 8, each quote cut at 600 characters — and the prompt quotes them + under "Cited posts and pages". 23 of the 74 claims carry some. +- **Withheld heading**: `sectionNamesVerdict` drops a section heading that names a verdict. +- **Dedupe**: `benchItemsOf` skips a claim that repeats an earlier item (same text, same cited spans), "the same claim + as <key>" (`dedupe`, default on). The registry now gives 74 items (39 CORROBORATED, 29 PARTLY, 3 NOT_FOUND, 2 + CONTRADICTED, 1 UNTESTABLE; the always-CORROBORATED baseline 52.7 %), hash `1aaf154834f0d807`, at half the cost of + a paid run. +- **Prompt v3** (`prompt.ts`, `PROMPT_VERSION` "3"): the model splits the claim into its parts (at most 6) and gives + each a finding — shown, shown wrong, not shown — plus `checkable`; the verdict follows in code (`verdictOfParts`), and + `readVerdictAnswer` holds the counts and lengths (Q0: rules, no examples, counts in code; the local prompt's largest + estimate over the 74 items is 7,214 tokens, none trimmed). +- **The meanings** (`verdicts.mjs`) are rewritten in parts terms to match the 147 rulings, and `VERDICT_PARTS_RULE` + replaces `VERDICT_TIE_RULE` (REPORT.md regenerated). **Ruling owed:** this reverses V1's "a part only not shown + does not make PARTLY"; the rulings bear the reversal out (22 disagreements), and the operator confirms it. +- **M8** (`tasks/verdicts.ts`) reads its answer through `readVerdictAnswer`, so proposals use the same rule. +- **umtool `/tools/bench`**: under each claim "what the model saw" (its windows' lines, its posts and pages), under + each answer the model's parts. +- **Not done:** a "look wider" second pass before a NOT_FOUND stands (the diagnosis found no window misses), the + `turn` window as the default (same reason), and post-only claims as items (9 ruled claims cite no span; left as + before). + +**The second attempt.** Q0's "keep the better of two attempts" is set up, not yet decided: attempt A is the shipped +v3 (parts, the verdict in code); attempt B ("3a", not committed) is the same items and meanings with a holistic +`{reason, verdict}` answer, kept as a snapshot in the scratch dir. Whichever qwen scores higher stays. + +| Commit | What | +| --- | --- | +| `6fe0d13b` | common, umtool: evidence, the withheld heading, dedupe, prompt v3 with the verdict in code, the meanings, M8's reader, the bench page; tests; REPORT.md | +| (this commit) | this record, FACTS, CHANGELOG | + +Gates (branch start in brackets): + +| Gate | Result | +| --- | --- | +| tsc | common and umtool package tsc clean at `6fe0d13b`; repo-wide `tsc --noEmit` clean at this commit | +| common `pnpm --filter yt-dlp-transcript-common test` | **4255/4255** [4253] (+2 in `bench.test.ts`: the verdict from the parts and the counts; evidence, the withheld heading, dedupe and the hash) | +| `pnpm --filter umtool test` | 33/33 [33] | +| `archilyzer docs files --check` | clean after regenerating REPORT.md | +| umtool e2e `verdict-bench.spec.ts` | **not run**: no builds while the user bus was down (orchestrator); the spec gains the what-the-model-saw and parts assertions | +| qwen runs | **not run**: the transcription lane and the memory floor; commands below | + +**The runs** (the orchestrator's; each behind the heavy lock, ≥ 7000 MB available, the transcription lane idle): + +- q2, prompt-2 baseline, through the live editor (from the primary): + `pnpm ops bench-verdicts --json '{"models":["qwen3:8b"],"itemsFrom":"vb-r28","run":"vb-r30-q2"}' --wait` +- q3, v3 (from `~/Projects/r30-bench-v3/common`): `pnpm exec tsx $T/r30v-run.mts vb-r30-q3` +- q4, v3 attempt B: `R30V_COMMON=$T/r30v-snap-q4/common pnpm exec tsx $T/r30v-run.mts vb-r30-q4` +- score on the shared claims, with the diagnosis categories: `pnpm exec tsx $T/r30v-score.mts vb-r28:qwen3:8b vb-r30-q2 vb-r30-q3 vb-r30-q4` + +**Proposed paid run** (after the better qwen attempt): sonnet + opus on v3's 74 items, `maxUsd` 3 (v2's 147-item +run spent $4.99; half the items, plus the evidence and the parts' output). Expected: the 14 evidence and 22 +compound-claim disagreements are where opus's 51.4 % was lost; recovering two thirds of them would put opus near +65–70 % against the 52.7 % baseline.