Skip to content

Plan a second attempt at WP-1 and WP-10 - #46

Merged
wangjohn merged 1 commit into
mainfrom
claude/style-profile-repo-review-i441nw
Oct 13, 2026
Merged

wangjohn merged 1 commit into
mainfrom
claude/style-profile-repo-review-i441nw

Conversation

@wangjohn

Copy link
Copy Markdown
Owner

What and why

This adds plans/retry-wp1-wp10.md: a second attempt at the two onboarding work packages that were deferred in 0.2.0, redesigned from what #30 and #37 found. It also adds a pointer to it in plans/onboarding.md. Only documentation changes; no code.

  • WP-1b: typography never changes a verdict. This replaces the global z-score cap. In Cap metric z-scores in Delta and LLM-likeness (onboarding plan WP-1) #30 the cap fixed its target case, but it also cut Delta's flags on 150-word LLM pieces from 19 of 20 to 5–6 of 20, and it made a two-document reference too narrow. The target case is already fixed in 0.2.0, by WP-5. A new failure has turned up on 0.2.0: converting the writer's own essays to curly quotes moves all seven to "somewhat different" or "clearly different" (Delta 1.22–1.46). One encoding-only metric, curly_apostrophe_pct, causes it, and straightening the LLM drafts' quotes changes none of their scores. The fix is a suite of 11 reformatting transforms that must not change any verdict, with no cap and no change to calibration math.

  • WP-10a: a held-out test set. A different model (Haiku 4.5) writes 16 LLM drafts in response to fixed prompts, without first reading the project. WP-10b gets tested against them.

  • WP-10b: generic contrast, second attempt. It fixes the two causes of Preserve deferred generic contrast candidate (onboarding plan WP-10) #37's failure:

    • Length: every draft was 447–492 words, so length alone gave an AUC of 1.0. The new 60 drafts span 150–1,500 words.
    • Homogeneity: the drafts were near-twins, which inflated the "LLM drafts typical" anchor. The new drafts cover six registers, and the anchor is computed leaving out a whole register at a time.

    The design and the pass bars are committed before the test set is used, and the test runs once.

All three follow the onboarding plan's rules for every work package. No existing acceptance threshold changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TrPKUqNFs1JKzqZmNE84oK


Generated by Claude Code

WP-1b replaces the global z-score cap, which cost short-text detection
and sparse-reference calibration in #30, with typography invariance:
on 0.2.0, curly quotes alone move the writer's own essays to somewhat or
clearly different through one encoding-only metric. WP-10a has a
different model write a held-out LLM test set first; WP-10b retries the
generic contrast with drafts varied in length and register, a
leave-one-register-out anchor, and bars written down before the test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TrPKUqNFs1JKzqZmNE84oK
@wangjohn
wangjohn marked this pull request as ready for review October 13, 2026 23:03
@wangjohn
wangjohn merged commit 219b32e into main Oct 13, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants