{"_id": {"$oid": "69d4eb12b877594bc57189aa"}, "test_id": "T0248", "benchmark": "business_letters", "date": "2025-10-17", "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": "openrouter", "model": "meta-llama/llama-4-maverick", "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": {"provider": "openrouter", "model": "meta-llama/llama-4-maverick", "duration": 3.0641567707061768, "timestamp": "2025-10-17T22:41:04.811679", "parsed": {"metadata": {"send_date": ["1928-05-05"], "letter_title": ["null"], "sender_persons": ["Schriftleitung der Zeitschrift 'Die Rheinquellen'"], "receiver_persons": ["Basler Rheinschiffahrts-A.G."]}}, "text": "", "raw_response": {"id": "gen-1760733662-hFhLqGeWwHQ92x1sRDPw", "model": "meta-llama/llama-4-maverick", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\n    \"metadata\": {\n        \"send_date\": [\"1928-05-05\"],\n        \"letter_title\": [\"null\"],\n        \"sender_persons\": [\"Schriftleitung der Zeitschrift 'Die Rheinquellen'\"],\n        \"receiver_persons\": [\"Basler Rheinschiffahrts-A.G.\"]\n    }\n}", "role": "assistant"}}], "usage": {"prompt_tokens": 2210, "completion_tokens": 67, "total_tokens": 2277}}, "usage": {"input_tokens": 2210, "output_tokens": 67, "total_tokens": 2277}, "finish_reason": "stop"}, "scoring": {"f1_macro": 0.46, "f1_micro": 0.47, "cost_summary": {"total_input_tokens": 203693, "total_output_tokens": 3574, "total_tokens": 207267, "input_cost_usd": 0.030554, "output_cost_usd": 0.002144, "total_cost_usd": 0.032698, "pricing_date": "2025-10-17", "input_price_per_million": 0.15, "output_price_per_million": 0.6}}, "normalized_score": 46.0}