{"_id": {"$oid": "69d4eb12b877594bc5718d45"}, "test_id": "T0867", "benchmark": "business_letters", "date": "2026-03-25", "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": "alibaba", "model": "qwen3.5-397b-a17b", "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": "{\"base_url\": \"https://ws-wkjpbv6ov7sqlgqe.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1\"}", "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\":[\"1926-07-13\"],\"letter_title\":[\"Betr. \\\"ALBATROS\\\"\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft\"],\"receiver_persons\":[\"Elektrizit\u00e4tswerk, Basel\"]}}", "model": "qwen3.5-397b-a17b", "provider": "alibaba", "finish_reason": "stop", "usage": {"input_tokens": 3108, "output_tokens": 104, "total_tokens": 3212, "input_cost_usd": 0.0018648, "output_cost_usd": 0.0003744, "estimated_cost_usd": 0.0022392000000000002}, "duration": 7.996857166290283, "timestamp": "2026-03-25T10:18:32.698138", "parsed": {"metadata": {"send_date": ["1926-07-13"], "letter_title": ["Betr. \"ALBATROS\""], "sender_persons": ["Basler Personenschiffahrtsgesellschaft"], "receiver_persons": ["Elektrizit\u00e4tswerk, Basel"], "document_number": "letter10"}}, "conversation_id": "9dab9a33-1c8d-45a3-ac2e-e6b81c1c3d63", "score": {"send_date_tp": 1, "send_date_fp": 0, "send_date_fn": 0, "sender_persons_tp": 0, "sender_persons_fp": 1, "sender_persons_fn": 0, "receiver_persons_tp": 0, "receiver_persons_fp": 1, "receiver_persons_fn": 0}, "raw_response": "{\"id\":\"chatcmpl-e9f77e8d-80de-9bc5-b8df-bf601d94bb5b\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"metadata\\\": {\\n    \\\"send_date\\\": [\\n      \\\"1926-07-13\\\"\\n    ],\\n    \\\"letter_title\\\": [\\n      \\\"Betr. \\\\\\\"ALBATROS\\\\\\\"\\\"\\n    ],\\n    \\\"sender_persons\\\": [\\n      \\\"Basler Personenschiffahrtsgesellschaft\\\"\\n    ],\\n    \\\"receiver_persons\\\": [\\n      \\\"Elektrizit\u00e4tswerk, Basel\\\"\\n    ]\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"reasoning_content\":\"\"}}],\"created\":1774430313,\"model\":\"qwen3.5-397b-a17b\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":104,\"prompt_tokens\":3108,\"total_tokens\":3212,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":null,\"reasoning_tokens\":null,\"rejected_prediction_tokens\":null,\"text_tokens\":104},\"prompt_tokens_details\":{\"audio_tokens\":null,\"cached_tokens\":null,\"image_tokens\":2522,\"text_tokens\":586}}}"}, "scoring": {"f1_macro": 0.58, "f1_micro": 0.58, "cost_summary": {"total_input_tokens": 280558, "total_output_tokens": 5290, "total_tokens": 285848, "input_cost_usd": 0.16833480000000003, "output_cost_usd": 0.01904400000000001, "total_cost_usd": 0.18737879999999998}}, "normalized_score": 57.99999999999999}