{"_id": {"$oid": "6a8456c1ef0a19c343227d81"}, "test_id": "T1590", "benchmark": "library_cards", "date": "2026-08-18", "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.7-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\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Schwarz\",\"first_name\":\"C W G Eduard\"},\"publication\":{\"title\":\"Die Iphigenien-Sage und ihre dramatischen Bearbeitungen.\",\"year\":\"1869\",\"place\":\"Leipzig\",\"pages\":\"35\",\"publisher\":null,\"format\":\"8.\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"Rostock. Diss. phil. 1869.\",\"subjects\":null}}", "model": "gemini-3.7-flash", "provider": "genai", "finish_reason": "STOP", "usage": {"input_tokens": 1546, "output_tokens": 172, "total_tokens": 1969, "input_cost_usd": 0.0011595, "output_cost_usd": 0.0006450000000000001, "estimated_cost_usd": 0.0018045000000000001}, "duration": 3.9742119312286377, "timestamp": "2026-08-18T09:12:11.196789", "parsed": {"type": {"type": "Dissertation or thesis"}, "author": {"last_name": "Schwarz", "first_name": "C W G Eduard"}, "publication": {"title": "Die Iphigenien-Sage und ihre dramatischen Bearbeitungen.", "year": "1869", "place": "Leipzig", "pages": "35", "publisher": null, "format": "8.", "editor": null}, "library_reference": {"shelfmark": "Rostock. Diss. phil. 1869.", "subjects": null}}, "conversation_id": "f90f83c5-320f-4e68-9724-a0689ab93dcf", "score": {"f1_score": 0.82, "precision": 0.7777777777777778, "recall": 0.875, "true_positives": 7, "false_positives": 2, "false_negatives": 1, "field_scores": {"publication.place": {"response": "Leipzig", "ground_truth": "Leipzig", "score": 1.0}, "publication.format": {"response": "8.", "ground_truth": "8", "score": 0.6666666666666667}, "publication.publisher": {"response": null, "ground_truth": null, "score": 1.0}, "publication.pages": {"response": "35", "ground_truth": "35", "score": 1.0}, "type.type": {"response": "Dissertation or thesis", "ground_truth": "Dissertation or thesis", "score": 1.0}, "publication.year": {"response": "1869", "ground_truth": 1869, "score": 1.0}, "publication.title": {"response": "Die Iphigenien-Sage und ihre dramatischen Bearbeitungen.", "ground_truth": "Die Iphigenien-Sage und ihre dramatischen Bearbeitungen", "score": 0.990990990990991}, "library_reference.subjects": {"response": null, "ground_truth": null, "score": 1.0}, "author.first_name": {"response": "C W G Eduard", "ground_truth": "C W G Eduard", "score": 1.0}, "library_reference.shelfmark": {"response": "Rostock. Diss. phil. 1869.", "ground_truth": null, "score": 0.0}, "author.last_name": {"response": "Schwarz", "ground_truth": "Schwarz", "score": 1.0}, "publication.editor": {"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\":\"Tue, 18 Aug 2026 07:12:11 GMT\",\"server\":\"scaffolding on HTTPServer2\",\"x-xss-protection\":\"0\",\"x-frame-options\":\"SAMEORIGIN\",\"x-content-type-options\":\"nosniff\",\"server-timing\":\"gfet4t7; dur=3958\",\"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\\\": \\\"Dissertation or thesis\\\"\\n  },\\n  \\\"author\\\": {\\n    \\\"last_name\\\": \\\"Schwarz\\\",\\n    \\\"first_name\\\": \\\"C W G Eduard\\\"\\n  },\\n  \\\"publication\\\": {\\n    \\\"title\\\": \\\"Die Iphigenien-Sage und ihre dramatischen Bearbeitungen.\\\",\\n    \\\"year\\\": \\\"1869\\\",\\n    \\\"place\\\": \\\"Leipzig\\\",\\n    \\\"pages\\\": \\\"35\\\",\\n    \\\"publisher\\\": null,\\n    \\\"format\\\": \\\"8.\\\",\\n    \\\"editor\\\": null\\n  },\\n  \\\"library_reference\\\": {\\n    \\\"shelfmark\\\": \\\"Rostock. Diss. phil. 1869.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Y_uP2i14wL6O8MhJGcwc5RpRPG2AKaQlZABsYspQJuu8hkVHU5Kv0Bj9LoT05wCe5upy7tlEhaDIHaXqaAaC_iq_q3GVAaUWv5cWJQNSBbapfAeUNYrXUQ7183Us\",\"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.7-flash\",\"prompt_feedback\":null,\"response_id\":\"xwWEavb5EYbhnsEPw8HBkQk\",\"usage_metadata\":{\"cache_tokens_details\":null,\"cached_content_token_count\":null,\"candidates_token_count\":172,\"candidates_tokens_details\":null,\"prompt_token_count\":1546,\"prompt_tokens_details\":[{\"modality\":\"IMAGE\",\"token_count\":1092},{\"modality\":\"TEXT\",\"token_count\":454}],\"thoughts_token_count\":251,\"tool_use_prompt_token_count\":null,\"tool_use_prompt_tokens_details\":null,\"total_token_count\":1969,\"traffic_type\":null},\"automatic_function_calling_history\":[],\"parsed\":{\"type\":{\"type\":\"Dissertation or thesis\"},\"author\":{\"last_name\":\"Schwarz\",\"first_name\":\"C W G Eduard\"},\"publication\":{\"title\":\"Die Iphigenien-Sage und ihre dramatischen Bearbeitungen.\",\"year\":\"1869\",\"place\":\"Leipzig\",\"pages\":\"35\",\"publisher\":null,\"format\":\"8.\",\"editor\":null},\"library_reference\":{\"shelfmark\":\"Rostock. Diss. phil. 1869.\",\"subjects\":null}}}"}, "scoring": {"f1_micro": 0.884287454323995, "f1_macro": 0.8750950570342205, "micro_precision": 0.8673835125448028, "micro_recall": 0.901863354037267, "total_instances": 263, "total_tp": 2178, "total_fp": 333, "total_fn": 237, "cost_summary": {"total_input_tokens": 406240, "total_output_tokens": 49553, "total_tokens": 455793, "input_cost_usd": 0.30467999999999956, "output_cost_usd": 0.18582374999999993, "total_cost_usd": 0.49050374999999974}}, "normalized_score": 87.50950570342205}