{"_id": {"$oid": "69d4eb12b877594bc5718ad6"}, "test_id": "T0515", "benchmark": "library_cards", "date": "2026-01-24", "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-5-20251101", "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\":\"Thouvignon\",\"first_name\":\"Marcelle\"},\"publication\":{\"title\":\"De la Suspension des poursuites d'ex\u00e9cution par voie de r\u00e9f\u00e9r\u00e9 (modifications \u00e0 l'article 1244 du Code civil)\",\"year\":\"1937\",\"place\":\"Paris\",\"pages\":\"122\",\"publisher\":\"les Presses universitaires de France\",\"format\":\"8\u00b0\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"8\u00b0 F. 39954\",\"subjects\":null}}", "model": "claude-opus-4-5-20251101", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 2680, "output_tokens": 207, "total_tokens": 2887, "input_cost_usd": 0.0134, "output_cost_usd": 0.005175, "estimated_cost_usd": 0.018575}, "duration": 5.347904920578003, "timestamp": "2026-01-24T23:00:41.319234", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Thouvignon", "first_name": "Marcelle"}, "publication": {"title": "De la Suspension des poursuites d'ex\u00e9cution par voie de r\u00e9f\u00e9r\u00e9 (modifications \u00e0 l'article 1244 du Code civil)", "year": "1937", "place": "Paris", "pages": "122", "publisher": "les Presses universitaires de France", "format": "8\u00b0"}, "library_reference": {"shelfmark": "8\u00b0 F. 39954", "subjects": null}}, "conversation_id": "0a05515d-d172-4379-bc77-9da2094e0f60", "score": {"f1_score": 0.9, "precision": 0.9, "recall": 0.9, "true_positives": 9, "false_positives": 1, "false_negatives": 1, "field_scores": {"publication.title": {"response": "De la Suspension des poursuites d'ex\u00e9cution par voie de r\u00e9f\u00e9r\u00e9 (modifications \u00e0 l'article 1244 du Code civil)", "ground_truth": "De la Suspension des poursuites d'ex\u00e9cution par voie de r\u00e9f\u00e9r\u00e9 (modifications \u00e0 l'article 1244 du Code civil)", "score": 1.0}, "publication.place": {"response": "Paris", "ground_truth": "Paris", "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.publisher": {"response": "les Presses universitaires de France", "ground_truth": "les Presses universitaires de France", "score": 1.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "author.last_name": {"response": "Thouvignon", "ground_truth": "Thouvignon", "score": 1.0}, "author.first_name": {"response": "Marcelle", "ground_truth": "Marcelle", "score": 1.0}, "publication.pages": {"response": "122", "ground_truth": "122", "score": 1.0}, "library_reference.shelfmark": {"response": "8\u00b0 F. 39954", "ground_truth": "F. 39954", "score": 0.8421052631578947}, "publication.format": {"response": "8\u00b0", "ground_truth": "8\u00b0", "score": 1.0}, "publication.year": {"response": "1937", "ground_truth": 1937, "score": 1.0}}, "total_fields": 11}, "raw_response": "{\"id\":\"msg_01MvmkTtwnYjdvrdCpdYyir1\",\"content\":[{\"id\":\"toolu_01CusxtNzQMaRbfGBwZ54rGC\",\"input\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Thouvignon\",\"first_name\":\"Marcelle\"},\"publication\":{\"title\":\"De la Suspension des poursuites d'ex\u00e9cution par voie de r\u00e9f\u00e9r\u00e9 (modifications \u00e0 l'article 1244 du Code civil)\",\"year\":\"1937\",\"place\":\"Paris\",\"pages\":\"122\",\"publisher\":\"les Presses universitaires de France\",\"format\":\"8\u00b0\"},\"library_reference\":{\"shelfmark\":\"8\u00b0 F. 39954\",\"subjects\":null}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\"}],\"model\":\"claude-opus-4-5-20251101\",\"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,\"input_tokens\":2680,\"output_tokens\":207,\"server_tool_use\":null,\"service_tier\":\"standard\"}}"}, "scoring": {"f1_micro": 0.8632665211351458, "f1_macro": 0.8565399239543726, "micro_precision": 0.8288871951219512, "micro_recall": 0.9006211180124224, "total_instances": 263, "total_tp": 2175, "total_fp": 449, "total_fn": 240, "cost_summary": {"total_input_tokens": 705967, "total_output_tokens": 56029, "total_tokens": 761996, "input_cost_usd": 3.529834999999991, "output_cost_usd": 1.4007250000000002, "total_cost_usd": 4.930560000000001}}, "normalized_score": 85.65399239543726}