{"_id": {"$oid": "6a8456c1ef0a19c343227d8b"}, "test_id": "T1605", "benchmark": "library_cards", "date": "2026-08-18", "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": "x-ai", "model": "grok-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\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Walch\",\"first_name\":\"Ludwig\"},\"publication\":{\"title\":\"Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigentumserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht\",\"year\":\"1912\",\"place\":\"B\u00fchl (Baden)\",\"pages\":\"VIII, 37\",\"publisher\":\"Konkordia A.-G.\",\"format\":\"8\u00b0\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"U 12. 2216\",\"subjects\":null}}", "model": "grok-4.6", "provider": "x-ai", "finish_reason": "stop", "usage": {"input_tokens": 2013, "output_tokens": 135, "total_tokens": 4559, "cached_tokens": 128, "input_cost_usd": 0.004026, "output_cost_usd": 0.00081, "estimated_cost_usd": 0.004836}, "duration": 45.23574709892273, "timestamp": "2026-08-18T11:40:33.362122", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Walch", "first_name": "Ludwig"}, "publication": {"title": "Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigentumserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht", "year": "1912", "place": "B\u00fchl (Baden)", "pages": "VIII, 37", "publisher": "Konkordia A.-G.", "format": "8\u00b0", "editor": null}, "library_reference": {"shelfmark": "U 12. 2216", "subjects": null}}, "conversation_id": "0a3c6f21-84d4-4edc-aa71-962c7a2071ed", "score": {"f1_score": 1.0, "precision": 1.0, "recall": 1.0, "true_positives": 10, "false_positives": 0, "false_negatives": 0, "field_scores": {"author.first_name": {"response": "Ludwig", "ground_truth": "Ludwig", "score": 1.0}, "publication.format": {"response": "8\u00b0", "ground_truth": "8\u00b0", "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.publisher": {"response": "Konkordia A.-G.", "ground_truth": "Konkordia A.-G.", "score": 1.0}, "publication.place": {"response": "B\u00fchl (Baden)", "ground_truth": "B\u00fchl (Baden)", "score": 1.0}, "publication.year": {"response": "1912", "ground_truth": 1912, "score": 1.0}, "author.last_name": {"response": "Walch", "ground_truth": "Walch", "score": 1.0}, "library_reference.shelfmark": {"response": "U 12. 2216", "ground_truth": "U 12. 2216", "score": 1.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "publication.pages": {"response": "VIII, 37", "ground_truth": "VIII, 37", "score": 1.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "publication.title": {"response": "Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigentumserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht", "ground_truth": "Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigentumserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht", "score": 1.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"15973ae0-673a-9a7e-b4ea-7aa743c3d4ba\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\\"type\\\":{\\\"type\\\":\\\"Dissertation or thesis\\\"},\\\"author\\\":{\\\"last_name\\\":\\\"Walch\\\",\\\"first_name\\\":\\\"Ludwig\\\"},\\\"publication\\\":{\\\"title\\\":\\\"Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigentumserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht\\\",\\\"year\\\":\\\"1912\\\",\\\"place\\\":\\\"B\u00fchl (Baden)\\\",\\\"pages\\\":\\\"VIII, 37\\\",\\\"publisher\\\":\\\"Konkordia A.-G.\\\",\\\"format\\\":\\\"8\u00b0\\\",\\\"editor\\\":null},\\\"library_reference\\\":{\\\"shelfmark\\\":\\\"U 12. 2216\\\",\\\"subjects\\\":null}}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Walch\",\"first_name\":\"Ludwig\"},\"publication\":{\"title\":\"Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigentumserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht\",\"year\":\"1912\",\"place\":\"B\u00fchl (Baden)\",\"pages\":\"VIII, 37\",\"publisher\":\"Konkordia A.-G.\",\"format\":\"8\u00b0\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"U 12. 2216\",\"subjects\":null}},\"reasoning_content\":\"The user wants me to extract bibliographic information from this historical dissertation index card and return it as a structured JSON object.\\n{\\n  \\\"type\\\": \\\"Dissertation or thesis\\\",\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Walch\\\",\\n    \\\"first_name\\\": \\\"Ludwig\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Die rechte Gewere im Vergleich zur Tabularersitzung und dem Eigent umserwerb durch Aufgebotsverfahren nach b\u00fcrgerlichem Recht.\\\",\\n    \\\"year\\\": \\\"1912\\\",\\n    \\\"place\\\": \\\"B\u00fchl (Baden)\\\",\\n    \\\"pages\\\": \\\"VIII, 37\\\",\\n    \\\"publisher\\\": \\\"Konkordia A.-G.\\\",\\n    \\\"format\\\": \\\" 8\u00b0\\\",\\n    \\\"editor\\\": null\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"U 12.\"}}],\"created\":1787045989,\"model\":\"grok-4.6\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_a7b4933f4a93564d\",\"usage\":{\"completion_tokens\":135,\"prompt_tokens\":2013,\"total_tokens\":4559,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":2411,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":128,\"text_tokens\":1391,\"image_tokens\":622},\"num_sources_used\":0,\"cost_in_usd_ticks\":191100000}}"}, "scoring": {"f1_micro": 0.9038737446197991, "f1_macro": 0.8939163498098859, "micro_precision": 0.8948863636363636, "micro_recall": 0.9130434782608695, "total_instances": 263, "total_tp": 2205, "total_fp": 259, "total_fn": 210, "cost_summary": {"total_input_tokens": 523137, "total_output_tokens": 33127, "total_tokens": 556264, "input_cost_usd": 1.0462739999999973, "output_cost_usd": 0.19876200000000008, "total_cost_usd": 1.2450360000000007}}, "normalized_score": 89.39163498098858}