{"_id": {"$oid": "69d4eb12b877594bc5718d1d"}, "test_id": "T0720", "benchmark": "business_letters", "date": "2026-03-23", "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": "x-ai", "model": "grok-4.20-0309-reasoning", "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\":[\"1912-12-16\"],\"letter_title\":null,\"sender_persons\":[\"Basler Processions- und Wallfahrts-Verein\"],\"receiver_persons\":[\"Basler Rheinschifffahrt A.-G.\"]}}", "model": "grok-4.20-0309-reasoning", "provider": "x-ai", "finish_reason": "stop", "usage": {"input_tokens": 815, "output_tokens": 69, "total_tokens": 2928, "cached_tokens": 768, "input_cost_usd": 0.00163, "output_cost_usd": 0.000414, "estimated_cost_usd": 0.002044}, "duration": 22.575246572494507, "timestamp": "2026-03-23T13:56:28.236887", "parsed": {"metadata": {"send_date": ["1912-12-16"], "letter_title": null, "sender_persons": ["Basler Processions- und Wallfahrts-Verein"], "receiver_persons": ["Basler Rheinschifffahrt A.-G."], "document_number": "letter59"}}, "conversation_id": "6247ca0e-a9f9-47ee-8764-d4b3cbb5c2c2", "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": "{\"id\":\"1ab1a51c-47ae-9ad2-9f62-3f2160b0ad7d\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"metadata\\\": {\\n    \\\"send_date\\\": [\\\"1912-12-16\\\"],\\n    \\\"letter_title\\\": null,\\n    \\\"sender_persons\\\": [\\\"Basler Processions- und Wallfahrts-Verein\\\"],\\n    \\\"receiver_persons\\\": [\\\"Basler Rheinschifffahrt A.-G.\\\"]\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"metadata\":{\"send_date\":[\"1912-12-16\"],\"letter_title\":null,\"sender_persons\":[\"Basler Processions- und Wallfahrts-Verein\"],\"receiver_persons\":[\"Basler Rheinschifffahrt A.-G.\"]}}}}],\"created\":1774270587,\"model\":\"grok-4.20-0309-reasoning\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":\"fp_d6e36c82c2\",\"usage\":{\"completion_tokens\":69,\"prompt_tokens\":815,\"total_tokens\":2928,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":2044,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":768,\"text_tokens\":623,\"image_tokens\":192},\"num_sources_used\":0,\"cost_in_usd_ticks\":132156000}}"}, "scoring": {"f1_macro": 0.15, "f1_micro": 0.18, "cost_summary": {"total_input_tokens": 22315, "total_output_tokens": 1364, "total_tokens": 23679, "input_cost_usd": 0.04462999999999999, "output_cost_usd": 0.008184000000000002, "total_cost_usd": 0.05281399999999998}}, "normalized_score": 15.0}