diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index 9036223..44af0cc 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -1111,8 +1111,45 @@ fn committed_scenes_cover_original_groups() { DIGEST_OF_THE_SCENES, "a latest scene changed without a rubric revision" ); + // The revisions before rubric r1 are provenance and never change: 113 of them. + let mut earlier: Vec<&weksa::speaker::Scene> = scenes + .iter() + .filter(|s| !matches!(&s.annotator, Annotator::Model { generator, .. } if generator == RUBRIC)) + .collect(); + earlier.sort_by(|a, b| (&a.group, a.n).cmp(&(&b.group, b.n))); + assert_eq!(earlier.len(), 113); + let lines: Vec = earlier + .iter() + .map(|s| format!("{}\n{}\n{:?}\n{:?}", s.group, s.n, s.annotator, s.relations)) + .collect(); + let parts: Vec<&[u8]> = lines.iter().map(|l| l.as_bytes()).collect(); + assert_eq!( + weksa::split::fnv1a64_of(&parts), + DIGEST_OF_THE_EARLIER_SCENES, + "an earlier scene revision changed" + ); + // Rubric r1 is text the labels cite: the section, as committed, is pinned. + let doc = std::fs::read_to_string( + Path::new(env!("CARGO_MANIFEST_DIR")).join("../../docs/scene-annotation.md"), + ) + .unwrap(); + let from = doc.find("## Rubric r1").expect("the doc holds Rubric r1"); + let rest = &doc[from + "## Rubric r1".len()..]; + let section = &doc[from..from + "## Rubric r1".len() + rest.find("\n## ").expect("a section follows r1")]; + assert_eq!( + weksa::split::fnv1a64_of(&[section.trim().as_bytes()]), + DIGEST_OF_THE_RUBRIC, + "rubric r1 was edited; a new rubric is a new section and a new generator" + ); } +/// Taken over the 113 scene revisions that precede rubric r1, 2026-11-13. +const DIGEST_OF_THE_EARLIER_SCENES: u64 = 2598828882325200913; + +/// Taken over the text of the `## Rubric r1` section of docs/scene-annotation.md +/// (trimmed), 2026-11-13. +const DIGEST_OF_THE_RUBRIC: u64 = 11823581212652524671; + /// Taken over each live group's latest revision (group, n, features) at rubric r1, /// 2026-11-13. const DIGEST_OF_THE_SCENES: u64 = 2505219080875817063; diff --git a/docs/scene-annotation.md b/docs/scene-annotation.md index 3fae2c6..5fca125 100644 --- a/docs/scene-annotation.md +++ b/docs/scene-annotation.md @@ -76,3 +76,41 @@ member, false to true). In_group true across the 98: 42 before, 15 after; every unaddressed line is now false (it was true on 17 of the 21 unaddressed vgrow groups). Disagreements are reported, not adjudicated. + +## Reproducing the cut + +`scripts/scene-annotation/` holds the standard-library scripts of this cut, run +from the repo root with `WEKSA` (the binary) and `SCENE_SCRATCH` (a directory +that is never committed): `build_briefs.py` writes the two annotator briefs from +the Rubric r1 section and prints each brief's Test-leak count (must be 0) and +sha256 (it reproduces the briefs of this cut byte for byte); `put_labels.py` +puts A's `A-en.jsonl` and `A-ja.jsonl`; `agreement.py` prints the tables above and +must run before the puts, against the store at 76fa685, because the older labels +are then its latest revisions (it also reads the round-1 encoder answers of +`runs/growth-base` through `ROUND1`). `DIGEST_OF_THE_RUBRIC` and +`DIGEST_OF_THE_EARLIER_SCENES` in `crates/weksa/tests/original_corpus.rs` pin the +rubric text and the 113 earlier revisions. + +## Known limits of r1 labels + +Found by Soul's pass on this cut (`weksa-lowering:verdict:cut-scene-in-group.s1`). +They are not fixed in r1; a reviewer's pass over the labels is follow-up +`weksa-lowering:follow_up:scene-labels-reader-review`. + +- The new labels change which ontology entries are selected for 37 groups. Eight + addressed lines move onto the casual in-group entries (en-US:12: lantern, + broom, mirror, seedling; ja-JP:12: furo, asa, irori, yurikago), while their + references are polite requests. The reader default (level, 500, false) is + exactly the condition of ja-JP:11. +- `relative_status` tracks request form for some lines: imperatives read above, + favour questions read level or below, so the same household request gets + different standing in two forms (hane above/650/true, kabin below/500/false; + B gave both level/false). Form is what signals the speech act, which is what + part 2 asks for, and register is what part 2 forbids. +- `in_group` is true on some requests alone (lantern, mulch, stool, hane) and on + a line whose only family member is named inside it (original-ja-ane), though r1 + says a request or a person named inside the line is not enough. A and B + agreeing does not clear this. +- A run opened on the old speaker-state refuses to continue after merge: + `runs/growth-base` pins the store of `/var/lib/mind-weksa-self/Weksa-growth` + (main), and that checkout must not be pulled while the run is wanted.