G0181: restore ALV output in K spec; K prompt keeps output form

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
Kral
2026-10-03 18:26:24 +02:00
parent 92e30eb554
commit d4ed32cf38
5 changed files with 24 additions and 15 deletions

View File

@@ -499,7 +499,9 @@ def make_k_variant(src_id, new_id, style, model, base_url, run_base, tool_schema
spec = b["files"]["spec.md"]
terms = contract_terms(b["task"])
messages = [{"role": "user", "content":
f"{K_STYLES[style]}\nKeep these names exactly as written (the tests use them): "
f"{K_STYLES[style]}\nKeep every contract item: the output form (for example an ALV list "
"with CL_SALV_TABLE), the selection screen, the signature, and the column names (G0181 lost the "
"ALV). Keep these names exactly as written (the tests use them): "
f"{', '.join(terms)}. Keep the placeholder {{{{P}}}} in names. Use Simplified Technical English. "
f"Return only the new spec text.\n\nSpec:\n{spec}"}]
log = {"id": new_id, "pool": "eval", "category": "K", "base_task": src_id, "style": style,