{"_id": {"$oid": "6a478c6124b401ab26c43d7d"}, "test_id": "T1166", "benchmark": "business_letters", "date": "2026-06-29", "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", "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\":[\"1936-07-14\"],\"letter_title\":[\"null\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft\"],\"receiver_persons\":[\"Redaktion der Basler Nachrichten\"]}}", "model": "gemini-3.1-flash-lite", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 1428, "output_tokens": 73, "total_tokens": 1501, "input_cost_usd": 0.000357, "output_cost_usd": 0.0001095, "estimated_cost_usd": 0.0004665}, "duration": 1.9987678527832031, "timestamp": "2026-06-29T15:03:32.463235", "parsed": {"metadata": {"send_date": ["1936-07-14"], "letter_title": ["null"], "sender_persons": ["Basler Personenschiffahrtsgesellschaft"], "receiver_persons": ["Redaktion der Basler Nachrichten"], "document_number": "letter11"}}, "conversation_id": "3f2c01fe-ac10-45d8-b87a-8dd7d62ec2ff", "score": {"send_date_tp": 0, "send_date_fp": 1, "send_date_fn": 1, "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": "{\"sdk_http_response\":{\"headers\":{\"x-gemini-service-tier\":\"standard\",\"content-type\":\"application/json; charset=UTF-8\",\"vary\":\"Origin, X-Origin, Referer\",\"content-encoding\":\"gzip\",\"date\":\"Mon, 29 Jun 2026 13:03:32 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=1455\",\"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\\\": [\\\"1936-07-14\\\"],\\n    \\\"letter_title\\\": [\\\"null\\\"],\\n    \\\"sender_persons\\\": [\\\"Basler Personenschiffahrtsgesellschaft\\\"],\\n    \\\"receiver_persons\\\": [\\\"Redaktion der Basler Nachrichten\\\"]\\n  }\\n}\",\"thought\":null,\"thought_signature\":\"EjQKMgEMOdbHMod49UUqiE5ULDoBYNMi8HWEXVSWozKh34jXmMQ4xQ7bbXmgiCpqj6AT97zY\",\"video_metadata\":null}],\"role\":\"model\"},\"citation_metadata\":null,\"finish_message\":null,\"token_count\":null,\"finish_reason\":\"STOP\",\"grounding_metadata\":null,\"avg_logprobs\":null,\"index\":0,\"logprobs_result\":null,\"safety_ratings\":null,\"url_context_metadata\":null}],\"create_time\":null,\"model_version\":\"gemini-3.1-flash-lite\",\"prompt_feedback\":null,\"response_id\":\"I21Case_J6a7kdUP48iRkA4\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":73,\"candidates_tokens_details\":null,\"prompt_token_count\":1428,\"prompt_tokens_details\":[{\"modality\":\"IMAGE\",\"token_count\":1092},{\"modality\":\"TEXT\",\"token_count\":336}],\"thoughts_token_count\":null,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":1501,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"metadata\":{\"send_date\":[\"1936-07-14\"],\"letter_title\":[\"null\"],\"sender_persons\":[\"Basler Personenschiffahrtsgesellschaft\"],\"receiver_persons\":[\"Redaktion der Basler Nachrichten\"]}}}"}, "scoring": {"f1_macro": 0.53, "f1_micro": 0.61, "cost_summary": {"total_input_tokens": 46620, "total_output_tokens": 2001, "total_tokens": 48621, "input_cost_usd": 0.011654999999999999, "output_cost_usd": 0.0030015, "total_cost_usd": 0.014656499999999998}}, "normalized_score": 53.0}