{"_id": {"$oid": "6a671d25338dadb0be4e84ab"}, "test_id": "T1410", "benchmark": "library_cards", "date": "2026-07-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": "anthropic", "model": "claude-opus-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": "{\"schema\": {\"type\": {\"type\": \"Dissertation or thesis\"}, \"author\": {\"last_name\": \"Weber\", \"first_name\": \"Charlotte\"}, \"publication\": {\"title\": \"Ursachen der Kinderversorgung. Eine Untersuchung auf Grund der Versorgungsf\\u00e4lle der F\\u00fcrsorgedirektion des Kantons Bern\", \"year\": \"1951\", \"place\": \"Bern\", \"pages\": \"150\", \"publisher\": \"Verbandsdr.\", \"format\": \"8'\"}, \"library_reference\": {\"shelfmark\": \"Diss. Bern 1951\", \"subjects\": \"\"}}}", "model": "claude-opus-5", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 2921, "output_tokens": 230, "total_tokens": 3151, "input_cost_usd": 0.014605, "output_cost_usd": 0.00575, "estimated_cost_usd": 0.020354999999999998}, "duration": 6.126300573348999, "timestamp": "2026-07-25T19:42:56.737285", "parsed": {"schema": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Weber", "first_name": "Charlotte"}, "publication": {"title": "Ursachen der Kinderversorgung. Eine Untersuchung auf Grund der Versorgungsf\u00e4lle der F\u00fcrsorgedirektion des Kantons Bern", "year": "1951", "place": "Bern", "pages": "150", "publisher": "Verbandsdr.", "format": "8'"}, "library_reference": {"shelfmark": "Diss. Bern 1951", "subjects": ""}}}, "conversation_id": "632db04e-2056-4fc7-9d2c-1e404a8668e3", "score": {"f1_score": 0.0, "precision": 0.0, "recall": 0.0, "true_positives": 0, "false_positives": 10, "false_negatives": 10, "field_scores": {"schema.library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "schema.publication.year": {"response": "1951", "ground_truth": null, "score": 0.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": null, "ground_truth": "Bern", "score": 0.0}, "publication.format": {"response": null, "ground_truth": "8'", "score": 0.0}, "type.type": {"response": null, "ground_truth": "Dissertation or thesis", "score": 0.0}, "schema.publication.title": {"response": "Ursachen der Kinderversorgung. Eine Untersuchung auf Grund der Versorgungsf\u00e4lle der F\u00fcrsorgedirektion des Kantons Bern", "ground_truth": null, "score": 0.0}, "schema.publication.publisher": {"response": "Verbandsdr.", "ground_truth": null, "score": 0.0}, "library_reference.shelfmark": {"response": null, "ground_truth": "Diss. Bern 1951", "score": 0.0}, "schema.publication.place": {"response": "Bern", "ground_truth": null, "score": 0.0}, "publication.title": {"response": null, "ground_truth": "Ursachen der Kinderversorgung. Eine Untersuchung auf Grund der Versorgungsf\u00e4lle der F\u00fcrsorgedirektion des Kantons Bern", "score": 0.0}, "schema.author.first_name": {"response": "Charlotte", "ground_truth": null, "score": 0.0}, "schema.publication.format": {"response": "8'", "ground_truth": null, "score": 0.0}, "schema.library_reference.shelfmark": {"response": "Diss. Bern 1951", "ground_truth": null, "score": 0.0}, "schema.author.last_name": {"response": "Weber", "ground_truth": null, "score": 0.0}, "schema.publication.pages": {"response": "150", "ground_truth": null, "score": 0.0}, "author.first_name": {"response": null, "ground_truth": "Charlotte", "score": 0.0}, "publication.pages": {"response": null, "ground_truth": "150", "score": 0.0}, "author.last_name": {"response": null, "ground_truth": "Weber", "score": 0.0}, "publication.year": {"response": null, "ground_truth": 1951, "score": 0.0}, "publication.publisher": {"response": null, "ground_truth": "Verbandsdr.", "score": 0.0}, "schema.type.type": {"response": "Dissertation or thesis", "ground_truth": null, "score": 0.0}}, "total_fields": 22}, "raw_response": "{\"id\":\"msg_011CdPBvqTTAiBunToishLcM\",\"container\":null,\"content\":[{\"id\":\"toolu_012s1rNU6f81Zsj55QUVdm9Z\",\"caller\":{\"type\":\"direct\"},\"input\":{\"schema\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Weber\",\"first_name\":\"Charlotte\"},\"publication\":{\"title\":\"Ursachen der Kinderversorgung. Eine Untersuchung auf Grund der Versorgungsf\u00e4lle der F\u00fcrsorgedirektion des Kantons Bern\",\"year\":\"1951\",\"place\":\"Bern\",\"pages\":\"150\",\"publisher\":\"Verbandsdr.\",\"format\":\"8'\"},\"library_reference\":{\"shelfmark\":\"Diss. Bern 1951\",\"subjects\":\"\"}}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-opus-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\":2921,\"output_tokens\":230,\"server_tool_use\":null,\"service_tier\":\"standard\",\"output_tokens_details\":{\"thinking_tokens\":0}},\"stop_details\":null}"}, "scoring": {"f1_micro": 0.7614152994662977, "f1_macro": 0.7510266159695818, "micro_precision": 0.7284417549167927, "micro_recall": 0.7975155279503106, "total_instances": 263, "total_tp": 1926, "total_fp": 718, "total_fn": 489, "cost_summary": {"total_input_tokens": 769350, "total_output_tokens": 74233, "total_tokens": 843583, "input_cost_usd": 3.846749999999995, "output_cost_usd": 1.8558249999999996, "total_cost_usd": 5.7025749999999995}}, "normalized_score": 75.10266159695817}