fix(scripts): _coerce_halacha לא מקבל is_binding (הוסר ב-INV-DM7)
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 41s
G12 Leak-Guard / leak-guard (push) Successful in 4s
Lint — undefined names / undefined-names (push) Successful in 10s

הפרמטר `is_binding` הוסר מ-`_coerce_halacha` כשבוצע split rule_type→role
ב-INV-DM7. הבאג היה בשני סקריפטי ה-A/B:
- ab_halacha_codex.py — גרם לקריסה בריצה הראשונה
- ab_halacha_opus48.py — אותה שגיאה לטנטית

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-17 10:45:33 +00:00
parent 471934cc2c
commit 0c726a19b8
2 changed files with 2 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ async def main():
cleaned_b = []
for raw in raw_b:
coerced = hx._coerce_halacha(raw, is_binding=is_binding)
coerced = hx._coerce_halacha(raw)
if coerced is None:
continue
coerced["quote_verified"] = hx._verify_quote(coerced["supporting_quote"], full_text)

View File

@@ -173,7 +173,7 @@ async def main():
cleaned_b = []
for raw in raw_b:
coerced = hx._coerce_halacha(raw, is_binding=is_binding)
coerced = hx._coerce_halacha(raw)
if coerced is None:
continue
coerced["quote_verified"] = hx._verify_quote(coerced["supporting_quote"], full_text)