{"_id": {"$oid": "6a8456c1ef0a19c343227d14"}, "test_id": "T1485", "benchmark": "library_cards", "date": "2026-08-14", "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": "huggingface", "model": "swiss-ai/Apertus-v1.5-70B:publicai", "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\": \"M\u00fcller\",\n    \"first_name\": \"Johannes\"\n  },\n  \"publication\": {\n    \"title\": \"Kapitalaanschub in ein Handelsgewerbe\",\n    \"year\": 1921,\n    \"place\": \"\",\n    \"pages\": \"45 S.\",\n    \"publisher\": \"\",\n    \"format\": \"8\u00b0\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Diss. v. 28. Nov. 1921 [1422]\",\n    \"subjects\": \"\"\n  }\n}", "model": "swiss-ai/apertus-v1.5-70b", "provider": "huggingface", "finish_reason": "stop", "usage": {"input_tokens": 3452, "output_tokens": 154, "total_tokens": 3606, "cached_tokens": 2656, "input_cost_usd": 0.00283064, "output_cost_usd": 0.00044968, "estimated_cost_usd": 0.00328032}, "duration": 186.68258690834045, "timestamp": "2026-08-14T22:51:39.025301", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "M\u00fcller", "first_name": "Johannes"}, "publication": {"title": "Kapitalaanschub in ein Handelsgewerbe", "year": 1921, "place": "", "pages": "45 S.", "publisher": "", "format": "8\u00b0"}, "library_reference": {"shelfmark": "Diss. v. 28. Nov. 1921 [1422]", "subjects": ""}}, "conversation_id": "7801dcf1-c3de-40ce-ad61-5bc706240c68", "score": {"f1_score": 0.38, "precision": 0.375, "recall": 0.375, "true_positives": 3, "false_positives": 5, "false_negatives": 5, "field_scores": {"publication.format": {"response": "8\u00b0", "ground_truth": "4\u00b0", "score": 0.5}, "author.first_name": {"response": "Johannes", "ground_truth": "Johannes", "score": 1.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": null, "ground_truth": null, "score": 1.0}, "publication.year": {"response": 1921, "ground_truth": 1922, "score": 0.75}, "publication.pages": {"response": "45 S.", "ground_truth": "45", "score": 0.5714285714285714}, "publication.title": {"response": "Kapitalaanschub in ein Handelsgewerbe", "ground_truth": "Kapitaleinschu\u00df in ein Handelsgewerbe", "score": 0.9189189189189189}, "library_reference.shelfmark": {"response": "Diss. v. 28. Nov. 1921 [1422]", "ground_truth": "U 22. 7051", "score": 0.2564102564102564}, "author.last_name": {"response": "M\u00fcller", "ground_truth": "M\u00fcller", "score": 1.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"chatcmpl-be655cf4-12c3-4da2-971a-86ba216fb072\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"M\u00fcller\\\",\\n    \\\"first_name\\\": \\\"Johannes\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Kapitalaanschub in ein Handelsgewerbe\\\",\\n    \\\"year\\\": 1921,\\n    \\\"place\\\": \\\"\\\",\\n    \\\"pages\\\": \\\"45 S.\\\",\\n    \\\"publisher\\\": \\\"\\\",\\n    \\\"format\\\": \\\"8\u00b0\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"Diss. v. 28. Nov. 1921 [1422]\\\",\\n    \\\"subjects\\\": \\\"\\\"\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"provider_specific_fields\":{\"refusal\":null,\"reasoning\":null}},\"provider_specific_fields\":{\"stop_reason\":null,\"routed_experts\":null,\"token_ids\":null}}],\"created\":1786740696,\"model\":\"swiss-ai/apertus-v1.5-70b\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":\"vllm-0.23.1rc1.dev1029+ga601a9d99-tp4-1381023c\",\"usage\":{\"completion_tokens\":154,\"prompt_tokens\":3452,\"total_tokens\":3606,\"completion_tokens_details\":null,\"prompt_tokens_details\":{\"audio_tokens\":null,\"cached_tokens\":2656,\"multimodal_tokens\":{\"image\":2239}}}}"}, "scoring": {"f1_micro": 0.4450976275456645, "f1_macro": 0.44049429657794675, "micro_precision": 0.4514480408858603, "micro_recall": 0.4389233954451346, "total_instances": 263, "total_tp": 1060, "total_fp": 1288, "total_fn": 1355, "cost_summary": {"total_input_tokens": 810958, "total_output_tokens": 45984, "total_tokens": 856942, "input_cost_usd": 0.6649855599999999, "output_cost_usd": 0.13427328, "total_cost_usd": 0.7992588400000007}}, "normalized_score": 44.049429657794676}