{"_id": {"$oid": "6a6526e45757a0bff2d80102"}, "test_id": "T1422", "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": "genai", "model": "gemini-3.6-flash", "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-03-26\"],\"letter_title\":null,\"sender_persons\":null,\"receiver_persons\":null}}", "model": "gemini-3.6-flash", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 1428, "output_tokens": 36, "total_tokens": 2182, "input_cost_usd": 0.002142, "output_cost_usd": 0.00027, "estimated_cost_usd": 0.0024119999999999996}, "duration": 21.41922402381897, "timestamp": "2026-07-25T19:39:23.308616", "parsed": {"metadata": {"send_date": ["1928-03-26"], "letter_title": null, "sender_persons": null, "receiver_persons": null, "document_number": "letter21"}}, "conversation_id": "a73457bf-40c0-4b4e-a9b3-e3663213e874", "score": {"send_date_tp": 1, "send_date_fp": 0, "send_date_fn": 0, "sender_persons_tp": 0, "sender_persons_fp": 0, "sender_persons_fn": 0, "receiver_persons_tp": 0, "receiver_persons_fp": 0, "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\":\"Sat, 25 Jul 2026 17:39:23 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=17583\",\"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\":\"{\\\"metadata\\\":{\\\"send_date\\\":[\\\"1928-03-26\\\"],\\\"letter_title\\\":null,\\\"sender_persons\\\":null,\\\"receiver_persons\\\":null}}\",\"thought\":null,\"thought_signature\":\"EpUUCpIUARFNMg9i6kE4TUHNhG2snt-5y2YZGdJ6_-lzPzwIOj2BUm0vmXkWW6nnCbqpM15A-grTqfRU4G3fD6OaLmKCMxT8f9I7BaVSdpzqFiUcaKYT4T9GFnLuie-hiae1nn2ksHJRTnonP7mVkpFmUPh8QHbEljMS0d7RaPqMOIExrdyRQJT8YJrafEoov3mNsJX0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570w==\",\"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.6-flash\",\"prompt_feedback\":null,\"response_id\":\"xvRkarTKMv_ynsEPg9-62Qo\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":36,\"candidates_tokens_details\":null,\"prompt_token_count\":1428,\"prompt_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":336},{\"modality\":\"IMAGE\",\"token_count\":1092}],\"thoughts_token_count\":718,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":2182,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"metadata\":{\"send_date\":[\"1928-03-26\"],\"letter_title\":null,\"sender_persons\":null,\"receiver_persons\":null}}}"}, "scoring": {"f1_macro": 0.82, "f1_micro": 0.89, "cost_summary": {"total_input_tokens": 46620, "total_output_tokens": 1008, "total_tokens": 47628, "input_cost_usd": 0.06992999999999999, "output_cost_usd": 0.007560000000000002, "total_cost_usd": 0.07748999999999999}}, "normalized_score": 82.0}