{"_id": {"$oid": "6a478c6124b401ab26c43d93"}, "test_id": "T1178", "benchmark": "business_letters", "date": "2026-07-01", "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": "anthropic", "model": "claude-sonnet-5", "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", "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-05\"],\"letter_title\":null,\"sender_persons\":[\"Der Schriftleiter der Zeitschrift \\\"Die Rheinquellen\\\"\"],\"receiver_persons\":[\"Basler Rheinschiffahrts-A.G.\"]}}", "model": "claude-sonnet-5", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 5204, "output_tokens": 127, "total_tokens": 5331, "input_cost_usd": 0.010408, "output_cost_usd": 0.0012699999999999999, "estimated_cost_usd": 0.011678000000000001}, "duration": 3.186086416244507, "timestamp": "2026-07-01T09:51:46.262145", "parsed": {"metadata": {"letter_title": null, "send_date": ["1928-05-05"], "sender_persons": ["Der Schriftleiter der Zeitschrift \"Die Rheinquellen\""], "receiver_persons": ["Basler Rheinschiffahrts-A.G."], "document_number": "letter33"}}, "conversation_id": "9e2cde3f-d59f-4b2d-8c9b-985bac786381", "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\":\"msg_016d7jcwnJ4Rpd4Hvozz7wcM\",\"container\":null,\"content\":[{\"id\":\"toolu_01FnFo21EnP5ZPmeYhvZxM6K\",\"caller\":{\"type\":\"direct\"},\"input\":{\"metadata\":{\"letter_title\":null,\"send_date\":[\"1928-05-05\"],\"sender_persons\":[\"Der Schriftleiter der Zeitschrift \\\"Die Rheinquellen\\\"\"],\"receiver_persons\":[\"Basler Rheinschiffahrts-A.G.\"],\"document_number\":\"letter33\"}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-sonnet-5\",\"role\":\"assistant\",\"stop_reason\":\"tool_use\",\"stop_sequence\":null,\"type\":\"message\",\"usage\":{\"cache_creation\":{\"ephemeral_1h_input_tokens\":0,\"ephemeral_5m_input_tokens\":0},\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"inference_geo\":\"global\",\"input_tokens\":5204,\"output_tokens\":127,\"server_tool_use\":null,\"service_tier\":\"standard\",\"output_tokens_details\":{\"thinking_tokens\":0}},\"stop_details\":null}"}, "scoring": {"f1_macro": 0.56, "f1_micro": 0.56, "cost_summary": {"total_input_tokens": 454519, "total_output_tokens": 7407, "total_tokens": 461926, "input_cost_usd": 0.9090379999999991, "output_cost_usd": 0.07407000000000001, "total_cost_usd": 0.9831080000000001}}, "normalized_score": 56.00000000000001}