{"_id": {"$oid": "6a478c6124b401ab26c43d92"}, "test_id": "T1182", "benchmark": "library_cards", "date": "2026-07-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": "anthropic", "model": "claude-sonnet-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": "{\"document\": {\"type\": {\"type\": \"Dissertation or thesis\"}, \"author\": {\"last_name\": \"W\\u00f6hrle\", \"first_name\": \"Wilhelm\"}, \"publication\": {\"title\": \"Die Abh\\u00e4ngigkeit der im degenerierenden Muskel auftretenden fibrill\\u00e4ren Zuckungen von dem Vorhandensein der sensiblen Nerven. (Mit bes. Ber\\u00fccks. d. Verh\\u00e4ltnisse an d. Zunge.)\", \"year\": 1936, \"place\": \"Freiburg i. Br.\", \"pages\": \"18\", \"publisher\": \"Weis, M\\u00fchlhans & R\\u00e4pple\", \"format\": \"8\\u00b0\"}, \"library_reference\": {\"shelfmark\": \"U 36. 3300\", \"subjects\": \"Med. Diss. v. 8. Aug. 1936\"}}}", "model": "claude-sonnet-5", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 2989, "output_tokens": 330, "total_tokens": 3319, "input_cost_usd": 0.005978, "output_cost_usd": 0.0033, "estimated_cost_usd": 0.009278}, "duration": 4.149507999420166, "timestamp": "2026-07-01T09:54:08.300211", "parsed": {"document": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "W\u00f6hrle", "first_name": "Wilhelm"}, "publication": {"title": "Die Abh\u00e4ngigkeit der im degenerierenden Muskel auftretenden fibrill\u00e4ren Zuckungen von dem Vorhandensein der sensiblen Nerven. (Mit bes. Ber\u00fccks. d. Verh\u00e4ltnisse an d. Zunge.)", "year": 1936, "place": "Freiburg i. Br.", "pages": "18", "publisher": "Weis, M\u00fchlhans & R\u00e4pple", "format": "8\u00b0"}, "library_reference": {"shelfmark": "U 36. 3300", "subjects": "Med. Diss. v. 8. Aug. 1936"}}}, "conversation_id": "d8da4f47-4783-46b8-970b-e1c7a6c2a483", "score": {"f1_score": 0.0, "precision": 0.0, "recall": 0.0, "true_positives": 0, "false_positives": 11, "false_negatives": 10, "field_scores": {"document.publication.format": {"response": "8\u00b0", "ground_truth": null, "score": 0.0}, "publication.title": {"response": null, "ground_truth": "Die Abh\u00e4ngigkeit der im degenerierenden Muskel auftretenden fibrill\u00e4ren Zuckungen von dem Vorhandensein der sensiblen Nerven. <Mit bes. Ber\u00fccks. d. Verh\u00e4ltnisse an d. Zunge.>", "score": 0.0}, "document.author.last_name": {"response": "W\u00f6hrle", "ground_truth": null, "score": 0.0}, "document.author.first_name": {"response": "Wilhelm", "ground_truth": null, "score": 0.0}, "document.library_reference.shelfmark": {"response": "U 36. 3300", "ground_truth": null, "score": 0.0}, "document.publication.place": {"response": "Freiburg i. Br.", "ground_truth": null, "score": 0.0}, "document.publication.publisher": {"response": "Weis, M\u00fchlhans & R\u00e4pple", "ground_truth": null, "score": 0.0}, "type.type": {"response": null, "ground_truth": "Dissertation or thesis", "score": 0.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "document.publication.title": {"response": "Die Abh\u00e4ngigkeit der im degenerierenden Muskel auftretenden fibrill\u00e4ren Zuckungen von dem Vorhandensein der sensiblen Nerven. (Mit bes. Ber\u00fccks. d. Verh\u00e4ltnisse an d. Zunge.)", "ground_truth": null, "score": 0.0}, "document.type.type": {"response": "Dissertation or thesis", "ground_truth": null, "score": 0.0}, "document.publication.pages": {"response": "18", "ground_truth": null, "score": 0.0}, "publication.format": {"response": null, "ground_truth": "8\u00b0", "score": 0.0}, "publication.publisher": {"response": null, "ground_truth": "Weis, M\u00fchlhans & R\u00e4pple", "score": 0.0}, "library_reference.shelfmark": {"response": null, "ground_truth": "U 36. 3300", "score": 0.0}, "publication.place": {"response": null, "ground_truth": "Freiburg i. Br.", "score": 0.0}, "author.first_name": {"response": null, "ground_truth": "Wilhelm", "score": 0.0}, "publication.year": {"response": null, "ground_truth": 1936, "score": 0.0}, "author.last_name": {"response": null, "ground_truth": "W\u00f6hrle", "score": 0.0}, "document.library_reference.subjects": {"response": "Med. Diss. v. 8. Aug. 1936", "ground_truth": null, "score": 0.0}, "document.publication.year": {"response": 1936, "ground_truth": null, "score": 0.0}, "publication.pages": {"response": null, "ground_truth": "18", "score": 0.0}}, "total_fields": 22}, "raw_response": "{\"id\":\"msg_0128suh3WvhYiLwUjq1xPvEW\",\"container\":null,\"content\":[{\"id\":\"toolu_0185Xbd9nKb4tVjDGmaZqtA1\",\"caller\":{\"type\":\"direct\"},\"input\":{\"document\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"W\u00f6hrle\",\"first_name\":\"Wilhelm\"},\"publication\":{\"title\":\"Die Abh\u00e4ngigkeit der im degenerierenden Muskel auftretenden fibrill\u00e4ren Zuckungen von dem Vorhandensein der sensiblen Nerven. (Mit bes. Ber\u00fccks. d. Verh\u00e4ltnisse an d. Zunge.)\",\"year\":1936,\"place\":\"Freiburg i. Br.\",\"pages\":\"18\",\"publisher\":\"Weis, M\u00fchlhans & R\u00e4pple\",\"format\":\"8\u00b0\"},\"library_reference\":{\"shelfmark\":\"U 36. 3300\",\"subjects\":\"Med. Diss. v. 8. Aug. 1936\"}}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-sonnet-5\",\"role\":\"assistant\",\"stop_reason\":\"tool_use\",\"stop_sequence\":null,\"type\":\"message\",\"usage\":{\"cache_creation\":{\"ephemeral_1h_input_tokens\":0,\"ephemeral_5m_input_tokens\":0},\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"inference_geo\":\"global\",\"input_tokens\":2989,\"output_tokens\":330,\"server_tool_use\":null,\"service_tier\":\"standard\",\"output_tokens_details\":{\"thinking_tokens\":0}},\"stop_details\":null}"}, "scoring": {"f1_micro": 0.044961862705740666, "f1_macro": 0.04684410646387833, "micro_precision": 0.04361370716510903, "micro_recall": 0.0463960231980116, "total_instances": 263, "total_tp": 112, "total_fp": 2456, "total_fn": 2302, "cost_summary": {"total_input_tokens": 787234, "total_output_tokens": 69475, "total_tokens": 856709, "input_cost_usd": 1.574468000000005, "output_cost_usd": 0.6947500000000001, "total_cost_usd": 2.2692180000000004}}, "normalized_score": 4.684410646387833}