{"_id": {"$oid": "69d4eb12b877594bc5718972"}, "test_id": "T0208", "benchmark": "library_cards", "date": "2025-10-01", "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": "genai", "model": "gemini-2.5-flash-lite", "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": {"provider": "genai", "model": "gemini-2.5-flash-lite", "duration": 1.5813243389129639, "timestamp": "2025-10-01T00:25:51.878707", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Oehme", "first_name": "Carl Wilhelm"}, "publication": {"title": "Mocae historiam adumbrandi speicimen", "year": "place", "pages": "22", "publisher": "", "format": ""}, "library_reference": {"shelfmark": "Halle. Diss. med. 1845.", "subjects": ""}}, "text": "{\n  \"type\": {\n    \"type\": \"Dissertation or thesis\"\n  },\n  \"author\": {\n    \"last_name\": \"Oehme\",\n    \"first_name\": \"Carl Wilhelm\"\n  },\n  \"publication\": {\n    \"title\": \"Mocae historiam adumbrandi speicimen\",\n    \"year\": \n    \"place\",\n    \"pages\": \"22\",\n    \"publisher\": \"\",\n    \"format\": \"\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Halle. Diss. med. 1845.\",\n    \"subjects\": \"\"\n  }\n}", "raw_response": {"text": "{\n  \"type\": {\n    \"type\": \"Dissertation or thesis\"\n  },\n  \"author\": {\n    \"last_name\": \"Oehme\",\n    \"first_name\": \"Carl Wilhelm\"\n  },\n  \"publication\": {\n    \"title\": \"Mocae historiam adumbrandi speicimen\",\n    \"year\": \n    \"place\",\n    \"pages\": \"22\",\n    \"publisher\": \"\",\n    \"format\": \"\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"Halle. Diss. med. 1845.\",\n    \"subjects\": \"\"\n  }\n}", "usage_metadata": {"prompt_token_count": 705, "candidates_token_count": 152, "total_token_count": 857}}, "usage": {"input_tokens": 705, "output_tokens": 152, "total_tokens": 857}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.6974185357596275, "f1_macro": 0.6892395437262357, "micro_precision": 0.7131112072695802, "micro_recall": 0.6824016563146998, "total_instances": 263, "total_tp": 1648, "total_fp": 663, "total_fn": 767, "cost_summary": {"total_input_tokens": 185415, "total_output_tokens": 214729, "total_tokens": 400144, "input_cost_usd": 0.018541, "output_cost_usd": 0.085892, "total_cost_usd": 0.104433, "pricing_date": "2025-10-01", "input_price_per_million": 0.1, "output_price_per_million": 0.4}}, "normalized_score": 68.92395437262357}