{"_id": {"$oid": "6a1010f996d87b97b14cf704"}, "test_id": "T0593", "benchmark": "personnel_cards", "date": "2026-02-09", "tags": {"document-type": ["index-card"], "writing": ["handwritten", "typed", "printed"], "century": [20], "layout": ["table", "form"], "task": ["transcription", "document-understanding", "data-correction"], "language": ["de", "fr"]}, "contributors": ["tabea_wullschleger", "maximilian_hindermann"], "hidden": false, "config": {"provider": "genai", "model": "gemini-3-flash-preview", "dataclass": "Table", "temperature": 0.0, "role_description": "You are a historian specializing in 20th century personnel records and administrative documents", "prompt_file": "prompt.txt", "legacy_test": false}, "prompt": "Extract all information from this personnel card table and return it as a structured JSON object. The card contains rows documenting employment history with positions, locations, salary information, dates, and remarks.\n\nREQUIRED JSON STRUCTURE:\n```json\n{\n  \"rows\": [\n    {\n      \"row_number\": 1,\n      \"dienstliche_stellung\": {\n        \"diplomatic_transcript\": \"exact text from card\",\n        \"interpretation\": \"expanded/standardized form or null\",\n        \"is_crossed_out\": false\n      },\n      \"dienstort\": {\n        \"diplomatic_transcript\": \"exact text from card\",\n        \"interpretation\": \"expanded/standardized form or null\",\n        \"is_crossed_out\": false\n      },\n      \"gehaltsklasse\": {\n        \"diplomatic_transcript\": \"exact text from card\",\n        \"interpretation\": \"expanded/standardized form or null\",\n        \"is_crossed_out\": false\n      },\n      \"jahresgehalt_monatsgehalt_taglohn\": {\n        \"diplomatic_transcript\": \"exact text from card\",\n        \"interpretation\": \"standardized numeric form or null\",\n        \"is_crossed_out\": false\n      },\n      \"datum_gehalts\u00e4nderung\": {\n        \"diplomatic_transcript\": \"exact text from card\",\n        \"interpretation\": \"YYYY-MM-DD format or null\",\n        \"is_crossed_out\": false\n      },\n      \"bemerkungen\": {\n        \"diplomatic_transcript\": \"exact text from card\",\n        \"interpretation\": \"expanded/standardized form or null\",\n        \"is_crossed_out\": false\n      }\n    }\n  ]\n}\n```\n\nCOLUMN DEFINITIONS:\n1. **dienstliche_stellung**: Official position or job title (e.g., \"Assistent\", \"Professor\", \"Sekret\u00e4r\")\n2. **dienstort**: Place of service or work location (e.g., \"Basel\", \"Z\u00fcrich\")\n3. **gehaltsklasse**: Salary class or grade (e.g., \"III\", \"IV\", roman numerals or numbers)\n4. **jahresgehalt_monatsgehalt_taglohn**: Salary amount (annual/monthly/daily wage)\n5. **datum_gehalts\u00e4nderung**: Date of salary change or effective date\n6. **bemerkungen**: Remarks, notes, or additional comments\n\nFIELD EXTRACTION RULES:\n\n**diplomatic_transcript** (REQUIRED for all fields):\n- Transcribe EXACTLY as written on the card\n- Include all abbreviations, punctuation, and formatting as they appear\n- Preserve original capitalization and spacing\n- Include currency symbols and separators (e.g., \"Fr. 2'400.-\", \"3.700.-\")\n- For dates, copy the exact format (e.g., \"1. Jan. 1946\", \"1.April 1945\")\n- Use empty string \"\" for empty cells\n- Be sure to escape ditto marks (repetition marks such as `\"` indicating \"same as above\")\n- DO NOT expand abbreviations or standardize formats\n- Do not transcribe checkmarks\n\n**interpretation** (OPTIONAL - use null if not applicable):\n- For ditto marks (repetition marks such as `\"`): Replace with the actual repeated value from the previous row in the same column\n  - For example, if previous row's dienstliche_stellung is \"Hilfsleiterin\" and current row has `\"`, interpret as \"Hilfsleiterin\"\n  - Do NOT add explanatory text like \"wie oben\" or similar - just provide the repeated value\n- Never expand abbreviations\n- For dates: Convert to ISO format YYYY-MM-DD\n  - \"1. Jan. 1946\" \u2192 \"1946-01-01\"\n  - \"1.April 1945\" \u2192 \"1945-04-01\"\n- For salary amounts: Extract numeric value only (remove currency symbols, separators)\n  - \"Fr. 2'400.-\" \u2192 \"2400\"\n  - \"3.700.-\" \u2192 \"3700\"\n  - \"5.094.-\" \u2192 \"5094\"\n  \"6,30.-\" \u2192 \"6.3\"\n- For salary class: Convert roman numerals to arabic if clear\n  - \"III\" \u2192 \"3\"\n  - \"IV\" \u2192 \"4\"\n- Do not convert roman numerals to arabic if not salary, date, or salary class\n- Use null if no interpretation/expansion is needed or if the field is empty\n- \"+ {word}\" where {word} is a word does not need interpretation\n\n**is_crossed_out** (REQUIRED for all fields):\n- Set to true if text in this field is crossed out, struck through, or deleted\n- Set to false if text is normal (not crossed out)\n- Empty cells should have is_crossed_out: false\n\nROW HANDLING:\n- Number rows sequentially starting from 1 (top to bottom)\n- Include ALL rows that have ANY content in ANY column\n- Empty rows (all cells empty) should be omitted\n- A row with only one filled cell should still be included\n\nIMPORTANT NOTES:\n- Return ONLY the JSON object, no additional text or explanation\n- Every field must have all three sub-fields: diplomatic_transcript, interpretation, is_crossed_out\n- diplomatic_transcript must never be null (use empty string \"\" for empty cells)\n- interpretation can be null when no expansion/standardization applies\n- Process the entire table from top to bottom\n- Maintain consistent row numbering throughout\n", "results": {"text": "{\"rows\":[{\"row_number\":1,\"dienstliche_stellung\":{\"diplomatic_transcript\":\"Hilfsleiterin\",\"interpretation\":null,\"is_crossed_out\":false},\"dienstort\":{\"diplomatic_transcript\":\"\",\"interpretation\":null,\"is_crossed_out\":false},\"gehaltsklasse\":{\"diplomatic_transcript\":\"\",\"interpretation\":null,\"is_crossed_out\":false},\"jahresgehalt_monatsgehalt_taglohn\":{\"diplomatic_transcript\":\"2 950.-\",\"interpretation\":\"2950\",\"is_crossed_out\":false},\"datum_gehalts\u00e4nderung\":{\"diplomatic_transcript\":\"13 August 1945\",\"interpretation\":\"1945-08-13\",\"is_crossed_out\":false},\"bemerkungen\":{\"diplomatic_transcript\":\"+ Zulagen\",\"interpretation\":null,\"is_crossed_out\":false}}]}", "model": "gemini-3-flash-preview", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 2317, "output_tokens": 301, "total_tokens": 3202, "input_cost_usd": 0.0011585, "output_cost_usd": 0.0009029999999999999, "estimated_cost_usd": 0.0020615}, "duration": 5.924721717834473, "timestamp": "2026-02-09T17:56:52.557699", "parsed": {"rows": [{"row_number": 1, "dienstliche_stellung": {"diplomatic_transcript": "Hilfsleiterin", "interpretation": null, "is_crossed_out": false}, "dienstort": {"diplomatic_transcript": "", "interpretation": null, "is_crossed_out": false}, "gehaltsklasse": {"diplomatic_transcript": "", "interpretation": null, "is_crossed_out": false}, "jahresgehalt_monatsgehalt_taglohn": {"diplomatic_transcript": "2 950.-", "interpretation": "2950", "is_crossed_out": false}, "datum_gehalts\u00e4nderung": {"diplomatic_transcript": "13 August 1945", "interpretation": "1945-08-13", "is_crossed_out": false}, "bemerkungen": {"diplomatic_transcript": "+ Zulagen", "interpretation": null, "is_crossed_out": false}}]}, "conversation_id": "0f425576-3c40-42bb-937e-942eeeea63b9", "score": {"f1_score": 0.92, "precision": 0.9166666666666666, "recall": 0.9166666666666666, "true_positives": 11, "false_positives": 1, "false_negatives": 1, "field_scores": {"rows[0].gehaltsklasse.diplomatic_transcript": {"response": null, "ground_truth": null, "score": 1.0}, "rows[0].gehaltsklasse.interpretation": {"response": null, "ground_truth": null, "score": 1.0}, "rows[0].dienstort.interpretation": {"response": null, "ground_truth": null, "score": 1.0}, "rows[0].datum_gehalts\u00e4nderung.interpretation": {"response": "1945-08-13", "ground_truth": "1945-08-13", "score": 1.0}, "rows[0].jahresgehalt_monatsgehalt_taglohn.diplomatic_transcript": {"response": "2 950.-", "ground_truth": "2.950.-", "score": 0.8571428571428572}, "rows[0].datum_gehalts\u00e4nderung.diplomatic_transcript": {"response": "13 August 1945", "ground_truth": "13. August 1945", "score": 0.9655172413793103}, "rows[0].bemerkungen.diplomatic_transcript": {"response": "+ Zulagen", "ground_truth": "+ Zulagen", "score": 1.0}, "rows[0].bemerkungen.interpretation": {"response": null, "ground_truth": null, "score": 1.0}, "rows[0].bemerkungen.is_crossed_out": {"response": false, "ground_truth": false, "score": 1.0}, "rows[0].dienstliche_stellung.interpretation": {"response": null, "ground_truth": null, "score": 1.0}, "rows[0].jahresgehalt_monatsgehalt_taglohn.is_crossed_out": {"response": false, "ground_truth": false, "score": 1.0}, "rows[0].dienstliche_stellung.diplomatic_transcript": {"response": "Hilfsleiterin", "ground_truth": "Hilfsleiterin", "score": 1.0}, "rows[0].gehaltsklasse.is_crossed_out": {"response": false, "ground_truth": false, "score": 1.0}, "rows[0].dienstliche_stellung.is_crossed_out": {"response": false, "ground_truth": false, "score": 1.0}, "rows[0].jahresgehalt_monatsgehalt_taglohn.interpretation": {"response": "2950", "ground_truth": "2950", "score": 1.0}, "rows[0].datum_gehalts\u00e4nderung.is_crossed_out": {"response": false, "ground_truth": false, "score": 1.0}, "rows[0].dienstort.diplomatic_transcript": {"response": null, "ground_truth": null, "score": 1.0}, "rows[0].dienstort.is_crossed_out": {"response": false, "ground_truth": false, "score": 1.0}}, "total_fields": 19}, "raw_response": "{\"sdk_http_response\":{\"headers\":{\"content-type\":\"application/json; charset=UTF-8\",\"vary\":\"Origin, X-Origin, Referer\",\"content-encoding\":\"gzip\",\"date\":\"Mon, 09 Feb 2026 16:56:46 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=5774\",\"alt-svc\":\"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\"transfer-encoding\":\"chunked\"},\"body\":null},\"candidates\":[{\"content\":{\"parts\":[{\"video_metadata\":null,\"thought\":null,\"inline_data\":null,\"file_data\":null,\"thought_signature\":\"ErwOCrkOAb4-9vvM0XsXCr9OQZR-hFUgnyCzxbN3OXIx11UsRraKNAYHdlUXtojGVl2b-nIvW8vfFFy8WUqbmRH_VDiwGsY3fSh3uakje3J16rvYn0i0YwAqDa61tKARvvXshGrorMs5nS6GwW6Gdq0G3sR5dX4jMrM_PhnYuk4uw5LOaqm9sVtx-6BYxsJEsbaoflLm-ENjXZOkOO1oydT-6Z6NaAWHb-Ft_1a2OVjTYB4TzpxMiRuLhpsj8j04jeeoKUjnYNaGx3f_mdgzN7iLRKboCIljDv30t610dInj0jWi2_QM-PPRA0DMN5KyqFMfJ6u8XY3ge8K5Bsrp4CV-XpkuFOe32xjfoO-HXo4FCPY33QcQogyPSa0hq5d7z3UjAztc43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VRSZxPp3TBiXftx9dNAFOgPyr7zoJ4Spw79XfCRrLGRIWPm4tvGG-cfKAyznQnnu3QNWhgGKjzhoh4LHtPx1Ea52BxQP6H9FsJs61s-hsuhQaxY8-xHn2tlVPmdqBoXy7nL_j8lsi3IsSvTZoq6M0Osn4u5OQC29V2FJH93saCGtFpAWe8eDqDl5ro2eFPIKR22GUClQCnjOxQFj9ruTbaqrKhYlgwsiFlCzxwr-4I-pI0-gjJCmWAHeqq0akUYWf1mphtQDQT7q0Ddf6xh6ScmViAX1nszE-9fjNFQY7OaE6fb7J8ORnsnbOsisRCSsQEDIVWoW8iURKgPdMUHBVSeznzX7WM1rwM0M-H8WTthFICwXj9M_jQCBEojyD1suyydxXo9WbKPd1nbRutWPKJ9uA0OflOHNH5dUK49vGi634JSoMh1PwJPgDbT7RYexg0Sqax8jTIyyUzG6TK29yzoGVKzaMktFKGfevLzA9L-SWS1WpmZ99IoANczDqB2J4leBZldAl6fZ9so3o1_MbwU6_UA-hE6XZuoL7pUTgSlMgqR6hS_GvFwwvGSfophd8XDFvGXMWbqNEnBuQyZLnFcH59XgTfDYGyLpMgA5PVuyPmGfQV8cr_moepisJCirkzl5oYM7oqB96amJ78KlXmmguMl9TNPj5R4zT3mhWX3PUspMKYG-nHW9QKYz5IkRk4wzi6a3gDk12D12LnIywu1a39EXL1PMPMwAFRV84Sy44V7PTO8VPv5vurOWUFWKBLAdBW1OSs6_bWFjyDvisOdZvGhBPPHktc8OyuF2jd6UbGh5cuGiHZyCq4koURF1C8fXAYc0prttin_fgBxf6nY3Nt3_MFaUB9TfzldfyNKFiYGjJ-U6EGsp1_7ozE-6olmueurTisxhclaUehlVgBWhuP1ltCTbUCYUQAdv6ZA5kk4eoCBGgvAMg27_AxFQaWqhDpt8NKkJ4bk4dsePQbeVDIozjjGyVecT3-ro-yxyhtY0l0FwFn_y30pDng==\",\"function_call\":null,\"code_execution_result\":null,\"executable_code\":null,\"function_response\":null,\"text\":\"{\\n  \\\"rows\\\": [\\n    {\\n      \\\"row_number\\\": 1,\\n      \\\"dienstliche_stellung\\\": {\\n        \\\"diplomatic_transcript\\\": \\\"Hilfsleiterin\\\",\\n        \\\"interpretation\\\": null,\\n        \\\"is_crossed_out\\\": false\\n      },\\n      \\\"dienstort\\\": {\\n        \\\"diplomatic_transcript\\\": \\\"\\\",\\n        \\\"interpretation\\\": null,\\n        \\\"is_crossed_out\\\": false\\n      },\\n      \\\"gehaltsklasse\\\": {\\n        \\\"diplomatic_transcript\\\": \\\"\\\",\\n        \\\"interpretation\\\": null,\\n        \\\"is_crossed_out\\\": false\\n      },\\n      \\\"jahresgehalt_monatsgehalt_taglohn\\\": {\\n        \\\"diplomatic_transcript\\\": \\\"2 950.-\\\",\\n        \\\"interpretation\\\": \\\"2950\\\",\\n        \\\"is_crossed_out\\\": false\\n      },\\n      \\\"datum_gehalts\u00e4nderung\\\": {\\n        \\\"diplomatic_transcript\\\": \\\"13 August 1945\\\",\\n        \\\"interpretation\\\": \\\"1945-08-13\\\",\\n        \\\"is_crossed_out\\\": false\\n      },\\n      \\\"bemerkungen\\\": {\\n        \\\"diplomatic_transcript\\\": \\\"+ Zulagen\\\",\\n        \\\"interpretation\\\": null,\\n        \\\"is_crossed_out\\\": false\\n      }\\n    }\\n  ]\\n}\"}],\"role\":\"model\"},\"citation_metadata\":null,\"finish_message\":null,\"token_count\":null,\"finish_reason\":\"STOP\",\"url_context_metadata\":null,\"avg_logprobs\":null,\"grounding_metadata\":null,\"index\":0,\"logprobs_result\":null,\"safety_ratings\":null}],\"create_time\":null,\"model_version\":\"gemini-3-flash-preview\",\"prompt_feedback\":null,\"response_id\":\"zhGKac7nIZ-wkdUP-r6qgAM\",\"usage_metadata\":{\"cache_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":688},{\"modality\":\"IMAGE\",\"token_count\":613}],\"cached_content_token_count\":1301,\"candidates_token_count\":301,\"candidates_tokens_details\":null,\"prompt_token_count\":2317,\"prompt_tokens_details\":[{\"modality\":\"IMAGE\",\"token_count\":1092},{\"modality\":\"TEXT\",\"token_count\":1225}],\"thoughts_token_count\":584,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":3202,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"rows\":[{\"row_number\":1,\"dienstliche_stellung\":{\"diplomatic_transcript\":\"Hilfsleiterin\",\"interpretation\":null,\"is_crossed_out\":false},\"dienstort\":{\"diplomatic_transcript\":\"\",\"interpretation\":null,\"is_crossed_out\":false},\"gehaltsklasse\":{\"diplomatic_transcript\":\"\",\"interpretation\":null,\"is_crossed_out\":false},\"jahresgehalt_monatsgehalt_taglohn\":{\"diplomatic_transcript\":\"2 950.-\",\"interpretation\":\"2950\",\"is_crossed_out\":false},\"datum_gehalts\u00e4nderung\":{\"diplomatic_transcript\":\"13 August 1945\",\"interpretation\":\"1945-08-13\",\"is_crossed_out\":false},\"bemerkungen\":{\"diplomatic_transcript\":\"+ Zulagen\",\"interpretation\":null,\"is_crossed_out\":false}}]}}"}, "scoring": {"f1_micro": 0.9534516765285996, "f1_macro": 0.8950819672131147, "micro_precision": 0.9471003134796239, "micro_recall": 0.9598888006354249, "total_instances": 61, "total_tp": 2417, "total_fp": 135, "total_fn": 101, "cost_summary": {"total_input_tokens": 141043, "total_output_tokens": 47847, "total_tokens": 188890, "input_cost_usd": 0.07052150000000004, "output_cost_usd": 0.143541, "total_cost_usd": 0.2140625}}, "normalized_score": 95.34516765285997}