{"_id": {"$oid": "6ab1687f1481417a2aae4a9b"}, "test_id": "T0633", "benchmark": "library_cards", "date": "2026-03-16", "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-6", "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\":\"Reference\"},\"author\":{\"last_name\":\"Montaghemi\",\"first_name\":\"Nourhomadeh\"},\"publication\":{\"title\":\"Sonnenbichler - Montaghemi, Nourhomadeh\",\"year\":\"<UNKNOWN>\",\"place\":null,\"pages\":null,\"publisher\":null,\"format\":null,\"editor\":null},\"library_reference\":{\"shelfmark\":null,\"subjects\":null}}", "model": "claude-opus-4-6", "provider": "anthropic", "finish_reason": "tool_use", "usage": {"input_tokens": 2646, "output_tokens": 154, "total_tokens": 2800, "input_cost_usd": 0.013229999999999999, "output_cost_usd": 0.00385, "estimated_cost_usd": 0.017079999999999998}, "duration": 5.372529983520508, "timestamp": "2026-03-16T15:52:30.018829", "parsed": {"type": {"type": "Reference"}, "author": {"last_name": "Montaghemi", "first_name": "Nourhomadeh"}, "publication": {"title": "Sonnenbichler - Montaghemi, Nourhomadeh", "year": "<UNKNOWN>"}, "library_reference": {"shelfmark": null, "subjects": null}}, "conversation_id": "275fae8b-f056-45b4-908d-d220d52677fc", "score": {"f1_score": 0.25, "precision": 0.2, "recall": 0.3333333333333333, "true_positives": 1, "false_positives": 4, "false_negatives": 2, "field_scores": {"publication.pages": {"response": null, "ground_truth": null, "score": 1.0}, "publication.title": {"response": "Sonnenbichler - Montaghemi, Nourhomadeh", "ground_truth": "Montaghemi, Nourhomadeh", "score": 0.7419354838709676}, "author.last_name": {"response": "Montaghemi", "ground_truth": "Sonnenbichler", "score": 0.34782608695652173}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "author.first_name": {"response": "Nourhomadeh", "ground_truth": null, "score": 0.0}, "publication.format": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": "Reference", "ground_truth": "Reference", "score": 1.0}, "library_reference.shelfmark": {"response": null, "ground_truth": null, "score": 1.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": null, "ground_truth": null, "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "publication.year": {"response": "<UNKNOWN>", "ground_truth": null, "score": 0.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"msg_01PTa26TariXusM8qS5Nb2xU\",\"content\":[{\"id\":\"toolu_01XGp6rFUxKrQX5S1f5mDRqn\",\"input\":{\"type\":{\"type\":\"Reference\"},\"author\":{\"last_name\":\"Montaghemi\",\"first_name\":\"Nourhomadeh\"},\"publication\":{\"title\":\"Sonnenbichler - Montaghemi, Nourhomadeh\",\"year\":\"<UNKNOWN>\"},\"library_reference\":{\"shelfmark\":null,\"subjects\":null}},\"name\":\"extract_structured_data\",\"type\":\"tool_use\",\"caller\":{\"type\":\"direct\"}}],\"model\":\"claude-opus-4-6\",\"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\":2646,\"output_tokens\":154,\"server_tool_use\":null,\"service_tier\":\"standard\"}}"}, "scoring": {"f1_micro": 0.8524525316455696, "f1_macro": 0.8463498098859316, "micro_precision": 0.8159787959106399, "micro_recall": 0.8923395445134575, "total_instances": 263, "total_tp": 2155, "total_fp": 486, "total_fn": 260, "cost_summary": {"total_input_tokens": 706230, "total_output_tokens": 57399, "total_tokens": 763629, "input_cost_usd": 3.5311500000000016, "output_cost_usd": 1.434975000000001, "total_cost_usd": 4.966125000000003}}, "pricing": {"bucket_date": "2026-03-16", "age_days": 0, "input_price_per_million": 5.0, "output_price_per_million": 25.0}, "timing": {"total_response_s": 1730.9, "mean_response_s": 6.58, "slowest_response_s": 16.86, "inputs_timed": 263, "inputs_stored": 263, "span_s": 90.61}, "normalized_score": 84.63498098859316}