{"_id": {"$oid": "69d4eb12b877594bc571898b"}, "test_id": "T0214", "benchmark": "business_letters", "date": "2025-10-01", "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-2.5-flash-lite-preview-09-2025", "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": {"provider": "genai", "model": "gemini-2.5-flash-lite-preview-09-2025", "duration": 0.7903316020965576, "timestamp": "2025-10-01T00:36:59.556850", "parsed": {"metadata": {"send_date": ["1932-09-07"], "letter_title": ["Betr. Personenschiffahrt"], "sender_persons": ["Basler Rheinschiffahrt Aktiengesellschaft"], "receiver_persons": ["Herr Dr. M.Vischer-von Planta"]}}, "text": "{\n    \"metadata\": {\n        \"send_date\": [\n            \"1932-09-07\"\n        ],\n        \"letter_title\": [\n            \"Betr. Personenschiffahrt\"\n        ],\n        \"sender_persons\": [\n            \"Basler Rheinschiffahrt Aktiengesellschaft\"\n        ],\n        \"receiver_persons\": [\n            \"Herr Dr. M.Vischer-von Planta\"\n        ]\n    }\n}", "raw_response": {"text": "{\n    \"metadata\": {\n        \"send_date\": [\n            \"1932-09-07\"\n        ],\n        \"letter_title\": [\n            \"Betr. Personenschiffahrt\"\n        ],\n        \"sender_persons\": [\n            \"Basler Rheinschiffahrt Aktiengesellschaft\"\n        ],\n        \"receiver_persons\": [\n            \"Herr Dr. M.Vischer-von Planta\"\n        ]\n    }\n}", "usage_metadata": {"prompt_token_count": 1091, "candidates_token_count": 108, "total_token_count": 1203}}, "usage": {"input_tokens": 1091, "output_tokens": 108, "total_tokens": 1203}, "finish_reason": "stop"}, "scoring": {"f1_macro": 0.53, "f1_micro": 0.48, "cost_summary": {"total_input_tokens": 26365, "total_output_tokens": 3290, "total_tokens": 29655, "input_cost_usd": 0.002636, "output_cost_usd": 0.001316, "total_cost_usd": 0.003953, "pricing_date": "2025-10-01", "input_price_per_million": 0.1, "output_price_per_million": 0.4}}, "normalized_score": 53.0}