{"_id": {"$oid": "69d4eb12b877594bc5718b19"}, "test_id": "T0258", "benchmark": "library_cards", "date": "2026-01-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": "openrouter", "model": "qwen/qwen3-vl-30b-a3b-instruct", "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\":\"M\u00fcller\",\"first_name\":\"Hans Gerhard\"},\"publication\":{\"title\":\"Die Dissoziation von Natriumsalzen in der Flamme\",\"year\":\"1931\",\"place\":\"Gandersheim\",\"pages\":\"22\",\"publisher\":\"Hertel\",\"format\":\"8\u00b0\",\"editor\":\"Math.-naturowiss. Diss. v. 29. Febr. 1932\"},\"library_reference\":{\"shelfmark\":\"Diss. v. 29. Febr. 1932\",\"subjects\":\"U 32. 4077\"}}", "model": "qwen/qwen3-vl-30b-a3b-instruct", "provider": "openai", "finish_reason": "stop", "usage": {"input_tokens": 994, "output_tokens": 205, "total_tokens": 1199}, "duration": 5.299051761627197, "timestamp": "2026-01-24T23:19:28.095783", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "M\u00fcller", "first_name": "Hans Gerhard"}, "publication": {"title": "Die Dissoziation von Natriumsalzen in der Flamme", "year": "1931", "place": "Gandersheim", "pages": "22", "publisher": "Hertel", "format": "8\u00b0", "editor": "Math.-naturowiss. Diss. v. 29. Febr. 1932"}, "library_reference": {"shelfmark": "Diss. v. 29. Febr. 1932", "subjects": "U 32. 4077"}}, "conversation_id": "d52b0b4b-2c20-47fb-9a66-a5b2f61722b1", "score": {"f1_score": 0.82, "precision": 0.75, "recall": 0.9, "true_positives": 9, "false_positives": 3, "false_negatives": 1, "field_scores": {"publication.title": {"response": "Die Dissoziation von Natriumsalzen in der Flamme", "ground_truth": "Die Dissoziation von Natriumsalzen in der Flamme", "score": 1.0}, "library_reference.subjects": {"response": "U 32. 4077", "ground_truth": null, "score": 0.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "library_reference.shelfmark": {"response": "Diss. v. 29. Febr. 1932", "ground_truth": "U 32. 4077", "score": 0.24242424242424243}, "author.last_name": {"response": "M\u00fcller", "ground_truth": "M\u00fcller", "score": 1.0}, "author.first_name": {"response": "Hans Gerhard", "ground_truth": "Hans Gerhard", "score": 1.0}, "publication.pages": {"response": "22", "ground_truth": "22", "score": 1.0}, "publication.editor": {"response": "Math.-naturowiss. Diss. v. 29. Febr. 1932", "ground_truth": null, "score": 0.0}, "publication.year": {"response": "1931", "ground_truth": 1931, "score": 1.0}, "publication.publisher": {"response": "Hertel", "ground_truth": "Hertel", "score": 1.0}, "publication.place": {"response": "Gandersheim", "ground_truth": "Gandersheim", "score": 1.0}, "publication.format": {"response": "8\u00b0", "ground_truth": "8\u00b0", "score": 1.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"gen-1769293162-GhmgVa65sGuMeekURcX2\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"M\u00fcller\\\",\\n    \\\"first_name\\\": \\\"Hans Gerhard\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Die Dissoziation von Natriumsalzen in der Flamme\\\",\\n    \\\"year\\\":  \\t\\t\\t\\t\\t\\t\\t\\t\\\"1931\\\",\\n    \\\"place\\\": \\\"Gandersheim\\\",\\n    \\\"pages\\\": \\\"22\\\",\\n    \\\"publisher\\\": \\\"Hertel\\\",\\n    \\\"format\\\": \\\"8\u00b0\\\"\\n  ,\\n  \\\"editor\\\": \\\"Math.-naturowiss. Diss. v. 29. Febr. 1932\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"Diss. v. 29. Febr. 1932\\\",\\n    \\\"subjects\\\": \\\"U 32. 4077\\\"\\n  }\\n}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"M\u00fcller\",\"first_name\":\"Hans Gerhard\"},\"publication\":{\"title\":\"Die Dissoziation von Natriumsalzen in der Flamme\",\"year\":\"1931\",\"place\":\"Gandersheim\",\"pages\":\"22\",\"publisher\":\"Hertel\",\"format\":\"8\u00b0\",\"editor\":\"Math.-naturowiss. Diss. v. 29. Febr. 1932\"},\"library_reference\":{\"shelfmark\":\"Diss. v. 29. Febr. 1932\",\"subjects\":\"U 32. 4077\"}},\"reasoning\":null},\"native_finish_reason\":\"stop\"}],\"created\":1769293162,\"model\":\"qwen/qwen3-vl-30b-a3b-instruct\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":205,\"prompt_tokens\":994,\"total_tokens\":1199,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":null,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":null,\"image_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0,\"video_tokens\":0},\"cost\":0.0003423,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.0001988,\"upstream_inference_completions_cost\":0.0001435}},\"provider\":\"Phala\"}"}, "scoring": {"f1_micro": 0.6125, "f1_macro": 0.5363117870722434, "micro_precision": 0.6644067796610169, "micro_recall": 0.5681159420289855, "total_instances": 263, "total_tp": 1372, "total_fp": 693, "total_fn": 1043, "cost_summary": {"total_input_tokens": 345259, "total_output_tokens": 43720, "total_tokens": 388979, "input_cost_usd": 0.0, "output_cost_usd": 0.0, "total_cost_usd": 0.024776380000000008}}, "normalized_score": 53.631178707224336}