Refusal-reason Lows: own_family pinned to offered items, --answerer-family pinned, class closure pinned; encode prompt says a concept is never null #42

Merged
weksa merged 4 commits from weksa-lowering/refusal-reasons-lows into main 2026-11-10 18:01:02 +00:00

2026-11-10

Weksa
Encode prompt: a referent's concept is never null
Both parse refusals in the original-corpus round (runs/orig-3) were a null
referents[].concept; the prompt gave 'or null' to entity, setting, medium and
addressee and never said concept could not be. One sentence, pinned by a test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:34:44 +00:00
Weksa
Remove rustfmt diffs the parse-reason cut added to run.rs and tests
Only hunks on lines that cut changed; import ordering and older code untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:33:53 +00:00
Weksa
DraftClass: split the data-message reader out and pin each class with a real serde error
serde_json exposes no kind for a data error, so the prefix reader stays as
DraftClass::of_data; the test feeds each class a real answer and an unknown
message to Other.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:33:53 +00:00
Weksa
Pin own_family to offered items and loop open --answerer-family with tests
Mixed-family corpus fixture (Anthropic, OpenAi, Unrecorded, PublicDomain,
cast, a Test-group model item, a withdrawn item) and a CLI test reading the
run record after `loop open`.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:31:56 +00:00