{"_id": {"$oid": "6a26c67c3572c06bc1455ecd"}, "test_id": "T1120", "benchmark": "library_cards", "date": "2026-06-05", "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": "meta-llama/llama-4-scout", "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\":\"Verhaeghe\",\"first_name\":\"Etienne\"},\"publication\":{\"title\":\"Contribution \u00e0 l'\u00e9tude clinique et exp\u00e9rimentale des transplantations h\u00e9t\u00e9roplastiques d'os frais. Quelques essais de transplantations h\u00e9t\u00e9roplastiques ost\u00e9oarticulaires et p\u00e9riostiques\",\"year\":\", \",\"place\":\"Lille\",\"pages\":\"194 p.\",\"publisher\":\"\",\"format\":\"in-8\u00b0 \",\"editor\":\"\"},\"library_reference\":{\"shelfmark\":\"Lille. Th. m\u00e9d. 1903-1909. N\u00ba 5.\",\"subjects\":\"\"}}", "model": "meta-llama/llama-4-scout-17b-16e-instruct", "provider": "openrouter", "finish_reason": "stop", "usage": {"input_tokens": 1446, "output_tokens": 211, "total_tokens": 1657, "input_cost_usd": 0.00011568, "output_cost_usd": 6.33e-05, "estimated_cost_usd": 0.00017898}, "duration": 11.762292861938477, "timestamp": "2026-06-05T12:50:17.000672", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Verhaeghe", "first_name": "Etienne"}, "publication": {"title": "Contribution \u00e0 l'\u00e9tude clinique et exp\u00e9rimentale des transplantations h\u00e9t\u00e9roplastiques d'os frais. Quelques essais de transplantations h\u00e9t\u00e9roplastiques ost\u00e9oarticulaires et p\u00e9riostiques", "year": ", ", "place": "Lille", "pages": "194 p.", "publisher": "", "format": "in-8\u00b0 ", "editor": ""}, "library_reference": {"shelfmark": "Lille. Th. m\u00e9d. 1903-1909. N\u00ba 5.", "subjects": ""}}, "conversation_id": "6d8f2536-3222-4b70-a8e9-f1167cfd7e75", "score": {"f1_score": 0.47, "precision": 0.4444444444444444, "recall": 0.5, "true_positives": 4, "false_positives": 5, "false_negatives": 4, "field_scores": {"library_reference.shelfmark": {"response": "Lille. Th. m\u00e9d. 1903-1909. N\u00ba 5.", "ground_truth": null, "score": 0.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": "Lille", "ground_truth": "Lille", "score": 1.0}, "publication.title": {"response": "Contribution \u00e0 l'\u00e9tude clinique et exp\u00e9rimentale des transplantations h\u00e9t\u00e9roplastiques d'os frais. Quelques essais de transplantations h\u00e9t\u00e9roplastiques ost\u00e9oarticulaires et p\u00e9riostiques", "ground_truth": "Contribution \u00e0 l'\u00e9tude clinique et exp\u00e9rimentale des transplantations h\u00e9t\u00e9roplastiques d'os frais. Quelques essais de transplantations h\u00e9t\u00e9roplastiques ost\u00e9oarticulaires et p\u00e9riostiques", "score": 1.0}, "author.last_name": {"response": "Verhaeghe", "ground_truth": "Verhaeghe", "score": 1.0}, "publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "publication.year": {"response": ", ", "ground_truth": 1908, "score": 0.0}, "publication.format": {"response": "in-8\u00b0 ", "ground_truth": "8\u00b0", "score": 0.5}, "author.first_name": {"response": "Etienne", "ground_truth": "\u00c9tienne", "score": 0.8571428571428572}, "publication.pages": {"response": "194 p.", "ground_truth": "194", "score": 0.6666666666666667}}, "total_fields": 12}, "raw_response": "{\"id\":\"gen-1780656612-Y1c1p1R1UOe2afppgfy7\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":\"{\\\"type\\\": {\\\"type\\\": \\\"Dissertation or thesis\\\"}, \\\"author\\\": {\\\"last_name\\\": \\\"Verhaeghe\\\", \\\"first_name\\\": \\\"Etienne\\\"}, \\\"publication\\\": {\\\"title\\\": \\\"Contribution \\\\u00e0 l'\\\\u00e9tude clinique et exp\\\\u00e9rimentale des transplantations h\\\\u00e9t\\\\u00e9roplastiques d'os frais. Quelques essais de transplantations h\\\\u00e9t\\\\u00e9roplastiques ost\\\\u00e9oarticulaires et p\\\\u00e9riostiques\\\", \\\"year\\\":   \\\", \\\"  ,\\\"place\\\": \\\"Lille\\\", \\\"pages\\\": \\\"194 p.\\\", \\\"publisher\\\": \\\"\\\", \\\"format\\\": \\\"in-8\\\\u00b0 \\\"  , \\\"editor\\\": \\\"\\\"}, \\\"library_reference\\\": {\\\"shelfmark\\\": \\\"Lille. Th. m\\\\u00e9d. 1903-1909. N\\\\u00ba 5.\\\", \\\"subjects\\\": \\\"\\\"}}\",\"refusal\":null,\"role\":\"assistant\",\"annotations\":null,\"audio\":null,\"function_call\":null,\"tool_calls\":null,\"parsed\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Verhaeghe\",\"first_name\":\"Etienne\"},\"publication\":{\"title\":\"Contribution \u00e0 l'\u00e9tude clinique et exp\u00e9rimentale des transplantations h\u00e9t\u00e9roplastiques d'os frais. Quelques essais de transplantations h\u00e9t\u00e9roplastiques ost\u00e9oarticulaires et p\u00e9riostiques\",\"year\":\", \",\"place\":\"Lille\",\"pages\":\"194 p.\",\"publisher\":\"\",\"format\":\"in-8\u00b0 \",\"editor\":\"\"},\"library_reference\":{\"shelfmark\":\"Lille. Th. m\u00e9d. 1903-1909. N\u00ba 5.\",\"subjects\":\"\"}},\"reasoning\":null},\"native_finish_reason\":\"stop\"}],\"created\":1780656612,\"model\":\"meta-llama/llama-4-scout-17b-16e-instruct\",\"object\":\"chat.completion\",\"service_tier\":null,\"system_fingerprint\":null,\"usage\":{\"completion_tokens\":211,\"prompt_tokens\":1446,\"total_tokens\":1657,\"completion_tokens_details\":{\"accepted_prediction_tokens\":null,\"audio_tokens\":0,\"reasoning_tokens\":0,\"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.00017898,\"is_byok\":false,\"cost_details\":{\"upstream_inference_cost\":0.00017898,\"upstream_inference_prompt_cost\":0.00011568,\"upstream_inference_completions_cost\":0.0000633}},\"provider\":\"DeepInfra\"}"}, "scoring": {"f1_micro": 0.7260301507537688, "f1_macro": 0.7188212927756654, "micro_precision": 0.70546875, "micro_recall": 0.7478260869565218, "total_instances": 263, "total_tp": 1806, "total_fp": 754, "total_fn": 609, "cost_summary": {"total_input_tokens": 401716, "total_output_tokens": 45007, "total_tokens": 446723, "input_cost_usd": 0.03213727999999998, "output_cost_usd": 0.013502099999999998, "total_cost_usd": 0.04563938}}, "normalized_score": 71.88212927756655}