{"_id": {"$oid": "69d4eb12b877594bc5718d2d"}, "test_id": "T0819", "benchmark": "library_cards", "date": "2026-03-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": "alibaba", "model": "qwen3.5-plus-2026-02-15", "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": "{\n  \"type\": {\n    \"type\": \"Reference\"\n  },\n  \"author\": {\n    \"last_name\": \"Korsch\",\n    \"first_name\": \"Ernst\"\n  },\n  \"publication\": {\n    \"title\": \"Die verschiedenen Fassungen in dem Werk des Bischofs Otto von Freising \u00fcber die Taten Kaiser Friedrichs I.\",\n    \"year\": 1941,\n    \"place\": \"B.-Steglitz\",\n    \"pages\": \"\",\n    \"publisher\": \"\",\n    \"format\": \"\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Diss.Univ. Berlin 1941\",\n    \"subjects\": \"Otto Frisingensis ca 1114- 1158 [ biogr.]\"\n  }\n}", "model": "qwen3.5-plus", "provider": "alibaba", "finish_reason": "stop", "usage": {"input_tokens": 1787, "output_tokens": 187, "total_tokens": 1974, "input_cost_usd": 0.0007148, "output_cost_usd": 0.00044879999999999996, "estimated_cost_usd": 0.0011635999999999999}, "duration": 8.423988342285156, "timestamp": "2026-03-24T18:53:50.338481", "parsed": {"type": {"type": "Reference"}, "author": {"last_name": "Korsch", "first_name": "Ernst"}, "publication": {"title": "Die verschiedenen Fassungen in dem Werk des Bischofs Otto von Freising \u00fcber die Taten Kaiser Friedrichs I.", "year": 1941, "place": "B.-Steglitz", "pages": "", "publisher": "", "format": ""}, "library_reference": {"shelfmark": "Diss.Univ. Berlin 1941", "subjects": "Otto Frisingensis ca 1114- 1158 [ biogr.]"}}, "conversation_id": "94385a23-10d7-429b-b435-23b4a558d9c9", "score": {"f1_score": 0.86, "precision": 0.75, "recall": 1.0, "true_positives": 6, "false_positives": 2, "false_negatives": 0, "field_scores": {"library_reference.subjects": {"response": "Otto Frisingensis ca 1114- 1158 [ biogr.]", "ground_truth": null, "score": 0.0}, "library_reference.shelfmark": {"response": "Diss.Univ. Berlin 1941", "ground_truth": null, "score": 0.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": "Reference", "ground_truth": "Reference", "score": 1.0}, "publication.year": {"response": 1941, "ground_truth": 1941, "score": 1.0}, "publication.place": {"response": "B.-Steglitz", "ground_truth": "B.-Steglitz", "score": 1.0}, "author.last_name": {"response": "Korsch", "ground_truth": "Korsch", "score": 1.0}, "publication.pages": {"response": null, "ground_truth": null, "score": 1.0}, "author.first_name": {"response": "Ernst", "ground_truth": "Ernst", "score": 1.0}, "publication.format": {"response": null, "ground_truth": null, "score": 1.0}, "publication.title": {"response": "Die verschiedenen Fassungen in dem Werk des Bischofs Otto von Freising \u00fcber die Taten Kaiser Friedrichs I.", "ground_truth": "Die verschiedenen Fassungen in dem Werk des Bischofs Otto von Freising \u00fcber die Taten Kaiser Friedrichs I.", "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"chatcmpl-d5fbc97a-d9c1-9dfc-849b-4846f3bba937\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Reference\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Korsch\\\",\\n    \\\"first_name\\\": \\\"Ernst\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Die verschiedenen Fassungen in dem Werk des Bischofs Otto von Freising \u00fcber die Taten Kaiser Friedrichs I.\\\",\\n    \\\"year\\\": 1941,\\n    \\\"place\\\": \\\"B.-Steglitz\\\",\\n    \\\"pages\\\": \\\"\\\",\\n    \\\"publisher\\\": \\\"\\\",\\n    \\\"format\\\": \\\"\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"Diss.Univ. Berlin 1941\\\",\\n    \\\"subjects\\\": \\\"Otto Frisingensis ca 1114- 1158 [ biogr.]\\\"\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"reasoning_content\":\"\"}}],\"created\":1774374830,\"model\":\"qwen3.5-plus\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":187,\"prompt_tokens\":1787,\"total_tokens\":1974,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":null,\"reasoning_tokens\":null,\"rejected_prediction_tokens\":null,\"text_tokens\":187},\"prompt_tokens_details\":{\"audio_tokens\":null,\"cached_tokens\":null,\"image_tokens\":572,\"text_tokens\":1215}}}"}, "scoring": {"f1_micro": 0.8901803607214429, "f1_macro": 0.8846007604562738, "micro_precision": 0.8625242718446602, "micro_recall": 0.9196687370600414, "total_instances": 263, "total_tp": 2221, "total_fp": 354, "total_fn": 194, "cost_summary": {"total_input_tokens": 470700, "total_output_tokens": 47670, "total_tokens": 518370, "input_cost_usd": 0.18827999999999973, "output_cost_usd": 0.11440800000000008, "total_cost_usd": 0.3026880000000002}}, "normalized_score": 88.46007604562737}