{"_id": {"$oid": "69d4eb12b877594bc5718cad"}, "test_id": "T0670", "benchmark": "business_letters", "date": "2026-03-16", "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": "genai", "model": "gemini-3.1-flash-lite-preview", "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\":[\"1929-05-27\"],\"letter_title\":[\"null\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft\"],\"receiver_persons\":[\"F. L\u00fctzelschwab\"]}}", "model": "gemini-3.1-flash-lite-preview", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 2520, "output_tokens": 79, "total_tokens": 2599, "input_cost_usd": 0.00063, "output_cost_usd": 0.0001185, "estimated_cost_usd": 0.0007485}, "duration": 2.035912036895752, "timestamp": "2026-03-16T19:08:08.858883", "parsed": {"metadata": {"send_date": ["1929-05-27"], "letter_title": ["null"], "sender_persons": ["Basler Personenschiffahrtsgesellschaft"], "receiver_persons": ["F. L\u00fctzelschwab"], "document_number": "letter46"}}, "conversation_id": "897b312c-6b68-40e9-a721-c1890726c9a7", "score": {"send_date_tp": 1, "send_date_fp": 0, "send_date_fn": 0, "sender_persons_tp": 0, "sender_persons_fp": 1, "sender_persons_fn": 1, "receiver_persons_tp": 0, "receiver_persons_fp": 1, "receiver_persons_fn": 1}, "raw_response": "{\"sdk_http_response\":{\"headers\":{\"content-type\":\"application/json; charset=UTF-8\",\"vary\":\"Origin, X-Origin, Referer\",\"content-encoding\":\"gzip\",\"date\":\"Mon, 16 Mar 2026 18:08:15 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=1710\",\"alt-svc\":\"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\"transfer-encoding\":\"chunked\"},\"body\":null},\"candidates\":[{\"content\":{\"parts\":[{\"media_resolution\":null,\"code_execution_result\":null,\"executable_code\":null,\"file_data\":null,\"function_call\":null,\"function_response\":null,\"inline_data\":null,\"text\":\"{\\n  \\\"metadata\\\": {\\n    \\\"send_date\\\": [\\\"1929-05-27\\\"],\\n    \\\"letter_title\\\": [\\n      \\\"null\\\"\\n    ],\\n    \\\"sender_persons\\\": [\\\"Basler Personenschiffahrtsgesellschaft\\\"],\\n    \\\"receiver_persons\\\": [\\\"F. L\u00fctzelschwab\\\"]\\n  }\\n}\",\"thought\":null,\"thought_signature\":\"EjQKMgG-Pvb7ceEspR0pyBYAEF6ZTzW_q6IOLHG43V-6NawaluD48L3J9G6JYyMGUt8mL7BE\",\"video_metadata\":null}],\"role\":\"model\"},\"citation_metadata\":null,\"finish_message\":null,\"token_count\":null,\"finish_reason\":\"STOP\",\"avg_logprobs\":null,\"grounding_metadata\":null,\"index\":0,\"logprobs_result\":null,\"safety_ratings\":null,\"url_context_metadata\":null}],\"create_time\":null,\"model_version\":\"gemini-3.1-flash-lite-preview\",\"prompt_feedback\":null,\"response_id\":\"D0e4adXCKNuivdIPoJ74qA0\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":79,\"candidates_tokens_details\":null,\"prompt_token_count\":2520,\"prompt_tokens_details\":[{\"modality\":\"IMAGE\",\"token_count\":2184},{\"modality\":\"TEXT\",\"token_count\":336}],\"thoughts_token_count\":null,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":2599,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"metadata\":{\"send_date\":[\"1929-05-27\"],\"letter_title\":[\"null\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft\"],\"receiver_persons\":[\"F. L\u00fctzelschwab\"]}}}"}, "scoring": {"f1_macro": 0.56, "f1_micro": 0.57, "cost_summary": {"total_input_tokens": 126168, "total_output_tokens": 4662, "total_tokens": 130830, "input_cost_usd": 0.03154199999999998, "output_cost_usd": 0.0069929999999999975, "total_cost_usd": 0.038535}}, "normalized_score": 56.00000000000001}