Skip to content

research: rewrite-efficacy Study 4 — specificity-preservation constraint (H-4b), registration + harness - #719

Merged
devswha merged 10 commits into
devfrom
research/rewrite-efficacy-study4
Sep 3, 2026
Merged

research: rewrite-efficacy Study 4 — specificity-preservation constraint (H-4b), registration + harness#719
devswha merged 10 commits into
devfrom
research/rewrite-efficacy-study4

Conversation

@devswha

@devswha devswha commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Study 4 (H-4b, specificity-preservation constraint) — stage 1 (ko) complete: NOT supported, nothing ships. Registration, harness, judge-panel deviation notes, hash-only artifacts and the results doc docs/research/2026-rewrite-efficacy-study4.md.

  • Design: two fresh arms per document on the 54 Study 1 ko documents — P (production minimal prompt) vs S (same + fixed block: 98% length floor, keep every concrete detail, no invention; ≤ 2 feedback retries), same pinned rewriter claude-sonnet-4-6, back-to-back. Registered before any data.
  • Judges: det chief (run-time fresh-corpus gate 0.926) + judge-gpt + judge-gemini-3.7-flash (Gemini API), admitted by the registered bridge rule on the 108 archived passages (AUC 1.000, Spearman vs gpt 0.884; grok reference 0.967 / 0.857). xAI credits were exhausted; gemini-2.5-pro CLI failed admission (AUC 0.556); deepseek incomplete; kimi billing. All bridge verdicts committed.

Results (54/54 docs)

P S paired d = S − P
AI docs, panel AI-likeness (n=27) 85.2 86.8 +1.6 [−3.1, +6.5] — needed ≤ −3 with CI upper < 0
AI docs, det chief 33.3 41.9 +8.5 [+0.8, +17.0]
human docs, panel 21.4 20.8 −0.7 [−2.8, +1.1] (guard rail 2 held)
  • Floor met on 15/27 AI docs after ≤ 3 attempts (target ≥ 80%): the model would not hold 98% of a Korean document.
  • Copy check fires (S median trigram Jaccard 0.667 vs P 0.517): S rewrote less; detail retention +2.5 pp came from that.
  • Guard rail 1 (meaning gate on S) 50/54 = 92.6% → violated (two known artifact docs + two real dropped numbers; 50/52 = 96.2% artifact-adjusted, descriptive).
  • Structural share of still-"ai" cues 92% → 84%: the residual is still architectural. Next registered candidate: H-4a (deterministic merge/split + seam-only infill).
  • Stage 2 (en) not started; deferral is an owner decision (dated note in the results doc).

Test plan

  • node --check + eslint on all new scripts; smoke run on a synthetic paragraph only
  • bridge runs on the 108 archived passages for five candidates (verdicts committed)
  • stage 1 complete: 54/54 rows clean, 0 quorum loss; analysis per the registered rules
  • prose gate on the results doc; committed rows contain hashes/scores only (verified: no text fields, Hangul only in judge cues)

🤖 Generated with Claude Code

https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN

devswha and others added 3 commits September 2, 2026 17:21
… constraint, H-4b)

Registered before any Study 4 data: two fresh arms (P plain production
prompt, S plain + a fixed specificity block with a 98% length floor and
capped feedback retries) on the 54 Study 1 ko documents, stage 2 en; panel v2
chief det + gpt, with gemini replacing grok under a registered deviation (xAI
credits exhausted 2026-09-02) gated by a bridge admission rule; primary
paired d(S - P) <= -3 with CI upper < 0; guard rails on meaning, human
controls, invented detail tokens and copy similarity. Survey H-4b marked
activated; backlog records the owner's reorder; study4 artifacts ignored.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
- study4-common.mjs: S1-identical judge prompt/parse, S3-shape claude call,
  gemini/gpt/grok judge definitions, the pre-registered detail-token and
  trigram-copy measures, bootstrap/Spearman/AUC/McNemar helpers.
- rewrite-efficacy-study4-bridge.mjs: gemini on the 108 archived S1-D
  passages; applies the registered admission rule and writes bridge-verdict.
- rewrite-efficacy-study4.mjs: two fresh arms per document (P production
  minimal prompt, S + fixed specificity block with a 98% floor and two capped
  feedback retries), production body extraction, meaning gate, det chief with
  the run-time fresh-corpus gate, admitted LLM judges; fail-soft rows, resume,
  circuit breaker; smoke mode on a synthetic paragraph only.
- loop + analyze scripts mirror the Study 3 pair and the prereg decision rules.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
…e; stage 1 runs single-perceptual-judge

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
patina Ready Ready Preview Sep 3, 2026 2:09am UTC

Request Review

devswha and others added 2 commits September 2, 2026 18:02
…the registered admission rule

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
…al judge (bridge AUC 1.000, rho 0.884)

Adds the OpenAI-compatible HTTP judge CLI, the four API candidates, a
candidate-parameterized bridge and the rejudge script; records every
candidate's bridge verdict and the selection in the prereg.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
…r diagnosis

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
…ote, Study 3 precedent)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
…udget

Sleep until claude's stated session-limit reset instead of 30-minute polls,
and allow 240 passes; plumbing only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
…ships

- 54/54 documents, both arms, gpt + gemini-3.7-flash + det chief.
- Primary paired d(S − P) on AI docs +1.6 [−3.1, +6.5] (needed ≤ −3, CI
  upper < 0); det chief +8.5 [+0.8, +17.0]; AI-call rate unchanged 94.4%.
- The 98% floor was met on 15/27 AI docs after up to three attempts; copy
  check fires (S median trigram Jaccard 0.667 vs P 0.517): S rewrote less.
- Guard rail 1 violated (50/54 meaning gate; two known artifact docs plus two
  real dropped numbers); guard rails 2 and 3 held.
- Committed artifacts are hash-and-score rows plus bridge rows/verdicts for
  all five judge candidates; raw texts stay ignored.
- Stage 2 (en) not started; deferral is an owner decision (dated note).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ePnwo4nBWCWvFvpy1YgCN
@devswha
devswha merged commit a0d3447 into dev Sep 3, 2026
9 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.

1 participant