{"_id": {"$oid": "69d4eb12b877594bc5718c91"}, "test_id": "T0687", "benchmark": "medieval_manuscripts", "date": "2026-03-16", "tags": {"document-type": ["manuscript"], "writing": ["handwritten"], "century": [15], "language": ["de"], "layout": ["prose"], "task": ["transcription"]}, "contributors": ["ina_serif", "maximilian_hindermann"], "hidden": false, "config": {"provider": "genai", "model": "gemini-3.1-pro-preview", "dataclass": "Document", "temperature": 0.0, "role_description": "You are a historian with expertise in medieval manuscripts and paleography", "prompt_file": "prompt.txt", "legacy_test": false}, "prompt": "IDENTITY and PURPOSE:\n\nYou are presented with an image from a 15th century medieval manuscript written in Basel in late medieval German. Your task is to extract the text from the manuscript in the specified JSON format. You must extract all text exactly as it appears in the manuscript, maintaining historical spellings, punctuation, and formatting. Do not resolve abbreviations.\n\nThe manuscript may contain:\n1. A main text body (often in one column as continuous text)\n2. A folio number (if present)\n3. Additional notes or text written in the margins (labeled as addition1, addition2, etc.)\n\nYou must:\n- Identify and transcribe the main text\n- Extract the folio number if visible (use empty string \"\" if not visible)\n- Identify and transcribe any marginal additions separately\n- Preserve line breaks with \\n\n- Maintain all historical spellings and abbreviations exactly as written. If a letter is superscribed, normalize it by writing the superscribed letter after the main letter, e.g. \"u with superscribed o\" is spelled as \"uo\". If special characters are used for abbreviations, do not resolve them, but try to transcribe the special character according to the Medieval Unicode Font Initiative. \ua75b for \"er\" and \ua770 for \"us\" or \"em\" might be the most common special characters.\n- Do not modernize or correct the text\n- Do not use OCR or attempt to interpret unclear text - transcribe what you can see\n- If a field has no content, use an empty string \"\" (not null)\n\nTake a deep breath and think step by step about the layout of the page. First identify the folio number, then the main text area, then any marginal additions. Return only a JSON file with no additional commentary.\n\nEXAMPLE OUTPUT:\n\n{\n  \"folios\": [\n    {\n      \"folio\": \"15\",\n      \"text\": \"In disem jare kam der kunig\\n mit grossem here in daz lant\\n vnd belagerte die stat Basel\\n do wertend sich die burger\\n mit grosser kraft vnd tugent\\n vnd triben den kunig dannen\\n mit schanden vnd verlust\",\n      \"addition1\": \"Anno domini 1444\",\n      \"addition2\": \"\",\n      \"addition3\": \"\"\n    }\n  ]\n}\n", "results": {"text": "{\"folios\":[{\"folio\":\"\",\"text\":\"Item dar noch got man in die\\nkappel des heiligen grabes\\nDo ist ein altar von marmel\\nstein gemacht vber das heilig\\ngrab do vnser herre gewarer\\ngot vnd mensche in gelegen\\nist vnd do von vferstanden\\nan dem dritten tag von\\ndem tod\\nItem in dem cor des tempels\\nda ist ein loch vnd stat dar\\nbi ein klein stein do sprach\\nvnser herre dz were das mittel\\nder welt\\nItem hie nochgeschriben stand die\\ndie bilgerstet vswendig des\\ntempels in der stat\\nItem das hus des Richen mans\",\"addition1\":\"\",\"addition2\":\"\",\"addition3\":\"\"}]}", "model": "gemini-3.1-pro-preview", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 1594, "output_tokens": 199, "total_tokens": 1793}, "duration": 4.858447790145874, "timestamp": "2026-03-16T19:37:11.071810", "parsed": {"folios": [{"folio": "", "text": "Item dar noch got man in die\nkappel des heiligen grabes\nDo ist ein altar von marmel\nstein gemacht vber das heilig\ngrab do vnser herre gewarer\ngot vnd mensche in gelegen\nist vnd do von vferstanden\nan dem dritten tag von\ndem tod\nItem in dem cor des tempels\nda ist ein loch vnd stat dar\nbi ein klein stein do sprach\nvnser herre dz were das mittel\nder welt\nItem hie nochgeschriben stand die\ndie bilgerstet vswendig des\ntempels in der stat\nItem das hus des Richen mans", "addition1": "", "addition2": "", "addition3": ""}]}, "conversation_id": "1b2a20fa-a79a-4ccb-a02e-f20a3be66acf", "score": {"fuzzy": 0.936, "cer": 0.055}, "raw_response": "{\"sdk_http_response\":{\"headers\":{\"content-type\":\"application/json; charset=UTF-8\",\"vary\":\"Origin, X-Origin, Referer\",\"content-encoding\":\"gzip\",\"date\":\"Mon, 16 Mar 2026 18:37:17 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=4553\",\"alt-svc\":\"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\"transfer-encoding\":\"chunked\"},\"body\":null},\"candidates\":[{\"content\":{\"parts\":[{\"media_resolution\":null,\"code_execution_result\":null,\"executable_code\":null,\"file_data\":null,\"function_call\":null,\"function_response\":null,\"inline_data\":null,\"text\":\"{\\n  \\\"folios\\\": [\\n    {\\n      \\\"folio\\\": \\\"\\\",\\n      \\\"text\\\": \\\"Item dar noch got man in die\\\\nkappel des heiligen grabes\\\\nDo ist ein altar von marmel\\\\nstein gemacht vber das heilig\\\\ngrab do vnser herre gewarer\\\\ngot vnd mensche in gelegen\\\\nist vnd do von vferstanden\\\\nan dem dritten tag von\\\\ndem tod\\\\nItem in dem cor des tempels\\\\nda ist ein loch vnd stat dar\\\\nbi ein klein stein do sprach\\\\nvnser herre dz were das mittel\\\\nder welt\\\\nItem hie nochgeschriben stand die\\\\ndie bilgerstet vswendig des\\\\ntempels in der stat\\\\nItem das hus des Richen mans\\\",\\n      \\\"addition1\\\": \\\"\\\",\\n      \\\"addition2\\\": \\\"\\\",\\n      \\\"addition3\\\": \\\"\\\"\\n    }\\n  ]\\n}\",\"thought\":null,\"thought_signature\":\"EjQKMgG-Pvb7hvNmc0oemEgd5f1qbrRYkRBkVEFWpzfRgFdWAPrPwikEUXPKS7YX6Qjq3tSv\",\"video_metadata\":null}],\"role\":\"model\"},\"citation_metadata\":null,\"finish_message\":null,\"token_count\":null,\"finish_reason\":\"STOP\",\"avg_logprobs\":null,\"grounding_metadata\":null,\"index\":0,\"logprobs_result\":null,\"safety_ratings\":null,\"url_context_metadata\":null}],\"create_time\":null,\"model_version\":\"gemini-3.1-pro-preview\",\"prompt_feedback\":null,\"response_id\":\"3U24aaKOOLaWkdUP9YDD0AE\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":199,\"candidates_tokens_details\":null,\"prompt_token_count\":1594,\"prompt_tokens_details\":[{\"modality\":\"IMAGE\",\"token_count\":1080},{\"modality\":\"TEXT\",\"token_count\":514}],\"thoughts_token_count\":null,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":1793,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"folios\":[{\"folio\":\"\",\"text\":\"Item dar noch got man in die\\nkappel des heiligen grabes\\nDo ist ein altar von marmel\\nstein gemacht vber das heilig\\ngrab do vnser herre gewarer\\ngot vnd mensche in gelegen\\nist vnd do von vferstanden\\nan dem dritten tag von\\ndem tod\\nItem in dem cor des tempels\\nda ist ein loch vnd stat dar\\nbi ein klein stein do sprach\\nvnser herre dz were das mittel\\nder welt\\nItem hie nochgeschriben stand die\\ndie bilgerstet vswendig des\\ntempels in der stat\\nItem das hus des Richen mans\",\"addition1\":\"\",\"addition2\":\"\",\"addition3\":\"\"}]}}"}, "scoring": null, "normalized_score": null}