{"_id": {"$oid": "6ab1687f1481417a2aae47a7"}, "test_id": "T0252", "benchmark": "library_cards", "date": "2025-10-17", "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-maverick", "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": "openrouter", "model": "meta-llama/llama-4-maverick", "duration": 2.124300241470337, "timestamp": "2025-10-17T22:46:43.213465", "parsed": {"type": {"type": "Reference"}, "author": {"last_name": "Montaghemi", "first_name": "Nourhomadeh"}, "publication": {"title": "Sonnenbichler - Montaghemi, Nourhomadeh", "year": "", "place": "", "pages": "", "publisher": "", "format": "", "editor": null}, "library_reference": {"shelfmark": "", "subjects": ""}}, "text": "", "raw_response": {"id": "gen-1760734001-DpG0EgUJgfjQXjejFLLm", "model": "meta-llama/llama-4-maverick", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\n  \"type\": {\n    \"type\": \"Reference\"\n  },\n  \"author\": {\n    \"last_name\": \"Montaghemi\",\n    \"first_name\": \"Nourhomadeh\"\n  },\n  \"publication\": {\n    \"title\": \"Sonnenbichler - Montaghemi, Nourhomadeh\",\n    \"year\": \"\",\n    \"place\": \"\",\n    \"pages\": \"\",\n    \"publisher\": \"\",\n    \"format\": \"\"\n  },\n  \"library_reference\": {\n    \"shelfmark\": \"\",\n    \"subjects\": \"\"\n  }\n}", "role": "assistant"}}], "usage": {"prompt_tokens": 1516, "completion_tokens": 116, "total_tokens": 1632}}, "usage": {"input_tokens": 1516, "output_tokens": 116, "total_tokens": 1632, "input_cost_usd": 0.0002274, "output_cost_usd": 6.96e-05, "estimated_cost_usd": 0.000297}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.6748292912644219, "f1_macro": 0.6232699619771863, "micro_precision": 0.7822052401746725, "micro_recall": 0.5933747412008281, "total_instances": 263, "total_tp": 1433, "total_fp": 399, "total_fn": 982, "cost_summary": {"total_input_tokens": 390864, "total_output_tokens": 819940, "total_tokens": 1210804, "input_cost_usd": 0.0586296, "output_cost_usd": 0.491964, "total_cost_usd": 0.5505936, "pricing_date": "2025-10-17", "input_price_per_million": 0.15, "output_price_per_million": 0.6}}, "pricing": {"bucket_date": "2025-10-17", "age_days": 0, "input_price_per_million": 0.15, "output_price_per_million": 0.6}, "timing": {"total_response_s": 19155.46, "mean_response_s": 72.83, "slowest_response_s": 701.36, "inputs_timed": 263, "inputs_stored": 263, "span_s": 42740.9}, "normalized_score": 62.32699619771863}