feat(#99 / T10): get_style_guide — יחסי-זהב נמדדים מהקורפוס #97

Merged
chaim merged 1 commits from worktree-style-acquisition-mvp into main 2026-06-06 21:02:04 +00:00
Owner

סוגר את T10 (#99, האחרון ביוזמה).

  • style_distance.measure_corpus_ratios() — מפצל כל החלטה ב-style_corpus לסעיפים (chunker) ומחשב ממוצע %-סעיף; אגרגט _all + פר-תוצאה (כשקיים). cached.
  • get_style_guide — שורת "נמדד בפועל" עם ⚠️ על חריגה מטווח-היעד.

מצב נוכחי: style_corpus.outcome לא מאוכלס → מוצג אגרגט כל-ההחלטות (n=48: רקע 26.4% / טענות 9.7% / דיון 43.8% / סיכום 20.1%); פיצול לפי-תוצאה future-ready. המדידה גם מאירה מגבלות זיהוי-סעיפים — זו כוונת T10 (לסמן פער לבדיקה). חופף-חלקית ל-T7 (שמודד adherence per-draft); זה מודד את הקורפוס. כשל-מדידה מוצג למשתמש, לא נבלע (feedback_silent_swallow).

פריסה: MCP מקומי. python syntax OK; אומת על נתונים אמיתיים.

🤖 Generated with Claude Code

סוגר את T10 (#99, האחרון ביוזמה). - **`style_distance.measure_corpus_ratios()`** — מפצל כל החלטה ב-`style_corpus` לסעיפים (chunker) ומחשב ממוצע %-סעיף; אגרגט `_all` + פר-תוצאה (כשקיים). cached. - **`get_style_guide`** — שורת "נמדד בפועל" עם **⚠️** על חריגה מטווח-היעד. **מצב נוכחי:** `style_corpus.outcome` לא מאוכלס → מוצג אגרגט כל-ההחלטות (n=48: רקע 26.4% / טענות 9.7% / דיון 43.8% / סיכום 20.1%); פיצול לפי-תוצאה future-ready. המדידה גם מאירה מגבלות זיהוי-סעיפים — זו כוונת T10 (לסמן פער לבדיקה). חופף-חלקית ל-T7 (שמודד adherence per-draft); זה מודד את הקורפוס. כשל-מדידה מוצג למשתמש, לא נבלע (feedback_silent_swallow). פריסה: MCP מקומי. python syntax OK; אומת על נתונים אמיתיים. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-06 21:01:56 +00:00
style_distance.measure_corpus_ratios(): מפצל כל החלטה ב-style_corpus לסעיפים
(chunker) ומחשב ממוצע %-סעיף — אגרגט "_all" + פר-תוצאה (כשיש). cached.
get_style_guide מציג שורת "נמדד בפועל" עם ⚠️ על פער מטווח-היעד.

מצב נוכחי: style_corpus.outcome לא מאוכלס → מוצג אגרגט כל-ההחלטות (n=48:
רקע 26.4% / טענות 9.7% / דיון 43.8% / סיכום 20.1%); פיצול לפי-תוצאה future-ready.
המדידה גם מאירה מגבלות זיהוי-סעיפים (כוונת T10 — לסמן פער לבדיקה). חופף-חלקית
ל-T7 שמודד adherence per-draft; זה מודד את הקורפוס. כשל מדידה מוצג, לא נבלע.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 6dbc9130b0 into main 2026-06-06 21:02:04 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#97