feat(interim): include block-he opening in pre-ruling interim drafts
block-he (פתיחה ניטרלית) was previously emitted only in final decisions. For interim drafts shown to the chair before ruling, including a neutral opening helps the chair confirm framing before approving downstream blocks. Skipped if empty, so legacy cases without block-he are unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -291,6 +291,7 @@ _INTERIM_BLOCK_ORDER = [
|
|||||||
"block-bet", # panel (skipped if empty)
|
"block-bet", # panel (skipped if empty)
|
||||||
"block-gimel", # parties (skipped if empty)
|
"block-gimel", # parties (skipped if empty)
|
||||||
"block-dalet", # "החלטה" title (skipped if empty)
|
"block-dalet", # "החלטה" title (skipped if empty)
|
||||||
|
"block-he", # פתיחה ניטרלית (skipped if empty — opt-in for pre-ruling drafts)
|
||||||
"block-vav", # רקע עובדתי
|
"block-vav", # רקע עובדתי
|
||||||
"block-tet", # תכניות + היתרים (extended)
|
"block-tet", # תכניות + היתרים (extended)
|
||||||
"block-zayin", # טענות הצדדים
|
"block-zayin", # טענות הצדדים
|
||||||
|
|||||||
@@ -424,7 +424,7 @@ async def export_docx(case_number: str, output_path: str = "") -> str:
|
|||||||
# Blocks written for the interim draft, in display order.
|
# Blocks written for the interim draft, in display order.
|
||||||
# This is the same content the chair sees in the final decision (same template,
|
# This is the same content the chair sees in the final decision (same template,
|
||||||
# same skill, same prompts) — minus opening, ruling, summary, signatures.
|
# same skill, same prompts) — minus opening, ruling, summary, signatures.
|
||||||
_INTERIM_BLOCKS = ["block-vav", "block-tet", "block-zayin", "block-chet"]
|
_INTERIM_BLOCKS = ["block-he", "block-vav", "block-tet", "block-zayin", "block-chet"]
|
||||||
|
|
||||||
|
|
||||||
async def extract_appraiser_facts(case_number: str) -> str:
|
async def extract_appraiser_facts(case_number: str) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user