{"_id": {"$oid": "6a26c67c3572c06bc1455ec4"}, "test_id": "T1094", "benchmark": "library_cards", "date": "2026-06-04", "tags": {"document-type": ["index-card"], "writing": ["typed", "printed", "handwritten"], "century": [20, 19], "language": ["de", "fr", "en", "la", "el", "fi", "sv", "pl"], "layout": ["index"], "entry-type": ["bibliographic"], "task": ["information-extraction"]}, "contributors": ["gabriel_muller", "maximilian_hindermann"], "hidden": false, "config": {"provider": "mistral", "model": "mistral-medium-3.5", "dataclass": "Document", "temperature": 0.0, "role_description": "You are a historian with keyword knowledge", "prompt_file": "prompt.txt", "legacy_test": false}, "prompt": "Extract the bibliographic information about a historical dissertation from this index card and return it as a structured JSON object with the following exact format:\n\n```json\n{\n  \"type\": {\n    \"type\": \"Dissertation or thesis\" OR \"Reference\"\n  },\n  \"author\": {\n    \"last_name\": \"string\",\n    \"first_name\": \"string\"\n  },\n  \"publication\": {\n    \"title\": \"string\",\n    \"year\": integer,\n    \"place\": \"string or empty string\",\n    \"pages\": \"string or empty string\",\n    \"publisher\": \"string or empty string\",\n    \"format\": \"string or empty string\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"string or empty string\",\n    \"subjects\": \"string or empty string\"\n  }\n}\n```\n\nEXTRACTION RULES:\n1. **Card Type**: If a card contains the note \"s.\" on a separate line, it is a \"Reference\". Otherwise, it is a \"Dissertation or thesis\".\n\n2. **Author**: Extract last_name and first_name. If only one name is given, put it in last_name and leave first_name empty.\n\n3. **Publication**:\n   - title: The main title of the work\n   - year: Publication year as integer\n   - place: Publication place\n   - pages: Page count (remove \" S.\" suffix if present)\n   - publisher: Publishing house/institution\n   - format: Usually \"8\u00b0\", \"8'\", or \"4\u00b0\" - single value only\n\n4. **Library Reference**:\n   - shelfmark: Often begins with \"Diss.\" or \"AT\", may be marked with \"Standort:\"\n   - subjects: Subject classifications or keywords\n\n5. **Missing Information**: Use empty string \"\" for missing text fields, omit year fields entirely if not present.\n\n6. **Ignore**: Disregard any information that doesn't fit into these categories.\n\nReturn ONLY the JSON object, no additional text or explanation.", "results": {"text": "{\n  \"type\": {\n    \"type\": \"Dissertation or thesis\"\n  },\n  \"author\": {\n    \"last_name\": \"Zidan\",\n    \"first_name\": \"Fikri\"\n  },\n  \"publication\": {\n    \"title\": \"Die Objektivierung der Erm\u00fcdung durch das Elektroencephalogramm\",\n    \"year\": 1968,\n    \"place\": \"T\u00fcbingen\",\n    \"pages\": \"20\",\n    \"publisher\": \"\",\n    \"format\": \"8'\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Diss.1969,7160\",\n    \"subjects\": \"Elektroencephalographie/Erm\u00fcdung/Diss\"\n  }\n}", "model": "mistral-medium-3.5", "provider": "mistral", "finish_reason": "stop", "usage": {"input_tokens": 1989, "output_tokens": 162, "total_tokens": 2151, "input_cost_usd": 0.0029835, "output_cost_usd": 0.0012150000000000002, "estimated_cost_usd": 0.0041985}, "duration": 12.373950004577637, "timestamp": "2026-06-04T14:07:01.821067", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Zidan", "first_name": "Fikri"}, "publication": {"title": "Die Objektivierung der Erm\u00fcdung durch das Elektroencephalogramm", "year": 1968, "place": "T\u00fcbingen", "pages": "20", "publisher": "", "format": "8'"}, "library_reference": {"shelfmark": "Diss.1969,7160", "subjects": "Elektroencephalographie/Erm\u00fcdung/Diss"}}, "conversation_id": "11dfd58f-70fb-45f4-a930-54993a725fd4", "score": {"f1_score": 1.0, "precision": 1.0, "recall": 1.0, "true_positives": 10, "false_positives": 0, "false_negatives": 0, "field_scores": {"publication.year": {"response": 1968, "ground_truth": 1968, "score": 1.0}, "publication.place": {"response": "T\u00fcbingen", "ground_truth": "T\u00fcbingen", "score": 1.0}, "publication.format": {"response": "8'", "ground_truth": "8'", "score": 1.0}, "author.last_name": {"response": "Zidan", "ground_truth": "Zidan", "score": 1.0}, "publication.title": {"response": "Die Objektivierung der Erm\u00fcdung durch das Elektroencephalogramm", "ground_truth": "Die Objektivierung der Erm\u00fcdung durch das Elektroencephalogramm", "score": 1.0}, "author.first_name": {"response": "Fikri", "ground_truth": "Fikri", "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.subjects": {"response": "Elektroencephalographie/Erm\u00fcdung/Diss", "ground_truth": "2/Elektroencephalographie/Erm\u00fcdung/ Diss", "score": 0.961038961038961}, "library_reference.shelfmark": {"response": "Diss.1969,7160", "ground_truth": "Diss.1969,7160", "score": 1.0}, "publication.pages": {"response": "20", "ground_truth": "20", "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}}, "total_fields": 11}, "raw_response": "{\"id\":\"68247dd4bece4f848b1d50f1410ff051\",\"object\":\"chat.completion\",\"model\":\"mistral-medium-3.5\",\"usage\":{\"prompt_tokens\":1989,\"completion_tokens\":162,\"total_tokens\":2151,\"prompt_tokens_details\":{\"cached_tokens\":408}},\"created\":1780574820,\"choices\":[{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Zidan\\\",\\n    \\\"first_name\\\": \\\"Fikri\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Die Objektivierung der Erm\u00fcdung durch das Elektroencephalogramm\\\",\\n    \\\"year\\\": 1968,\\n    \\\"place\\\": \\\"T\u00fcbingen\\\",\\n    \\\"pages\\\": \\\"20\\\",\\n    \\\"publisher\\\": \\\"\\\",\\n    \\\"format\\\": \\\"8'\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"Diss.1969,7160\\\",\\n    \\\"subjects\\\": \\\"Elektroencephalographie/Erm\u00fcdung/Diss\\\"\\n  }\\n}\",\"tool_calls\":null,\"prefix\":false},\"finish_reason\":\"stop\"}]}"}, "scoring": {"f1_micro": 0.8279742765273311, "f1_macro": 0.8230798479087452, "micro_precision": 0.8043732916829364, "micro_recall": 0.8530020703933747, "total_instances": 263, "total_tp": 2060, "total_fp": 501, "total_fn": 355, "cost_summary": {"total_input_tokens": 524234, "total_output_tokens": 44969, "total_tokens": 569203, "input_cost_usd": 0.7863510000000031, "output_cost_usd": 0.33726750000000033, "total_cost_usd": 1.1236184999999996}}, "normalized_score": 82.30798479087453}