{"_id": {"$oid": "6ac4c7b5164e0f17c0b22e38"}, "test_id": "T0301", "benchmark": "medieval_manuscripts", "date": "2025-10-24", "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": "meta-llama/llama-4-maverick", "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": {"provider": "openrouter", "model": "meta-llama/llama-4-maverick", "duration": 2.972081184387207, "timestamp": "2025-10-24T11:07:16.661602", "parsed": {"folios": [{"folio": "3", "text": "Und ein pferit Sie mir vnd\nminen knechtay \u00fcber hulfand\nSon do was minem Sin weg\nSem\u00fc den wir machtend\nvnd richend das Enckly vnd\nvnd vil in vns an Sin and\nvnd Sie pferit vns an Sie\nfettel vnd was ze mol ein groffer\nnebel do win kum gesahend\nvnd als mit groffer arebeit kamend\nwir ze mitten tag z\u016f fant\nk\u00fcnffel vf dem Berg do\nSo fach ich die Bucken So gan\nvnd horten woffen Jn fone\nSie wur St\u00fcr dolhin gelien hand\nSo fuond mines waters pfleger\nwoffey Sag ich dem emag", "addition1": "", "addition2": "", "addition3": ""}]}, "text": "", "raw_response": {"id": "gen-1761296832-NfdmMddLrdNRx1hfuZgk", "model": "meta-llama/llama-4-maverick", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\n\"folios\": [\n{\n\"folio\": \"3\",\n\"text\": \"Und ein pferit Sie mir vnd\\nminen knechtay \u00fcber hulfand\\nSon do was minem Sin weg\\nSem\u00fc den wir machtend\\nvnd richend das Enckly vnd\\nvnd vil in vns an Sin and\\nvnd Sie pferit vns an Sie\\nfettel vnd was ze mol ein groffer\\nnebel do win kum gesahend\\nvnd als mit groffer arebeit kamend\\nwir ze mitten tag z\u016f fant\\nk\u00fcnffel vf dem Berg do\\nSo fach ich die Bucken So gan\\nvnd horten woffen Jn fone\\nSie wur St\u00fcr dolhin gelien hand\\nSo fuond mines waters pfleger\\nwoffey Sag ich dem emag\",\n\"addition1\": \"\",\n\"addition2\": \"\",\n\"addition3\": \"\"\n}\n]\n}", "role": "assistant"}}], "usage": {"prompt_tokens": 2372, "completion_tokens": 199, "total_tokens": 2571}}, "usage": {"input_tokens": 2372, "output_tokens": 199, "total_tokens": 2571, "input_cost_usd": 0.0003558, "output_cost_usd": 0.0001194, "estimated_cost_usd": 0.00047519999999999995}, "finish_reason": "stop"}, "scoring": {"fuzzy": 0.543, "cer": 0.503, "cost_summary": {"total_input_tokens": 28929, "total_output_tokens": 2839, "total_tokens": 31768, "input_cost_usd": 0.00433935, "output_cost_usd": 0.0017034, "total_cost_usd": 0.00604275, "pricing_date": "2025-10-24", "input_price_per_million": 0.15, "output_price_per_million": 0.6}}, "pricing": {"bucket_date": "2025-10-17", "age_days": 7, "input_price_per_million": 0.15, "output_price_per_million": 0.6}, "timing": {"total_response_s": 46.4, "mean_response_s": 3.87, "slowest_response_s": 4.69, "inputs_timed": 12, "inputs_stored": 12, "span_s": 44.12}, "normalized_score": 49.7}