From bde6ca1c0fc740c2018cf7d88a7a4659ef8c3cf1 Mon Sep 17 00:00:00 2001 From: wassname <1103714+wassname@users.noreply.github.com> Date: Sat, 19 Sep 2026 13:29:05 +0800 Subject: [PATCH] Fix rescue schema and packet scoring --- scripts/wvs_respondent_packet_v1.py | 90 +++++++++++++++---- .../20260919_respondent_packet/manifest.json | 4 +- 2 files changed, 75 insertions(+), 19 deletions(-) diff --git a/scripts/wvs_respondent_packet_v1.py b/scripts/wvs_respondent_packet_v1.py index bef6b1a..6a4be1e 100644 --- a/scripts/wvs_respondent_packet_v1.py +++ b/scripts/wvs_respondent_packet_v1.py @@ -225,8 +225,9 @@ def parse_packet(battery: list[dict], text: str) -> dict | None: def force_msg(battery: list[dict]) -> str: ids = ", ".join(f'"{q["id"]}"' for q in battery) return ("Output ONLY the compact JSON respondent object now: " - '{"answers": {"": {"selected": "