{"_id": {"$oid": "6a26c67c3572c06bc1455e98"}, "test_id": "T1081", "benchmark": "library_cards", "date": "2026-06-04", "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-opus-4-8", "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": "{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Tich\u00fd\",\"first_name\":\"Johannes\"},\"publication\":{\"title\":\"Aus d. Chir. Universit\u00e4tskl. zu Marburg. Klinischer und experimenteller Beitrag zur Operation der Wanderniere\",\"year\":\"1914\",\"place\":\"Leipzig\",\"pages\":\"40\",\"publisher\":\"Vogel\",\"format\":\"8\u00b0\",\"editor\":\"K\u00f6nig\"},\"library_reference\":{\"shelfmark\":\"U 14. 2443\",\"subjects\":\"Chirurgie, Wanderniere\"}}", "model": "claude-opus-4-8", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 2925, "output_tokens": 280, "total_tokens": 3205, "input_cost_usd": 0.014625, "output_cost_usd": 0.006999999999999999, "estimated_cost_usd": 0.021625}, "duration": 3.931403398513794, "timestamp": "2026-06-04T11:30:20.498716", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Tich\u00fd", "first_name": "Johannes"}, "publication": {"title": "Aus d. Chir. Universit\u00e4tskl. zu Marburg. Klinischer und experimenteller Beitrag zur Operation der Wanderniere", "year": "1914", "place": "Leipzig", "pages": "40", "publisher": "Vogel", "format": "8\u00b0", "editor": "K\u00f6nig"}, "library_reference": {"shelfmark": "U 14. 2443", "subjects": "Chirurgie, Wanderniere"}}, "conversation_id": "2fe23c9c-f610-407e-9cad-b1c2403c0378", "score": {"f1_score": 0.73, "precision": 0.6666666666666666, "recall": 0.8, "true_positives": 8, "false_positives": 4, "false_negatives": 2, "field_scores": {"publication.editor": {"response": "K\u00f6nig", "ground_truth": null, "score": 0.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "library_reference.shelfmark": {"response": "U 14. 2443", "ground_truth": "U 14. 2443", "score": 1.0}, "publication.publisher": {"response": "Vogel", "ground_truth": "Vogel", "score": 1.0}, "publication.pages": {"response": "40", "ground_truth": "40", "score": 1.0}, "author.first_name": {"response": "Johannes", "ground_truth": "Johannes", "score": 1.0}, "library_reference.subjects": {"response": "Chirurgie, Wanderniere", "ground_truth": null, "score": 0.0}, "publication.title": {"response": "Aus d. Chir. Universit\u00e4tskl. zu Marburg. Klinischer und experimenteller Beitrag zur Operation der Wanderniere", "ground_truth": "Klinischer und experimenteller Beitrag zur Operation der Wanderniere", "score": 0.768361581920904}, "publication.year": {"response": "1914", "ground_truth": 1914, "score": 1.0}, "publication.place": {"response": "Leipzig", "ground_truth": "Leipzig", "score": 1.0}, "publication.format": {"response": "8\u00b0", "ground_truth": "8\u00b0", "score": 1.0}, "author.last_name": {"response": "Tich\u00fd", "ground_truth": "Tichy", "score": 0.8}}, "total_fields": 12}, "raw_response": "{\"id\":\"msg_01K3NdtFEbAZan8FddwPn9QL\",\"container\":null,\"content\":[{\"id\":\"toolu_01F7nN1CL4t9rBHtB3m2eqDM\",\"caller\":{\"type\":\"direct\"},\"input\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Tich\u00fd\",\"first_name\":\"Johannes\"},\"publication\":{\"title\":\"Aus d. Chir. Universit\u00e4tskl. zu Marburg. Klinischer und experimenteller Beitrag zur Operation der Wanderniere\",\"year\":\"1914\",\"place\":\"Leipzig\",\"pages\":\"40\",\"publisher\":\"Vogel\",\"format\":\"8\u00b0\",\"editor\":\"K\u00f6nig\"},\"library_reference\":{\"shelfmark\":\"U 14. 2443\",\"subjects\":\"Chirurgie, Wanderniere\"}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-opus-4-8\",\"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\":2925,\"output_tokens\":280,\"server_tool_use\":null,\"service_tier\":\"standard\",\"output_tokens_details\":{\"thinking_tokens\":0}},\"stop_details\":null}"}, "scoring": {"f1_micro": 0.8920978740473325, "f1_macro": 0.8843726235741445, "micro_precision": 0.8650330610657332, "micro_recall": 0.9209109730848861, "total_instances": 263, "total_tp": 2224, "total_fp": 347, "total_fn": 191, "cost_summary": {"total_input_tokens": 770402, "total_output_tokens": 70286, "total_tokens": 840688, "input_cost_usd": 3.8520100000000137, "output_cost_usd": 1.75715, "total_cost_usd": 5.609159999999996}}, "normalized_score": 88.43726235741445}