{"_id": {"$oid": "6acf4720ef3fcc24140a85ea"}, "test_id": "T1890", "benchmark": "library_cards", "date": "2026-10-14", "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-4-argon", "dataclass": "Document", "temperature": 0.0, "role_description": "You are a historian with keyword knowledge", "prompt_file": "prompt_year-string.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\": \"string\",\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 a string\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\":\"Reference\"},\"author\":{\"last_name\":\"Montaghemi\",\"first_name\":\"Nourhomadeh\"},\"publication\":{\"title\":\"Sonnenbichler - Montaghemi, Nourhomadeh\",\"year\":null,\"place\":null,\"pages\":null,\"publisher\":null,\"format\":null,\"editor\":null},\"library_reference\":{\"shelfmark\":null,\"subjects\":null}}", "model": "gemini-4-argon", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 2339, "output_tokens": 116, "total_tokens": 2455, "reasoning_tokens": 0, "input_cost_usd": 0.004678, "output_cost_usd": 0.00116, "reasoning_cost_usd": 0.0, "estimated_cost_usd": 0.0058379999999999994}, "duration": 5.407418251037598, "timestamp": "2026-10-14T10:36:04.977124", "parsed": {"type": {"type": "Reference"}, "author": {"last_name": "Montaghemi", "first_name": "Nourhomadeh"}, "publication": {"title": "Sonnenbichler - Montaghemi, Nourhomadeh", "year": null, "place": null, "pages": null, "publisher": null, "format": null, "editor": null}, "library_reference": {"shelfmark": null, "subjects": null}}, "conversation_id": "c02470dc-afbf-4530-beb6-4e51e4a1f62e", "score": {"f1_score": 0.29, "precision": 0.25, "recall": 0.3333333333333333, "true_positives": 1, "false_positives": 3, "false_negatives": 2, "field_scores": {"publication.editor": {"response": null, "ground_truth": null, "score": 1.0}, "publication.format": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": "Reference", "ground_truth": "Reference", "score": 1.0}, "publication.year": {"response": null, "ground_truth": null, "score": 1.0}, "author.last_name": {"response": "Montaghemi", "ground_truth": "Sonnenbichler", "score": 0.34782608695652173}, "author.first_name": {"response": "Nourhomadeh", "ground_truth": null, "score": 0.0}, "publication.title": {"response": "Sonnenbichler - Montaghemi, Nourhomadeh", "ground_truth": "Montaghemi, Nourhomadeh", "score": 0.7419354838709676}, "publication.pages": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.shelfmark": {"response": null, "ground_truth": null, "score": 1.0}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "publication.place": {"response": null, "ground_truth": null, "score": 1.0}}, "total_fields": 12}, "raw_response": "{\"sdk_http_response\":{\"headers\":{\"x-gemini-service-tier\":\"standard\",\"content-type\":\"application/json; charset=UTF-8\",\"vary\":\"Origin, X-Origin, Referer\",\"content-encoding\":\"gzip\",\"date\":\"Wed, 14 Oct 2026 08:36:05 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=5357\",\"alt-svc\":\"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\",\"transfer-encoding\":\"chunked\"},\"body\":null},\"candidates\":[{\"content\":{\"parts\":[{\"media_resolution\":null,\"code_execution_result\":null,\"executable_code\":null,\"file_data\":null,\"function_call\":null,\"function_response\":null,\"inline_data\":null,\"text\":\"{\\\"type\\\": {\\\"type\\\": \\\"Reference\\\"}, \\\"author\\\": {\\\"last_name\\\": \\\"Montaghemi\\\", \\\"first_name\\\": \\\"Nourhomadeh\\\"}, \\\"publication\\\": {\\\"title\\\": \\\"Sonnenbichler - Montaghemi, Nourhomadeh\\\", \\\"year\\\": null, \\\"place\\\": null, \\\"pages\\\": null, \\\"publisher\\\": null, \\\"format\\\": null, \\\"editor\\\": null}, \\\"library_reference\\\": {\\\"shelfmark\\\": null, \\\"subjects\\\": null}}\",\"thought\":null,\"thought_signature\":\"ElkKVwFpFH0T_vECko4GrYKX0gEYv-sS4JsAEbAFdLio5AJvaijOTZKPpmoCsPz4l3oJPrWL_TDSokk-bk8NW121NQSbP164CIakUlnb3lyOWyU6tJr7dR1rcA==\",\"video_metadata\":null}],\"role\":\"model\"},\"citation_metadata\":null,\"finish_message\":null,\"token_count\":null,\"finish_reason\":\"STOP\",\"grounding_metadata\":null,\"avg_logprobs\":null,\"index\":0,\"logprobs_result\":null,\"safety_ratings\":null,\"url_context_metadata\":null}],\"create_time\":null,\"model_version\":\"gemini-4-argon\",\"prompt_feedback\":null,\"response_id\":\"7z7PauT2McGTvdIPprfloAg\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":116,\"candidates_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":116}],\"prompt_token_count\":2339,\"prompt_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":1264},{\"modality\":\"IMAGE\",\"token_count\":1075}],\"thoughts_token_count\":null,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":2455,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"type\":{\"type\":\"Reference\"},\"author\":{\"last_name\":\"Montaghemi\",\"first_name\":\"Nourhomadeh\"},\"publication\":{\"title\":\"Sonnenbichler - Montaghemi, Nourhomadeh\",\"year\":null,\"place\":null,\"pages\":null,\"publisher\":null,\"format\":null,\"editor\":null},\"library_reference\":{\"shelfmark\":null,\"subjects\":null}}}"}, "scoring": {"f1_micro": 0.8749744219357478, "f1_macro": 0.8664638783269962, "micro_precision": 0.8648867313915858, "micro_recall": 0.8853002070393374, "total_instances": 263, "total_tp": 2138, "total_fp": 334, "total_fn": 277, "cost_summary": {"total_input_tokens": 619270, "total_output_tokens": 41089, "total_tokens": 660359, "input_cost_usd": 1.2385400000000064, "output_cost_usd": 0.4108899999999999, "total_cost_usd": 1.6821900000000016, "total_reasoning_tokens": 3276, "reasoning_cost_usd": 0.03276}}, "pricing": {"bucket_date": "2026-10-14", "age_days": 0, "input_price_per_million": 2.0, "output_price_per_million": 10.0}, "timing": {"total_response_s": 2310.5, "mean_response_s": 8.79, "slowest_response_s": 118.59, "inputs_timed": 263, "inputs_stored": 263, "span_s": 247.04}, "normalized_score": 86.64638783269962}