{"_id": {"$oid": "69d4eb12b877594bc5718d43"}, "test_id": "T0832", "benchmark": "library_cards", "date": "2026-03-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": "alibaba", "model": "qwen3.5-35b-a3b", "dataclass": "Document", "temperature": 0.0, "role_description": "You are a historian with keyword knowledge", "prompt_file": "prompt.txt", "rules": "{\"base_url\": \"https://ws-wkjpbv6ov7sqlgqe.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1\"}", "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\":\"Sydow\",\"first_name\":\"Harald\"},\"publication\":{\"title\":\"Elektronenmikroskopische Untersuchung \u00fcber zytosomale Lamellenk\u00f6rper in den Eizellen des Ovars vom Igel <Erinaceus europaeus L.>\",\"year\":\"1968\",\"place\":\"Kiel\",\"pages\":\"387-407\",\"publisher\":\"\",\"format\":\"8'\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"Diss.1969,6496\",\"subjects\":\"2/Elektronen-Mikroskopie/Igel,Igelartige/ Diss\"}}", "model": "qwen3.5-35b-a3b", "provider": "alibaba", "finish_reason": "stop", "usage": {"input_tokens": 1787, "output_tokens": 209, "total_tokens": 1996, "input_cost_usd": 0.00044675, "output_cost_usd": 0.000418, "estimated_cost_usd": 0.0008647500000000001}, "duration": 3.731600761413574, "timestamp": "2026-03-25T10:15:48.531332", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Sydow", "first_name": "Harald"}, "publication": {"title": "Elektronenmikroskopische Untersuchung \u00fcber zytosomale Lamellenk\u00f6rper in den Eizellen des Ovars vom Igel <Erinaceus europaeus L.>", "year": "1968", "place": "Kiel", "pages": "387-407", "publisher": "", "format": "8'"}, "library_reference": {"shelfmark": "Diss.1969,6496", "subjects": "2/Elektronen-Mikroskopie/Igel,Igelartige/ Diss"}}, "conversation_id": "3ef249b7-acc1-43bc-b06b-658b33b5e4fe", "score": {"f1_score": 1.0, "precision": 1.0, "recall": 1.0, "true_positives": 10, "false_positives": 0, "false_negatives": 0, "field_scores": {"library_reference.subjects": {"response": "2/Elektronen-Mikroskopie/Igel,Igelartige/ Diss", "ground_truth": "2/Elektronen-Mikroskopie/Igel,Igelartige/ Diss", "score": 1.0}, "author.last_name": {"response": "Sydow", "ground_truth": "Sydow", "score": 1.0}, "publication.year": {"response": "1968", "ground_truth": 1968, "score": 1.0}, "publication.place": {"response": "Kiel", "ground_truth": "Kiel", "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.shelfmark": {"response": "Diss.1969,6496", "ground_truth": "Diss.1969,6496", "score": 1.0}, "author.first_name": {"response": "Harald", "ground_truth": "Harald", "score": 1.0}, "publication.pages": {"response": "387-407", "ground_truth": "387-407", "score": 1.0}, "publication.format": {"response": "8'", "ground_truth": "8'", "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.title": {"response": "Elektronenmikroskopische Untersuchung \u00fcber zytosomale Lamellenk\u00f6rper in den Eizellen des Ovars vom Igel <Erinaceus europaeus L.>", "ground_truth": "Elektronenmikroskopische Untersuchung \u00fcber zytosomale Lamellenk\u00f6rper in den Eizellen des Ovars vom Igel (Erinaceus europaeus L.)", "score": 0.984375}}, "total_fields": 11}, "raw_response": "{\"id\":\"chatcmpl-2c9f15b0-4c8b-9c94-958b-5ada8c02bd23\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Sydow\\\",\\n    \\\"first_name\\\": \\\"Harald\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Elektronenmikroskopische Untersuchung \u00fcber zytosomale Lamellenk\u00f6rper in den Eizellen des Ovars vom Igel <Erinaceus europaeus L.>\\\",\\n    \\\"year\\\": \\\"1968\\\",\\n    \\\"place\\\": \\\"Kiel\\\",\\n    \\\"pages\\\": \\\"387-407\\\",\\n    \\\"publisher\\\": \\\"\\\",\\n    \\\"format\\\": \\\"8'\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"Diss.1969,6496\\\",\\n    \\\"subjects\\\": \\\"2/Elektronen-Mikroskopie/Igel,Igelartige/ Diss\\\"\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"reasoning_content\":\"\"}}],\"created\":1774430148,\"model\":\"qwen3.5-35b-a3b\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":209,\"prompt_tokens\":1787,\"total_tokens\":1996,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":null,\"reasoning_tokens\":null,\"rejected_prediction_tokens\":null,\"text_tokens\":209},\"prompt_tokens_details\":{\"audio_tokens\":null,\"cached_tokens\":null,\"image_tokens\":572,\"text_tokens\":1215}}}"}, "scoring": {"f1_micro": 0.8444262964475296, "f1_macro": 0.838022813688213, "micro_precision": 0.8328634716069271, "micro_recall": 0.8563146997929607, "total_instances": 263, "total_tp": 2068, "total_fp": 415, "total_fn": 347, "cost_summary": {"total_input_tokens": 470700, "total_output_tokens": 47995, "total_tokens": 518695, "input_cost_usd": 0.11767499999999961, "output_cost_usd": 0.09599000000000003, "total_cost_usd": 0.21366500000000016}}, "normalized_score": 83.8022813688213}