{"_id": {"$oid": "6abd11422c9d37fedb8af69f"}, "test_id": "T0548", "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-14b-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  \"$defs\": {\n    \"Author\": {\n      \"description\": \"Represents an author on a library card.\",\n      \"properties\": {\n        \"last_name\": {\n          \"title\": \"Last Name\",\n          \"type\": \"string\"\n        },\n        \"first_name\": {\n          \"title\": \"First Name\",\n          \"type\": \"string\"\n        }\n      },\n      \"required\": [\"last_name\"],\n      \"title\": \"Author\",\n      \"type\": \"object\"\n    },\n    \"LibraryReference\": {\n      \"description\": \"Represents library-specific reference information.\",\n      \"properties\": {\n        \"shelfmark\": {\n          \"type\": \"string\",\n          \"title\": \"Shelfmark\"\n        },\n        \"subjects\": {\n          \"type\": \"string\",\n          \"title\": \"Subjects\"\n        }\n      },\n      \"title\": \"LibraryReference\",\n      \"type\": \"object\"\n    },\n    \"Publication\": {\n      \"description\": \"Represents publication information from a library card.\",\n      \"properties\": {\n        \"title\": {\n          \"type\": \"string\",\n          \"title\": \"Title\"\n        },\n        \"year\": {\n          \"type\": \"integer\",\n          \"title\": \"Year\"\n        },\n        \"place\": {\n          \"type\": \"string\",\n          \"title\": \"Place\"\n        },\n        \"pages\": {\n          \"type\": \"string\",\n          \"title\": \"Pages\"\n        },\n        \"publisher\": {\n          \"type\": \"string\",\n          \"title\": \"Publisher\"\n        },\n        \"format\": {\n          \"type\": \"string\",\n          \"title\": \"Format\"\n        }\n      },\n      \"required\": [\"title\"],\n      \"title\": \"Publication\",\n      \"type\": \"object\"\n    },\n    \"WorkType\": {\n      \"description\": \"Represents the type of work referenced in a library card.\",\n      \"properties\": {\n        \"type\": {\n          \"enum\": [\"Dissertation or thesis\", \"Reference\"],\n          \"title\": \"Type\",\n          \"type\": \"string\"\n        }\n      },\n      \"required\": [\"type\"],\n      \"title\": \"WorkType\",\n      \"type\": \"object\"\n    }\n  },\n  \"type\": {\n    \"type\": \"Dissertation or thesis\"\n  },\n  \"author\": {\n    \"last_name\": \"\",\n    \"first_name\": \"\"\n  },\n  \"publication\": {\n    \"title\": \"\",\n    \"year\": 0,\n    \"place\": \"\",\n    \"pages\": \"\",\n    \"publisher\": \"\",\n    \"format\": \"\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"\",\n    \"subjects\": \"\"\n  }\n}", "model": "ministral-14b-2512", "provider": "mistral", "finish_reason": "stop", "usage": {"input_tokens": 1196, "output_tokens": 582, "total_tokens": 1778, "input_cost_usd": 0.00023920000000000001, "output_cost_usd": 0.00011640000000000001, "estimated_cost_usd": 0.0003556}, "duration": 6.150029420852661, "timestamp": "2026-01-25T00:18:02.572290", "conversation_id": "1e9b7b37-cd7b-4173-9776-f44febaf1b7d", "score": {"f1_score": 0.0, "precision": 0.0, "recall": 0.0, "true_positives": 0, "false_positives": 0, "false_negatives": 3, "field_scores": {"": {"response": null, "ground_truth": null, "score": 1.0}, "publication.pages": {"response": null, "ground_truth": null, "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "author.first_name": {"response": null, "ground_truth": null, "score": 1.0}, "publication.year": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": null, "ground_truth": "Reference", "score": 0.0}, "publication.title": {"response": null, "ground_truth": "Montaghemi, Nourhomadeh", "score": 0.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.shelfmark": {"response": null, "ground_truth": null, "score": 1.0}, "author.last_name": {"response": null, "ground_truth": "Sonnenbichler", "score": 0.0}, "publication.format": {"response": null, "ground_truth": null, "score": 1.0}}, "total_fields": 13}, "raw_response": "{\"id\":\"82e480bb35b140d4a79e617e9af0635a\",\"object\":\"chat.completion\",\"model\":\"ministral-14b-2512\",\"usage\":{\"prompt_tokens\":1196,\"completion_tokens\":582,\"total_tokens\":1778,\"num_cached_tokens\":0},\"created\":1769296676,\"choices\":[{\"index\":0,\"message\":{\"content\":\"{\\n  \\\"$schema\\\": \\\"http://json-schema.org/draft-07/schema#\\\",\\n  \\\"$defs\\\": {\\n    \\\"Author\\\": {\\n      \\\"description\\\": \\\"Represents an author on a library card.\\\",\\n      \\\"properties\\\": {\\n        \\\"last_name\\\": {\\n          \\\"title\\\": \\\"Last Name\\\",\\n          \\\"type\\\": \\\"string\\\"\\n        },\\n        \\\"first_name\\\": {\\n          \\\"title\\\": \\\"First Name\\\",\\n          \\\"type\\\": \\\"string\\\"\\n        }\\n      },\\n      \\\"required\\\": [\\\"last_name\\\"],\\n      \\\"title\\\": \\\"Author\\\",\\n      \\\"type\\\": \\\"object\\\"\\n    },\\n    \\\"LibraryReference\\\": {\\n      \\\"description\\\": \\\"Represents library-specific reference information.\\\",\\n      \\\"properties\\\": {\\n        \\\"shelfmark\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Shelfmark\\\"\\n        },\\n        \\\"subjects\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Subjects\\\"\\n        }\\n      },\\n      \\\"title\\\": \\\"LibraryReference\\\",\\n      \\\"type\\\": \\\"object\\\"\\n    },\\n    \\\"Publication\\\": {\\n      \\\"description\\\": \\\"Represents publication information from a library card.\\\",\\n      \\\"properties\\\": {\\n        \\\"title\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Title\\\"\\n        },\\n        \\\"year\\\": {\\n          \\\"type\\\": \\\"integer\\\",\\n          \\\"title\\\": \\\"Year\\\"\\n        },\\n        \\\"place\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Place\\\"\\n        },\\n        \\\"pages\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Pages\\\"\\n        },\\n        \\\"publisher\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Publisher\\\"\\n        },\\n        \\\"format\\\": {\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"title\\\": \\\"Format\\\"\\n        }\\n      },\\n      \\\"required\\\": [\\\"title\\\"],\\n      \\\"title\\\": \\\"Publication\\\",\\n      \\\"type\\\": \\\"object\\\"\\n    },\\n    \\\"WorkType\\\": {\\n      \\\"description\\\": \\\"Represents the type of work referenced in a library card.\\\",\\n      \\\"properties\\\": {\\n        \\\"type\\\": {\\n          \\\"enum\\\": [\\\"Dissertation or thesis\\\", \\\"Reference\\\"],\\n          \\\"title\\\": \\\"Type\\\",\\n          \\\"type\\\": \\\"string\\\"\\n        }\\n      },\\n      \\\"required\\\": [\\\"type\\\"],\\n      \\\"title\\\": \\\"WorkType\\\",\\n      \\\"type\\\": \\\"object\\\"\\n    }\\n  },\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"\\\",\\n    \\\"first_name\\\": \\\"\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"\\\",\\n    \\\"year\\\": 0,\\n    \\\"place\\\": \\\"\\\",\\n    \\\"pages\\\": \\\"\\\",\\n    \\\"publisher\\\": \\\"\\\",\\n    \\\"format\\\": \\\"\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"\\\",\\n    \\\"subjects\\\": \\\"\\\"\\n  }\\n}\",\"tool_calls\":null,\"prefix\":false,\"role\":\"assistant\"},\"finish_reason\":\"stop\"}]}"}, "scoring": {"f1_micro": 0.01897198323406133, "f1_macro": 0.006121673003802282, "micro_precision": 0.020302171860245515, "micro_recall": 0.01780538302277433, "total_instances": 263, "total_tp": 43, "total_fp": 2075, "total_fn": 2372, "cost_summary": {"total_input_tokens": 314548, "total_output_tokens": 161558, "total_tokens": 476106, "input_cost_usd": 0.06290960000000015, "output_cost_usd": 0.03231160000000003, "total_cost_usd": 0.09522120000000023}}, "pricing": {"bucket_date": "2026-01-23", "age_days": 2, "input_price_per_million": 0.2, "output_price_per_million": 0.2}, "timing": {"total_response_s": 1226.41, "mean_response_s": 4.66, "slowest_response_s": 11.35, "inputs_timed": 263, "inputs_stored": 263, "span_s": 1224.05}, "normalized_score": 0.6121673003802282}