{"_id": {"$oid": "6acf4720ef3fcc24140a7de8"}, "test_id": "T0998", "benchmark": "business_letters", "date": "2026-04-21", "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": "google/gemma-4-26b-a4b-it", "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\":[\"1926-03-29\"],\"letter_title\":[\"Internationale Ausstellung f\u00fcr Binnenschifffahrt und Wasserkraftnutzung Basel 1926\"],\"sender_persons\":[\"null\"],\"receiver_persons\":[\"Dr. W. Krasting\"]}}", "model": "google/gemma-4-26b-a4b-it-20260403", "provider": "openrouter", "finish_reason": "stop", "usage": {"input_tokens": 632, "output_tokens": 92, "total_tokens": 724, "cached_tokens": 352, "input_cost_usd": 5.056e-05, "output_cost_usd": 3.22e-05, "estimated_cost_usd": 8.276e-05}, "duration": 4.720085859298706, "timestamp": "2026-04-21T13:41:32.401852", "parsed": {"metadata": {"send_date": ["1926-03-29"], "letter_title": ["Internationale Ausstellung f\u00fcr Binnenschifffahrt und Wasserkraftnutzung Basel 1926"], "sender_persons": ["null"], "receiver_persons": ["Dr. W. Krasting"], "document_number": "letter05"}}, "conversation_id": "1b96aeb3-6a83-4a7a-92cf-a860b3f98de2", "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": 1, "receiver_persons_fp": 0, "receiver_persons_fn": 0}, "raw_response": "{\"id\":\"gen-1776771688-EBBeycQ1oQbz5ruC7FqN\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n    \\\"metadata\\\": {\\n        \\\"send_date\\\": [\\\"1926-03-29\\\"],\\n        \\\"letter_title\\\": [\\\"Internationale Ausstellung f\u00fcr Binnenschifffahrt und Wasserkraftnutzung Basel 1926\\\"],\\n        \\\"sender_persons\\\": [\\\"null\\\"],\\n        \\\"receiver_persons\\\": [\\\"Dr. W. Krasting\\\"]\\n    }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"metadata\":{\"send_date\":[\"1926-03-29\"],\"letter_title\":[\"Internationale Ausstellung f\u00fcr Binnenschifffahrt und Wasserkraftnutzung Basel 1926\"],\"sender_persons\":[\"null\"],\"receiver_persons\":[\"Dr. W. Krasting\"]}},\"reasoning\":null},\"native_finish_reason\":\"stop\"}],\"created\":1776771688,\"model\":\"google/gemma-4-26b-a4b-it-20260403\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":92,\"prompt_tokens\":632,\"total_tokens\":724,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":0,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":null,\"image_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":352,\"cache_write_tokens\":0,\"video_tokens\":0},\"cost\":0.00007328,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.00007328,\"upstream_inference_prompt_cost\":0.00003648,\"upstream_inference_completions_cost\":0.0000368}},\"provider\":\"Ionstream\"}"}, "scoring": {"f1_macro": 0.44, "f1_micro": 0.53, "cost_summary": {"total_input_tokens": 18480, "total_output_tokens": 1980, "total_tokens": 20460, "input_cost_usd": 0.0014784000000000004, "output_cost_usd": 0.000693, "total_cost_usd": 0.0021714000000000004}}, "pricing": {"bucket_date": "2026-04-21", "age_days": 0, "input_price_per_million": 0.08, "output_price_per_million": 0.35}, "timing": {"total_response_s": 144.23, "mean_response_s": 5.77, "slowest_response_s": 9.46, "inputs_timed": 25, "inputs_stored": 25, "span_s": 7.3}, "normalized_score": 44.0}