{"_id": {"$oid": "6a6526e45757a0bff2d80123"}, "test_id": "T1407", "benchmark": "business_letters", "date": "2026-07-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": "anthropic", "model": "claude-opus-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", "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-04-25\"],\"letter_title\":[\"\u00dcbermittlung des Vertragsentwurfs betr. \\\"Rheinfelden\\\" und weiterer Unterlagen\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft, Der Gesch\u00e4ftsf\u00fchrer\"],\"receiver_persons\":[\"Basler Rheinschiffahrt A.G., Basel\"]}}", "model": "claude-opus-5", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 5136, "output_tokens": 175, "total_tokens": 5311, "input_cost_usd": 0.02568, "output_cost_usd": 0.0043749999999999995, "estimated_cost_usd": 0.030055000000000002}, "duration": 20.490086317062378, "timestamp": "2026-07-25T19:38:24.647853", "parsed": {"metadata": {"send_date": ["1928-04-25"], "letter_title": ["\u00dcbermittlung des Vertragsentwurfs betr. \"Rheinfelden\" und weiterer Unterlagen"], "sender_persons": ["Basler Personenschiffahrtsgesellschaft, Der Gesch\u00e4ftsf\u00fchrer"], "receiver_persons": ["Basler Rheinschiffahrt A.G., Basel"], "document_number": "letter28"}}, "conversation_id": "40942d20-4fa0-4e9d-bdb8-0c9d1a9b3c8c", "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_011CdPBajCMjRJx5PdiHZ8De\",\"container\":null,\"content\":[{\"id\":\"toolu_016Mi1esS5QR5RY1BZghfsB2\",\"caller\":{\"type\":\"direct\"},\"input\":{\"metadata\":{\"send_date\":[\"1928-04-25\"],\"letter_title\":[\"\u00dcbermittlung des Vertragsentwurfs betr. \\\"Rheinfelden\\\" und weiterer Unterlagen\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft, Der Gesch\u00e4ftsf\u00fchrer\"],\"receiver_persons\":[\"Basler Rheinschiffahrt A.G., Basel\"],\"document_number\":\"letter28\"}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-opus-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\":5136,\"output_tokens\":175,\"server_tool_use\":null,\"service_tier\":\"standard\",\"output_tokens_details\":{\"thinking_tokens\":0}},\"stop_details\":null}"}, "scoring": {"f1_macro": 0.66, "f1_micro": 0.8, "cost_summary": {"total_input_tokens": 166910, "total_output_tokens": 3449, "total_tokens": 170359, "input_cost_usd": 0.8345500000000001, "output_cost_usd": 0.08622499999999998, "total_cost_usd": 0.9207750000000002}}, "normalized_score": 66.0}