{"_id": {"$oid": "69d4eb12b877594bc5718bb1"}, "test_id": "T0559", "benchmark": "library_cards", "date": "2026-01-25", "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": "ministral-8b-2512", "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  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"type\": {},\n    \"author\": {},\n    \"publication\": {},\n    \"library_reference\": {}\n  },\n  \"example\": {\n    \"type\": {\n      \"type\": \"Dissertation or thesis\"\n    },\n    \"author\": {\n      \"last_name\": \"Smith\",\n      \"first_name\": \"John\"\n    },\n    \"publication\": {\n      \"title\": \"The Evolution of Medieval Trade Routes\",\n      \"year\": 2012,\n      \"place\": \"Cambridge\",\n      \"pages\": \"245\",\n      \"publisher\": \"University Press\",\n      \"format\": \"8\u00b0\"\n    },\n    \"library_reference\": {\n      \"shelfmark\": \"Diss. 12345\",\n      \"subjects\": \"Medieval History, Trade, Europe\"\n    }\n  }\n}", "model": "ministral-8b-2512", "provider": "mistral", "finish_reason": "stop", "usage": {"input_tokens": 1196, "output_tokens": 208, "total_tokens": 1404, "input_cost_usd": 0.0001794, "output_cost_usd": 3.12e-05, "estimated_cost_usd": 0.0002106}, "duration": 1.1554198265075684, "timestamp": "2026-01-25T00:54:00.519084", "conversation_id": "9a88788f-1d0a-471f-be1e-d492ec2a8995", "score": {"f1_score": 0.0, "precision": 0.0, "recall": 0.0, "true_positives": 0, "false_positives": 0, "false_negatives": 10, "field_scores": {"": {"response": null, "ground_truth": null, "score": 1.0}, "publication.pages": {"response": null, "ground_truth": "86", "score": 0.0}, "publication.publisher": {"response": null, "ground_truth": "Selbstverl. d. Roman. Seminars", "score": 0.0}, "author.first_name": {"response": null, "ground_truth": "Fritz", "score": 0.0}, "publication.year": {"response": null, "ground_truth": 1921, "score": 0.0}, "publication.place": {"response": null, "ground_truth": "Giessen", "score": 0.0}, "type.type": {"response": null, "ground_truth": "Dissertation or thesis", "score": 0.0}, "publication.title": {"response": null, "ground_truth": "Die franz\u00f6sischen Bezeichnungen des Modehelden im 18. und 19. Jahrhundert", "score": 0.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.shelfmark": {"response": null, "ground_truth": "U 21. 6523", "score": 0.0}, "author.last_name": {"response": null, "ground_truth": "Usinger", "score": 0.0}, "publication.format": {"response": null, "ground_truth": "8\u00b0", "score": 0.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"8a382586bd40439ebf7de345cdc4c318\",\"object\":\"chat.completion\",\"model\":\"ministral-8b-2512\",\"usage\":{\"prompt_tokens\":1196,\"completion_tokens\":208,\"total_tokens\":1404,\"num_cached_tokens\":1216},\"created\":1769298839,\"choices\":[{\"index\":0,\"message\":{\"content\":\"{\\n  \\\"$schema\\\": \\\"http://json-schema.org/draft-07/schema#\\\",\\n  \\\"type\\\": \\\"object\\\",\\n  \\\"properties\\\": {\\n    \\\"type\\\": {},\\n    \\\"author\\\": {},\\n    \\\"publication\\\": {},\\n    \\\"library_reference\\\": {}\\n  },\\n  \\\"example\\\": {\\n    \\\"type\\\": {\\n      \\\"type\\\": \\\"Dissertation or thesis\\\"\\n    },\\n    \\\"author\\\": {\\n      \\\"last_name\\\": \\\"Smith\\\",\\n      \\\"first_name\\\": \\\"John\\\"\\n    },\\n    \\\"publication\\\": {\\n      \\\"title\\\": \\\"The Evolution of Medieval Trade Routes\\\",\\n      \\\"year\\\": 2012,\\n      \\\"place\\\": \\\"Cambridge\\\",\\n      \\\"pages\\\": \\\"245\\\",\\n      \\\"publisher\\\": \\\"University Press\\\",\\n      \\\"format\\\": \\\"8\u00b0\\\"\\n    },\\n    \\\"library_reference\\\": {\\n      \\\"shelfmark\\\": \\\"Diss. 12345\\\",\\n      \\\"subjects\\\": \\\"Medieval History, Trade, Europe\\\"\\n    }\\n  }\\n}\",\"tool_calls\":null,\"prefix\":false,\"role\":\"assistant\"},\"finish_reason\":\"stop\"}]}"}, "scoring": {"f1_micro": 0.0, "f1_macro": 0.0, "micro_precision": 0.0, "micro_recall": 0.0, "total_instances": 263, "total_tp": 0, "total_fp": 0, "total_fn": 2415, "cost_summary": {"total_input_tokens": 314548, "total_output_tokens": 52935, "total_tokens": 367483, "input_cost_usd": 0.047182200000000236, "output_cost_usd": 0.007940250000000008, "total_cost_usd": 0.05512245}}, "normalized_score": 0}