{"_id": {"$oid": "6a26c67c3572c06bc1455e20"}, "test_id": "T1042", "benchmark": "library_cards", "date": "2026-04-27", "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": "openai", "model": "gpt-5.5-2026-04-23", "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\":\"Siebler\",\"first_name\":\"Heinz-Ulrich\"},\"publication\":{\"title\":\"Wirtschaftstheorie, Wettbewerbspolitik und das Gesetz gegen Wettbewerbsbeschr\u00e4nkungen. Begr\u00fcndung und Begr\u00fcndbarkeit neoliberaler Wettbewerbspolitik.\",\"year\":\"1966\",\"place\":\"Frankfurt am Main\",\"pages\":\"180\",\"publisher\":\"\",\"format\":\"8'\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"Diss.1966,6060\",\"subjects\":\"Kartell (Kartellrecht), Deutschland / S Jur Diss\"}}", "model": "gpt-5.5-2026-04-23", "provider": "openai", "finish_reason": "stop", "usage": {"input_tokens": 1720, "output_tokens": 395, "total_tokens": 2115, "input_cost_usd": 0.0086, "output_cost_usd": 0.01185, "estimated_cost_usd": 0.02045}, "duration": 7.894830703735352, "timestamp": "2026-04-27T09:38:25.869685", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Siebler", "first_name": "Heinz-Ulrich"}, "publication": {"title": "Wirtschaftstheorie, Wettbewerbspolitik und das Gesetz gegen Wettbewerbsbeschr\u00e4nkungen. Begr\u00fcndung und Begr\u00fcndbarkeit neoliberaler Wettbewerbspolitik.", "year": "1966", "place": "Frankfurt am Main", "pages": "180", "publisher": "", "format": "8'", "editor": null}, "library_reference": {"shelfmark": "Diss.1966,6060", "subjects": "Kartell (Kartellrecht), Deutschland / S Jur Diss"}}, "conversation_id": "32657186-0520-4dfc-ad15-1666d790a12e", "score": {"f1_score": 1.0, "precision": 1.0, "recall": 1.0, "true_positives": 10, "false_positives": 0, "false_negatives": 0, "field_scores": {"publication.pages": {"response": "180", "ground_truth": "180", "score": 1.0}, "publication.title": {"response": "Wirtschaftstheorie, Wettbewerbspolitik und das Gesetz gegen Wettbewerbsbeschr\u00e4nkungen. Begr\u00fcndung und Begr\u00fcndbarkeit neoliberaler Wettbewerbspolitik.", "ground_truth": "Wirtschaftstheorie, Wettbewerbspolitik und das Gesetz gegen Wettbewerbsbeschr\u00e4nkungen. Begr\u00fcndung und Begr\u00fcndbarkeit neoliberaler Wettbewerbspolitik", "score": 0.9966329966329966}, "publication.format": {"response": "8'", "ground_truth": "8'", "score": 1.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "author.last_name": {"response": "Siebler", "ground_truth": "Siebler", "score": 1.0}, "library_reference.subjects": {"response": "Kartell (Kartellrecht), Deutschland / S Jur Diss", "ground_truth": "Kartell (Kartellrecht). Deutschland/ S Jur Diss", "score": 0.9684210526315788}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.year": {"response": "1966", "ground_truth": 1966, "score": 1.0}, "author.first_name": {"response": "Heinz-Ulrich", "ground_truth": "Heinz-Ulrich", "score": 1.0}, "library_reference.shelfmark": {"response": "Diss.1966,6060", "ground_truth": "Diss.1966,6060", "score": 1.0}, "publication.place": {"response": "Frankfurt am Main", "ground_truth": "Frankfurt am Main", "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"chatcmpl-DZApmRUISqf4ndNMMcSlifFGTrM59\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\\"author\\\":{\\\"first_name\\\":\\\"Heinz-Ulrich\\\",\\\"last_name\\\":\\\"Siebler\\\"},\\\"library_reference\\\":{\\\"shelfmark\\\":\\\"Diss.1966,6060\\\",\\\"subjects\\\":\\\"Kartell (Kartellrecht), Deutschland / S Jur Diss\\\"},\\\"publication\\\":{\\\"editor\\\":null,\\\"format\\\":\\\"8'\\\",\\\"pages\\\":\\\"180\\\",\\\"place\\\":\\\"Frankfurt am Main\\\",\\\"publisher\\\":\\\"\\\",\\\"title\\\":\\\"Wirtschaftstheorie, Wettbewerbspolitik und das Gesetz gegen Wettbewerbsbeschr\u00e4nkungen. Begr\u00fcndung und Begr\u00fcndbarkeit neoliberaler Wettbewerbspolitik.\\\",\\\"year\\\":\\\"1966\\\"},\\\"type\\\":{\\\"type\\\":\\\"Dissertation or thesis\\\"}}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":[],\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Siebler\",\"first_name\":\"Heinz-Ulrich\"},\"publication\":{\"title\":\"Wirtschaftstheorie, Wettbewerbspolitik und das Gesetz gegen Wettbewerbsbeschr\u00e4nkungen. Begr\u00fcndung und Begr\u00fcndbarkeit neoliberaler Wettbewerbspolitik.\",\"year\":\"1966\",\"place\":\"Frankfurt am Main\",\"pages\":\"180\",\"publisher\":\"\",\"format\":\"8'\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"Diss.1966,6060\",\"subjects\":\"Kartell (Kartellrecht), Deutschland / S Jur Diss\"}}}}],\"created\":1777275498,\"model\":\"gpt-5.5-2026-04-23\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":395,\"prompt_tokens\":1720,\"total_tokens\":2115,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":256,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0}}}"}, "scoring": {"f1_micro": 0.8915857605177995, "f1_macro": 0.8858555133079847, "micro_precision": 0.8714907077896402, "micro_recall": 0.9126293995859214, "total_instances": 263, "total_tp": 2204, "total_fp": 325, "total_fn": 211, "cost_summary": {"total_input_tokens": 444670, "total_output_tokens": 132985, "total_tokens": 577655, "input_cost_usd": 2.2233500000000026, "output_cost_usd": 3.9895499999999973, "total_cost_usd": 6.212899999999996}}, "normalized_score": 88.58555133079847}