{"_id": {"$oid": "6a2bd2517c8509fc28cb4388"}, "test_id": "T1068", "benchmark": "library_cards", "date": "2026-06-04", "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.7-plus", "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\":\"Neubauer\",\"first_name\":\"Horst\"},\"publication\":{\"title\":\"Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.\",\"year\":\"place\",\"place\":\"G\u00f6rlitz\",\"pages\":\"107\",\"publisher\":\"Hoffmann & Reiber\",\"format\":\"8\u00b0\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"U 27. 753\",\"subjects\":\"R.- u. staatswiss.\"}}", "model": "qwen/qwen3.7-plus-20260602", "provider": "openrouter", "finish_reason": "stop", "usage": {"input_tokens": 1803, "output_tokens": 438, "total_tokens": 2241, "input_cost_usd": 0.0007212, "output_cost_usd": 0.0007008000000000001, "estimated_cost_usd": 0.001422}, "duration": 10.016102313995361, "timestamp": "2026-06-04T09:37:33.049580", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Neubauer", "first_name": "Horst"}, "publication": {"title": "Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.", "year": "place", "place": "G\u00f6rlitz", "pages": "107", "publisher": "Hoffmann & Reiber", "format": "8\u00b0", "editor": null}, "library_reference": {"shelfmark": "U 27. 753", "subjects": "R.- u. staatswiss."}}, "conversation_id": "5175b840-4117-479e-b685-d838e72a08af", "score": {"f1_score": 0.86, "precision": 0.8181818181818182, "recall": 0.9, "true_positives": 9, "false_positives": 2, "false_negatives": 1, "field_scores": {"library_reference.subjects": {"response": "R.- u. staatswiss.", "ground_truth": null, "score": 0.0}, "publication.format": {"response": "8\u00b0", "ground_truth": "8\u00b0", "score": 1.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": "G\u00f6rlitz", "ground_truth": "G\u00f6rlitz", "score": 1.0}, "author.first_name": {"response": "Horst", "ground_truth": "Horst", "score": 1.0}, "publication.title": {"response": "Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.", "ground_truth": "Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes", "score": 0.9973190348525469}, "publication.pages": {"response": "107", "ground_truth": "107", "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.publisher": {"response": "Hoffmann & Reiber", "ground_truth": "Hoffmann & Reiber", "score": 1.0}, "author.last_name": {"response": "Neubauer", "ground_truth": "Neubauer", "score": 1.0}, "library_reference.shelfmark": {"response": "U 27. 753", "ground_truth": "U 27. 753", "score": 1.0}, "publication.year": {"response": "place", "ground_truth": 1927, "score": 0.0}}, "total_fields": 12}, "raw_response": "{\"id\":\"gen-1780558643-X5whNh72BK8p9QFZDQLM\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Neubauer\\\",\\n    \\\"first_name\\\": \\\"Horst\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.\\\",\\n    \\\"year\\\":  \\t\\t\\\"place\\\"\\t\\t,\\n    \\\"place\\\": \\\"G\u00f6rlitz\\\",\\n    \\\"pages\\\": \\\"107\\\",\\n    \\\"publisher\\\": \\\"Hoffmann & Reiber\\\",\\n    \\\"format\\\": \\\"8\u00b0\\\"\\n  ,\\n    \\\"editor\\\": null\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"U 27. 753\\\",\\n    \\\"subjects\\\": \\\"R.- u. staatswiss.\\\"\\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\":\"Neubauer\",\"first_name\":\"Horst\"},\"publication\":{\"title\":\"Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.\",\"year\":\"place\",\"place\":\"G\u00f6rlitz\",\"pages\":\"107\",\"publisher\":\"Hoffmann & Reiber\",\"format\":\"8\u00b0\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"U 27. 753\",\"subjects\":\"R.- u. staatswiss.\"}},\"reasoning\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Neubauer\\\",\\n    \\\"first_name\\\": \\\"Horst\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.\\\",\\n    \\\"year\\\": 1927,\\n    \\\"place\\\": \\\"G\u00f6rlitz\\\",\\n    \\\"pages\\\": \\\"107\\\",\\n    \\\"publisher\\\": \\\"Hoffmann & Reiber\\\",\\n    \\\"format\\\": \\\"8\u00b0\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"U 27. 753\\\",\\n    \\\"subjects\\\": \\\"R.- u. staatswiss.\\\"\\n  }\\n}\\n```\\n\",\"reasoning_details\":[{\"type\":\"reasoning.text\",\"text\":\"{\\n  \\\"type\\\": {\\n    \\\"type\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Neubauer\\\",\\n    \\\"first_name\\\": \\\"Horst\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Der Arbeitsvertrag in der neueren Gesetzgebung des Auslandes. Tendenzen u. bemerkenswerte Einzelbestimmungen, bes. im Hinblick auf d. deutsch. Entwurf eines allg. Arbeitsvertragsgesetzes.\\\",\\n    \\\"year\\\": 1927,\\n    \\\"place\\\": \\\"G\u00f6rlitz\\\",\\n    \\\"pages\\\": \\\"107\\\",\\n    \\\"publisher\\\": \\\"Hoffmann & Reiber\\\",\\n    \\\"format\\\": \\\"8\u00b0\\\"\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"U 27. 753\\\",\\n    \\\"subjects\\\": \\\"R.- u. staatswiss.\\\"\\n  }\\n}\\n```\\n\",\"format\":\"unknown\",\"index\":0}]},\"native_finish_reason\":\"stop\"}],\"created\":1780558643,\"model\":\"qwen/qwen3.7-plus-20260602\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":438,\"prompt_tokens\":1803,\"total_tokens\":2241,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":0,\"reasoning_tokens\":213,\"rejected_prediction_tokens\":null,\"image_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0,\"cache_write_tokens\":0,\"video_tokens\":0},\"cost\":0.001422,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.001422,\"upstream_inference_prompt_cost\":0.0007212,\"upstream_inference_completions_cost\":0.0007008}},\"provider\":\"Alibaba\"}"}, "scoring": {"f1_micro": 0.8721243523316062, "f1_macro": 0.862851711026616, "micro_precision": 0.8730290456431535, "micro_recall": 0.8712215320910973, "total_instances": 263, "total_tp": 2104, "total_fp": 306, "total_fn": 311, "cost_summary": {"total_input_tokens": 477224, "total_output_tokens": 108983, "total_tokens": 586207, "input_cost_usd": 0.19088960000000033, "output_cost_usd": 0.17437280000000002, "total_cost_usd": 0.36526239999999977}}, "normalized_score": 86.2851711026616}