{"_id": {"$oid": "6a2c86a59ede3a3eff37d475"}, "test_id": "T1065", "benchmark": "business_letters", "date": "2026-06-04", "tags": {"document-type": ["letter"], "writing": ["typed", "handwritten"], "century": [20], "language": ["de"], "layout": ["prose"], "entry-type": ["person", "location"], "task": ["information-extraction"]}, "contributors": ["eric_decker", "maximilian_hindermann", "lea_kasper", "anthea_alberto", "pema_frick", "jose_luis_losada_palenzuela", "sorin_marti", "elena_spadini"], "hidden": false, "config": {"provider": "openrouter", "model": "qwen/qwen3.7-plus", "dataclass": "Document", "temperature": 0.0, "role_description": "You are a historian with keyword knowledge and an expert in the field of 20th century Swiss history", "prompt_file": "prompt.txt", "rules": "{\"skip_signatures\": true, \"skip_non_signatures\": false}", "legacy_test": false}, "prompt": "            IDENTITY and PURPOSE:\n\n            You are presented with a series of images constituting a historical letter. Your task is to extract the\n            values of the following keys from the letter and return them in a JSON file where the values\n            corresponding to each key should be stored as a list, even if there is only a single value for a\n            key:\n\n            - letter_title: Title of the letter.\n            - sender_persons: Name(s) of the person(s) who wrote the letter.\n            - send_date: The exact or approximate date the letter was written.\n            - receiver_persons: Name(s) of the person(s) who received the letter.\n\n            Take a deep breath and think step by step about how to best accomplish this goal. Map out all the claims\n            and implications on a virtual whiteboard in your mind. Do not use OCR. Use the ISO format YYYY-MM-DD for\n            dates. If a piece of information is not included in the letter, set the value for the corresponding key\n            to \"null\". Do not return anything except the JSON file.\n\n            EXAMPLE:\n\n            {\n                \"letter_title\": [\"Petition for Environmental Protection\"],\n                \"send_date\": [\"1993-03-12\"],\n                \"sender_persons\": [\"Lisa Simpson\"],\n                \"receiver_persons\": [\"Mayor Joe Quimby\", \"Seymour Skinner\"],\n            }\n\n            OUTPUT:", "results": {"text": "{\"metadata\":{\"send_date\":[\"1928-05-15\"],\"letter_title\":[\"null\"],\"sender_persons\":[\"null\"],\"receiver_persons\":[\"null\"]}}", "model": "qwen/qwen3.7-plus-20260602", "provider": "openrouter", "finish_reason": "stop", "usage": {"input_tokens": 3112, "output_tokens": 147, "total_tokens": 3259, "cached_tokens": 2176, "input_cost_usd": 0.0012448000000000001, "output_cost_usd": 0.0002352, "estimated_cost_usd": 0.0014800000000000002}, "duration": 6.0828258991241455, "timestamp": "2026-06-04T09:35:18.669803", "parsed": {"metadata": {"send_date": ["1928-05-15"], "letter_title": ["null"], "sender_persons": ["null"], "receiver_persons": ["null"], "document_number": "letter36"}}, "conversation_id": "cb5df18e-886c-42ac-9d33-7899d9cd094e", "score": {"send_date_tp": 1, "send_date_fp": 0, "send_date_fn": 0, "sender_persons_tp": 0, "sender_persons_fp": 0, "sender_persons_fn": 0, "receiver_persons_tp": 0, "receiver_persons_fp": 0, "receiver_persons_fn": 0}, "raw_response": "{\"id\":\"gen-1780558513-M0OPzrRu6GsTLtZbtRp2\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"metadata\\\": {\\n    \\\"send_date\\\": [\\n      \\\"1928-05-15\\\"\\n    ],\\n    \\\"letter_title\\\": [\\n      \\\"null\\\"\\n    ],\\n    \\\"sender_persons\\\": [\\n      \\\"null\\\"\\n    ],\\n    \\\"receiver_persons\\\": [\\n      \\\"null\\\"\\n    ]\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"metadata\":{\"send_date\":[\"1928-05-15\"],\"letter_title\":[\"null\"],\"sender_persons\":[\"null\"],\"receiver_persons\":[\"null\"]}},\"reasoning\":\"{\\n  \\\"metadata\\\": {\\n    \\\"send_date\\\": [\\\"1928-05-15\\\"],\\n    \\\"letter_title\\\": [\\\"null\\\"],\\n    \\\"sender_persons\\\": [\\\"null\\\"],\\n    \\\"receiver_persons\\\": [\\\"null\\\"]\\n  }\\n}\\n```\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"{\\n  \\\"metadata\\\": {\\n    \\\"send_date\\\": [\\\"1928-05-15\\\"],\\n    \\\"letter_title\\\": [\\\"null\\\"],\\n    \\\"sender_persons\\\": [\\\"null\\\"],\\n    \\\"receiver_persons\\\": [\\\"null\\\"]\\n  }\\n}\\n```\",\"format\":\"unknown\",\"index\":0}]},\"native_finish_reason\":\"stop\"}],\"created\":1780558513,\"model\":\"qwen/qwen3.7-plus-20260602\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":147,\"prompt_tokens\":3112,\"total_tokens\":3259,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":0,\"reasoning_tokens\":61,\"rejected_prediction_tokens\":null,\"image_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":2176,\"cache_write_tokens\":0,\"video_tokens\":0},\"cost\":0.00078368,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.00078368,\"upstream_inference_prompt_cost\":0.00054848,\"upstream_inference_completions_cost\":0.0002352}},\"provider\":\"Alibaba\"}"}, "scoring": {"f1_macro": 0.55, "f1_micro": 0.65, "cost_summary": {"total_input_tokens": 103020, "total_output_tokens": 4801, "total_tokens": 107821, "input_cost_usd": 0.041207999999999995, "output_cost_usd": 0.0076815999999999985, "total_cost_usd": 0.04888959999999999}}, "normalized_score": 55.00000000000001}