{"_id": {"$oid": "6acf4720ef3fcc24140a7dc7"}, "test_id": "T1002", "benchmark": "medieval_manuscripts", "date": "2026-04-21", "tags": {"document-type": ["manuscript"], "writing": ["handwritten"], "century": [15], "language": ["de"], "layout": ["prose"], "task": ["transcription"]}, "contributors": ["ina_serif", "maximilian_hindermann"], "hidden": false, "config": {"provider": "openrouter", "model": "google/gemma-4-26b-a4b-it", "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\":\"3\",\"text\":\"und ein pferit die wir vnd\\nmine knestet wider kulfend\\nsen do was menen k\u00fcn weg\\njenne den wir machtend\\nund viehend die knestet d\u00fck\\nund vil in vng an den and\\nund die pferit vng an die\\nstuel vnd was ze mol ein grosser\\nnebel dz wir kun gegepende\\nund als mit grosser arbeit kome\\nwir ze nuttem tag zu sant\\nkerstoffel off den bery do\\ndo hach ich die b\u00fccher do gar\\nvil herren wopen in stene\\ndie in stur delym geley hand\\ndo st\u00fcnd nunne vatter flugen\\nwopen acht in dem enem\",\"addition1\":\"\",\"addition2\":\"\",\"addition3\":\"\"}]}", "model": "google/gemma-4-26b-a4b-it-20260403", "provider": "openrouter", "finish_reason": "stop", "usage": {"input_tokens": 804, "output_tokens": 221, "total_tokens": 1025, "cached_tokens": 512, "input_cost_usd": 6.432000000000001e-05, "output_cost_usd": 7.735e-05, "estimated_cost_usd": 0.00014167}, "duration": 5.799032688140869, "timestamp": "2026-04-21T15:05:23.097636", "parsed": {"folios": [{"folio": "3", "text": "und ein pferit die wir vnd\nmine knestet wider kulfend\nsen do was menen k\u00fcn weg\njenne den wir machtend\nund viehend die knestet d\u00fck\nund vil in vng an den and\nund die pferit vng an die\nstuel vnd was ze mol ein grosser\nnebel dz wir kun gegepende\nund als mit grosser arbeit kome\nwir ze nuttem tag zu sant\nkerstoffel off den bery do\ndo hach ich die b\u00fccher do gar\nvil herren wopen in stene\ndie in stur delym geley hand\ndo st\u00fcnd nunne vatter flugen\nwopen acht in dem enem", "addition1": "", "addition2": "", "addition3": ""}]}, "conversation_id": "33f59889-0eed-49cc-9653-0515c380bd53", "score": {"fuzzy": 0.919, "cer": 0.082}, "raw_response": "{\"id\":\"gen-1776776718-OWyzNiFOrPD4m3LmXyU5\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"folios\\\": [\\n    {\\n      \\\"folio\\\": \\\"3\\\",\\n      \\\"text\\\": \\\"und ein pferit die wir vnd\\\\nmine knestet wider kulfend\\\\nsen do was menen k\u00fcn weg\\\\njenne den wir machtend\\\\nund viehend die knestet d\u00fck\\\\nund vil in vng an den and\\\\nund die pferit vng an die\\\\nstuel vnd was ze mol ein grosser\\\\nnebel dz wir kun gegepende\\\\nund als mit grosser arbeit kome\\\\nwir ze nuttem tag zu sant\\\\nkerstoffel off den bery do\\\\ndo hach ich die b\u00fccher do gar\\\\nvil herren wopen in stene\\\\ndie in stur delym geley hand\\\\ndo st\u00fcnd nunne vatter flugen\\\\nwopen acht in dem enem\\\",\\n      \\\"addition1\\\": \\\"\\\",\\n      \\\"addition2\\\": \\\"\\\",\\n      \\\"addition3\\\": \\\"\\\"\\n    }\\n  ]\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"folios\":[{\"folio\":\"3\",\"text\":\"und ein pferit die wir vnd\\nmine knestet wider kulfend\\nsen do was menen k\u00fcn weg\\njenne den wir machtend\\nund viehend die knestet d\u00fck\\nund vil in vng an den and\\nund die pferit vng an die\\nstuel vnd was ze mol ein grosser\\nnebel dz wir kun gegepende\\nund als mit grosser arbeit kome\\nwir ze nuttem tag zu sant\\nkerstoffel off den bery do\\ndo hach ich die b\u00fccher do gar\\nvil herren wopen in stene\\ndie in stur delym geley hand\\ndo st\u00fcnd nunne vatter flugen\\nwopen acht in dem enem\",\"addition1\":\"\",\"addition2\":\"\",\"addition3\":\"\"}]},\"reasoning\":null},\"native_finish_reason\":\"stop\"}],\"created\":1776776718,\"model\":\"google/gemma-4-26b-a4b-it-20260403\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":221,\"prompt_tokens\":804,\"total_tokens\":1025,\"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\":512,\"cache_write_tokens\":0,\"video_tokens\":0},\"cost\":0.0001432,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.0001432,\"upstream_inference_prompt_cost\":0.0000548,\"upstream_inference_completions_cost\":0.0000884}},\"provider\":\"Parasail\"}"}, "scoring": {"fuzzy": 0.715, "cer": 0.326, "cost_summary": {"total_input_tokens": 9656, "total_output_tokens": 2701, "total_tokens": 12357, "input_cost_usd": 0.00077248, "output_cost_usd": 0.00094535, "total_cost_usd": 0.00171783}}, "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": 80.66, "mean_response_s": 6.72, "slowest_response_s": 10.59, "inputs_timed": 12, "inputs_stored": 12, "span_s": 6.64}, "normalized_score": 67.4}