{"_id": {"$oid": "6a26c67c3572c06bc1455dcd"}, "test_id": "T1025", "benchmark": "business_letters", "date": "2026-04-21", "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-4-7", "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\": false, \"skip_non_signatures\": true}", "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-10\"],\"letter_title\":[\"Betr. Abrechnung\"],\"sender_persons\":null,\"receiver_persons\":null}}", "model": "claude-opus-4-7", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 5539, "output_tokens": 96, "total_tokens": 5635, "input_cost_usd": 0.027694999999999997, "output_cost_usd": 0.0024000000000000002, "estimated_cost_usd": 0.030094999999999997}, "duration": 4.624514579772949, "timestamp": "2026-04-21T22:58:54.874782", "parsed": {"metadata": {"send_date": ["1928-05-10"], "letter_title": ["Betr. Abrechnung"], "sender_persons": null, "receiver_persons": null, "document_number": "letter34"}}, "conversation_id": "5f5fd375-0d23-43f4-b89c-70031860973c", "score": {"send_date_tp": 1, "send_date_fp": 0, "send_date_fn": 0, "sender_persons_tp": 0, "sender_persons_fp": 0, "sender_persons_fn": 2, "receiver_persons_tp": 0, "receiver_persons_fp": 0, "receiver_persons_fn": 0}, "raw_response": "{\"id\":\"msg_01JCwnMjQhgkgX5V4y2odeAB\",\"container\":null,\"content\":[{\"id\":\"toolu_019aLfCaPcPsFmPhyGbw3pkn\",\"caller\":{\"type\":\"direct\"},\"input\":{\"metadata\":{\"send_date\":[\"1928-05-10\"],\"letter_title\":[\"Betr. Abrechnung\"],\"sender_persons\":null,\"receiver_persons\":null,\"document_number\":\"letter34\"}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-opus-4-7\",\"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\":5539,\"output_tokens\":96,\"server_tool_use\":null,\"service_tier\":\"standard\"},\"stop_details\":null}"}, "scoring": {"f1_macro": 0.61, "f1_micro": 0.58, "cost_summary": {"total_input_tokens": 296629, "total_output_tokens": 4113, "total_tokens": 300742, "input_cost_usd": 1.4831450000000008, "output_cost_usd": 0.10282499999999999, "total_cost_usd": 1.5859700000000003}}, "normalized_score": 61.0}