{"_id": {"$oid": "69d4eb12b877594bc5718999"}, "test_id": "T0192", "benchmark": "library_cards", "date": "2025-10-01", "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-large-2411", "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": {"provider": "mistral", "model": "mistral-large-latest", "duration": 3.682055711746216, "timestamp": "2025-10-01T15:52:48.639711", "text": "{\n  \"type\": {\n    \"type\": \"Dissertation or thesis\"\n  },\n  \"author\": {\n    \"last_name\": \"Sibalin\",\n    \"first_name\": \"Mato\"\n  },\n  \"publication\": {\n    \"title\": \"Enterovirusstammar hos svenska grisar. Isolering, identifikation, patogenicitet, kemiska och fysikaliska egenskaper\",\n    \"year\": 1963,\n    \"place\": \"Uppsala\",\n    \"pages\": \"19\",\n    \"publisher\": \"Almqvist & Wiksell\",\n    \"format\": \"8\u00b0\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Diss. NK GK 2Mak\",\n    \"subjects\": \"\"\n  }\n}", "raw_response": {"id": "2d3d90ecf8124a4c9f229a0e9517b141", "model": "mistral-large-latest", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\n  \"type\": {\n    \"type\": \"Dissertation or thesis\"\n  },\n  \"author\": {\n    \"last_name\": \"Sibalin\",\n    \"first_name\": \"Mato\"\n  },\n  \"publication\": {\n    \"title\": \"Enterovirusstammar hos svenska grisar. Isolering, identifikation, patogenicitet, kemiska och fysikaliska egenskaper\",\n    \"year\": 1963,\n    \"place\": \"Uppsala\",\n    \"pages\": \"19\",\n    \"publisher\": \"Almqvist & Wiksell\",\n    \"format\": \"8\u00b0\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Diss. NK GK 2Mak\",\n    \"subjects\": \"\"\n  }\n}", "role": "assistant"}}], "usage": {"prompt_tokens": 1753, "completion_tokens": 170, "total_tokens": 1923}}, "usage": {"input_tokens": 1753, "output_tokens": 170, "total_tokens": 1923}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.7804061126229852, "f1_macro": 0.7769201520912548, "micro_precision": 0.7891617273497037, "micro_recall": 0.7718426501035197, "total_instances": 263, "total_tp": 1864, "total_fp": 498, "total_fn": 551, "cost_summary": {"total_input_tokens": 462166, "total_output_tokens": 41452, "total_tokens": 503618, "input_cost_usd": 0.924332, "output_cost_usd": 0.248712, "total_cost_usd": 1.173044, "pricing_date": "2025-10-01", "input_price_per_million": 2.0, "output_price_per_million": 6.0}}, "normalized_score": 77.69201520912547}