{"_id": {"$oid": "6aa7a68ebf5ce6c3c2c5754a"}, "test_id": "T1650", "benchmark": "library_cards", "date": "2026-09-03", "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-3.8-flash", "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\":\"Reference\"},\"author\":{\"last_name\":\"Montaghemi\",\"first_name\":\"Nourhomadeh\"},\"publication\":{\"title\":\"Sonnenbichler - Montaghemi, Nourhomadeh\",\"year\":\"\",\"place\":\"\",\"pages\":\"\",\"publisher\":\"\",\"format\":null,\"editor\":null},\"library_reference\":{\"shelfmark\":\"\",\"subjects\":\"\"}}", "model": "gemini-3.8-flash", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 1529, "output_tokens": 144, "total_tokens": 2561, "input_cost_usd": 0.00114675, "output_cost_usd": 0.00054, "estimated_cost_usd": 0.0016867499999999999}, "duration": 4.397069931030273, "timestamp": "2026-09-03T13:25:46.422634", "parsed": {"type": {"type": "Reference"}, "author": {"last_name": "Montaghemi", "first_name": "Nourhomadeh"}, "publication": {"title": "Sonnenbichler - Montaghemi, Nourhomadeh", "year": "", "place": "", "pages": "", "publisher": "", "format": null, "editor": null}, "library_reference": {"shelfmark": "", "subjects": ""}}, "conversation_id": "0064856f-86dc-4b37-9a1d-969386a74d65", "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}, "publication.year": {"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}, "publication.title": {"response": "Sonnenbichler - Montaghemi, Nourhomadeh", "ground_truth": "Montaghemi, Nourhomadeh", "score": 0.7419354838709676}, "author.first_name": {"response": "Nourhomadeh", "ground_truth": null, "score": 0.0}, "publication.pages": {"response": null, "ground_truth": null, "score": 1.0}, "library_reference.shelfmark": {"response": null, "ground_truth": null, "score": 1.0}, "type.type": {"response": "Reference", "ground_truth": "Reference", "score": 1.0}, "author.last_name": {"response": "Montaghemi", "ground_truth": "Sonnenbichler", "score": 0.34782608695652173}, "library_reference.subjects": {"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\":\"Thu, 03 Sep 2026 11:25:46 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=4323\",\"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\":\"{\\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\\\": null,\\n    \\\"editor\\\": null\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"\\\",\\n    \\\"subjects\\\": \\\"\\\"\\n  }\\n}\",\"thought\":null,\"thought_signature\":\"EpMWCpAWARFNMg9UjeGWu0nSlFQTtB0r6Q7Z6V6DbmAZS2keM8kjWIcAeAQ2WhUVm2l0ZnEQSMi4pnNCLbs2tF_-OOaXmQpQggM1bQQpJUDCZmOpc1NKv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3CJmWDB22uxP6aUHTYLAmcUoN8-qwSHJRuyAJdNbyU_5hudiYyMWyMYD5GYqeMpOSQJNcrCtcW13mUsat1nRIXrAtLpD8Xx4R9vQS4UF1A_sWZZGXenvEe4GSAaNIcEUguCn5ZO_CEFX93tywOaanJ6lHKfNos83tM-51cdl4wPx61Asz1yPoMk56RapwEb03ExBEaqd6Bf0G7m8AOinFLM1m9WsXO0fBi3-iJaHiFEPBxRyOLnk-rqZpUDi6cxAhcqLBEoA9fdPj4H7IFGHGk4jEMeLmh8eHgpibi7LsKlIgnSnAWOOrLAXocRgHpNM1CUrzCt1aCc1d-C-sE1Nmi7mNIHXa6ofOOcJPezhdgZa7LcXHPkj4BEpeBHqhUMWWXC5I6j2MH7BV1tCsE_RZ7plVNTj_-lkRdhtDl7szf7tQh\",\"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-3.8-flash\",\"prompt_feedback\":null,\"response_id\":\"NlmZau34EZe_vdIPr7Pd0Ac\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":144,\"candidates_tokens_details\":null,\"prompt_token_count\":1529,\"prompt_tokens_details\":[{\"modality\":\"IMAGE\",\"token_count\":1075},{\"modality\":\"TEXT\",\"token_count\":454}],\"thoughts_token_count\":888,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":2561,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"type\":{\"type\":\"Reference\"},\"author\":{\"last_name\":\"Montaghemi\",\"first_name\":\"Nourhomadeh\"},\"publication\":{\"title\":\"Sonnenbichler - Montaghemi, Nourhomadeh\",\"year\":\"\",\"place\":\"\",\"pages\":\"\",\"publisher\":\"\",\"format\":null,\"editor\":null},\"library_reference\":{\"shelfmark\":\"\",\"subjects\":\"\"}}}"}, "scoring": {"f1_micro": 0.9046454767726161, "f1_macro": 0.8963498098859316, "micro_precision": 0.8904933814681107, "micro_recall": 0.9192546583850931, "total_instances": 263, "total_tp": 2220, "total_fp": 273, "total_fn": 195, "cost_summary": {"total_input_tokens": 406240, "total_output_tokens": 48790, "total_tokens": 455030, "input_cost_usd": 0.30467999999999956, "output_cost_usd": 0.1829625, "total_cost_usd": 0.48764249999999953}}, "pricing": {"bucket_date": "2026-09-02", "age_days": 1, "input_price_per_million": 0.75, "output_price_per_million": 3.75}, "timing": {"total_response_s": 1726.47, "mean_response_s": 6.56, "slowest_response_s": 113.52, "inputs_timed": 263, "inputs_stored": 263, "span_s": 206.0}, "normalized_score": 89.63498098859316}