{"_id": {"$oid": "69d4eb12b877594bc5718a32"}, "test_id": "T0365", "benchmark": "company_lists", "date": "2025-10-28", "tags": {"document-type": ["book-page"], "writing": ["printed"], "century": [20], "language": ["en", "de"], "layout": ["list"], "entry-type": ["company"], "task": ["information-extraction"]}, "contributors": ["lea_kasper", "sorin_marti"], "hidden": false, "config": {"provider": "genai", "model": "gemini-2.5-flash-lite-preview-09-2025", "dataclass": "ListPage", "temperature": 0.5, "role_description": "You are a Historian", "prompt_file": "prompt.txt", "legacy_test": false}, "prompt": "The image you are presented with stems from a digitized book containing lists of companies.\nYour task is to extract structured information about each company listed on the page.\n\nAbout the source:\n- The image stems from a trade index of the British Swiss Chamber of Commerce.\n- The image can show an alphabetical or a thematic list of companies.\n- The companies are mostly located in Switzerland and the UK.\n- The image stems from a trade index between 1925 and 1958.\n- Most pages have one column but some years have two columns.\n- The source itself is in English and German but the company names can be in English, German, French or Italian.\n\nAbout the entries:\n- Each entry describes a single company or person.\n- Alphabetical entries have filling dots between the company name and the page number. Dots and page numbers are not part of the data and should be ignored.\n- Alphabetical entries seldom to never have locations.\n- Thematic entries often have locations.\n- Thematic entries are listed under headings that describe the type of business.\n- Some thematic headings are only references to other headings, e.g. \"X, s. Y\".\n\nAbout the output:\n- Answer in valid JSON. The JSON should be an array of objects with the following fields:\n- The page ID is given as {page_id}.\n- Do not add country information, if it is not directly written with the location.\n\n{\n  \"entry_id\": \"A unique identifier for the entry, e.g. '{page_id}-1'\",\n  \"company_name\": \"The name of the company or person\",\n  \"location\": \"The location of the company, e.g. 'Zurich' or 'London, UK'. If no location is given, set to null.\"\n  ]\n}\n", "results": {"provider": "genai", "model": "gemini-2.5-flash-lite-preview-09-2025", "duration": 2.1960554122924805, "timestamp": "2025-10-28T14:23:49.432563", "parsed": {"page_id": "25", "entries": [{"entry_id": "25-1", "company_name": "International Trading Co. (import and export)", "location": "151/7, Fitzwilliam Street, Sheffield"}, {"entry_id": "25-2", "company_name": "Albert Isliker & Co.", "location": "35a, L\u00f6wenstrasse, Zurich"}, {"entry_id": "25-3", "company_name": "V. & W. Kaiser (exporters)", "location": "Muttenz"}, {"entry_id": "25-4", "company_name": "Matiera Ltd. (importers of fine and heavy)", "location": "37, Leonhardstrasse, Basle"}, {"entry_id": "25-5", "company_name": "A. Mathys (for industrial purposes)", "location": "Zurich F. 1. Postbox Sihlpost"}, {"entry_id": "25-6", "company_name": "Medo-Chemicals Ltd.", "location": "178, Pentonville Road, London N.1"}, {"entry_id": "25-7", "company_name": "Metallum Pratteln Ltd. (importers)", "location": "Pratteln, Basle"}, {"entry_id": "25-8", "company_name": "Walter Moesch & Co.", "location": "135, Drusbergstrasse, Zurich 7"}, {"entry_id": "25-9", "company_name": "Novavita Ltd. (for industrial purposes)", "location": "Parkring 53, Zurich 2"}, {"entry_id": "25-10", "company_name": "Pl\u00fcss-Staufer Ltd.", "location": "Oftringen"}, {"entry_id": "25-11", "company_name": "Prifa Ltd.", "location": "16, Goethestrasse, Zurich"}, {"entry_id": "25-12", "company_name": "Hans Rahn & Co.", "location": "30, Talacker, Zurich"}, {"entry_id": "25-13", "company_name": "Alex Ross & Co., Lancaster House", "location": "80, Princess Street, Manchester 1"}, {"entry_id": "25-14", "company_name": "Rubber Raw Materials Ltd. (for the rubber trade)", "location": "17, M\u00fcnsterhof, Zurich"}, {"entry_id": "25-15", "company_name": "Emile Scheller & Co. Ltd. (importers of all kinds)", "location": "Hottingerstrasse 21, Zurich"}, {"entry_id": "25-16", "company_name": "A. Schubarth & Co.", "location": "85, Elisabethenstrasse, Basle"}, {"entry_id": "25-17", "company_name": "Schweizerhall Ltd. (importers of fine and heavy chemicals)", "location": "229, Els\u00e4sserstrasse, Basle"}, {"entry_id": "25-18", "company_name": "Steven Brothers (Londmil) Ltd.", "location": "21, Liverpool Street, London E. C. 2"}]}, "text": "{\n  \"page_id\": \"25\",\n  \"entries\": [\n    {\n      \"entry_id\": \"25-1\",\n      \"company_name\": \"International Trading Co. (import and export)\",\n      \"location\": \"151/7, Fitzwilliam Street, Sheffield\"\n    },\n    {\n      \"entry_id\": \"25-2\",\n      \"company_name\": \"Albert Isliker & Co.\",\n      \"location\": \"35a, L\u00f6wenstrasse, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-3\",\n      \"company_name\": \"V. & W. Kaiser (exporters)\",\n      \"location\": \"Muttenz\"\n    },\n    {\n      \"entry_id\": \"25-4\",\n      \"company_name\": \"Matiera Ltd. (importers of fine and heavy)\",\n      \"location\": \"37, Leonhardstrasse, Basle\"\n    },\n    {\n      \"entry_id\": \"25-5\",\n      \"company_name\": \"A. Mathys (for industrial purposes)\",\n      \"location\": \"Zurich F. 1. Postbox Sihlpost\"\n    },\n    {\n      \"entry_id\": \"25-6\",\n      \"company_name\": \"Medo-Chemicals Ltd.\",\n      \"location\": \"178, Pentonville Road, London N.1\"\n    },\n    {\n      \"entry_id\": \"25-7\",\n      \"company_name\": \"Metallum Pratteln Ltd. (importers)\",\n      \"location\": \"Pratteln, Basle\"\n    },\n    {\n      \"entry_id\": \"25-8\",\n      \"company_name\": \"Walter Moesch & Co.\",\n      \"location\": \"135, Drusbergstrasse, Zurich 7\"\n    },\n    {\n      \"entry_id\": \"25-9\",\n      \"company_name\": \"Novavita Ltd. (for industrial purposes)\",\n      \"location\": \"Parkring 53, Zurich 2\"\n    },\n    {\n      \"entry_id\": \"25-10\",\n      \"company_name\": \"Pl\u00fcss-Staufer Ltd.\",\n      \"location\": \"Oftringen\"\n    },\n    {\n      \"entry_id\": \"25-11\",\n      \"company_name\": \"Prifa Ltd.\",\n      \"location\": \"16, Goethestrasse, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-12\",\n      \"company_name\": \"Hans Rahn & Co.\",\n      \"location\": \"30, Talacker, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-13\",\n      \"company_name\": \"Alex Ross & Co., Lancaster House\",\n      \"location\": \"80, Princess Street, Manchester 1\"\n    },\n    {\n      \"entry_id\": \"25-14\",\n      \"company_name\": \"Rubber Raw Materials Ltd. (for the rubber trade)\",\n      \"location\": \"17, M\u00fcnsterhof, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-15\",\n      \"company_name\": \"Emile Scheller & Co. Ltd. (importers of all kinds)\",\n      \"location\": \"Hottingerstrasse 21, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-16\",\n      \"company_name\": \"A. Schubarth & Co.\",\n      \"location\": \"85, Elisabethenstrasse, Basle\"\n    },\n    {\n      \"entry_id\": \"25-17\",\n      \"company_name\": \"Schweizerhall Ltd. (importers of fine and heavy chemicals)\",\n      \"location\": \"229, Els\u00e4sserstrasse, Basle\"\n    },\n    {\n      \"entry_id\": \"25-18\",\n      \"company_name\": \"Steven Brothers (Londmil) Ltd.\",\n      \"location\": \"21, Liverpool Street, London E. C. 2\"\n    }\n  ]\n}", "raw_response": {"text": "{\n  \"page_id\": \"25\",\n  \"entries\": [\n    {\n      \"entry_id\": \"25-1\",\n      \"company_name\": \"International Trading Co. (import and export)\",\n      \"location\": \"151/7, Fitzwilliam Street, Sheffield\"\n    },\n    {\n      \"entry_id\": \"25-2\",\n      \"company_name\": \"Albert Isliker & Co.\",\n      \"location\": \"35a, L\u00f6wenstrasse, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-3\",\n      \"company_name\": \"V. & W. Kaiser (exporters)\",\n      \"location\": \"Muttenz\"\n    },\n    {\n      \"entry_id\": \"25-4\",\n      \"company_name\": \"Matiera Ltd. (importers of fine and heavy)\",\n      \"location\": \"37, Leonhardstrasse, Basle\"\n    },\n    {\n      \"entry_id\": \"25-5\",\n      \"company_name\": \"A. Mathys (for industrial purposes)\",\n      \"location\": \"Zurich F. 1. Postbox Sihlpost\"\n    },\n    {\n      \"entry_id\": \"25-6\",\n      \"company_name\": \"Medo-Chemicals Ltd.\",\n      \"location\": \"178, Pentonville Road, London N.1\"\n    },\n    {\n      \"entry_id\": \"25-7\",\n      \"company_name\": \"Metallum Pratteln Ltd. (importers)\",\n      \"location\": \"Pratteln, Basle\"\n    },\n    {\n      \"entry_id\": \"25-8\",\n      \"company_name\": \"Walter Moesch & Co.\",\n      \"location\": \"135, Drusbergstrasse, Zurich 7\"\n    },\n    {\n      \"entry_id\": \"25-9\",\n      \"company_name\": \"Novavita Ltd. (for industrial purposes)\",\n      \"location\": \"Parkring 53, Zurich 2\"\n    },\n    {\n      \"entry_id\": \"25-10\",\n      \"company_name\": \"Pl\u00fcss-Staufer Ltd.\",\n      \"location\": \"Oftringen\"\n    },\n    {\n      \"entry_id\": \"25-11\",\n      \"company_name\": \"Prifa Ltd.\",\n      \"location\": \"16, Goethestrasse, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-12\",\n      \"company_name\": \"Hans Rahn & Co.\",\n      \"location\": \"30, Talacker, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-13\",\n      \"company_name\": \"Alex Ross & Co., Lancaster House\",\n      \"location\": \"80, Princess Street, Manchester 1\"\n    },\n    {\n      \"entry_id\": \"25-14\",\n      \"company_name\": \"Rubber Raw Materials Ltd. (for the rubber trade)\",\n      \"location\": \"17, M\u00fcnsterhof, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-15\",\n      \"company_name\": \"Emile Scheller & Co. Ltd. (importers of all kinds)\",\n      \"location\": \"Hottingerstrasse 21, Zurich\"\n    },\n    {\n      \"entry_id\": \"25-16\",\n      \"company_name\": \"A. Schubarth & Co.\",\n      \"location\": \"85, Elisabethenstrasse, Basle\"\n    },\n    {\n      \"entry_id\": \"25-17\",\n      \"company_name\": \"Schweizerhall Ltd. (importers of fine and heavy chemicals)\",\n      \"location\": \"229, Els\u00e4sserstrasse, Basle\"\n    },\n    {\n      \"entry_id\": \"25-18\",\n      \"company_name\": \"Steven Brothers (Londmil) Ltd.\",\n      \"location\": \"21, Liverpool Street, London E. C. 2\"\n    }\n  ]\n}", "usage_metadata": {"prompt_token_count": 652, "candidates_token_count": 965, "total_token_count": 1617}}, "usage": {"input_tokens": 652, "output_tokens": 965, "total_tokens": 1617}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.3367139959432049, "f1_macro": 0.31666666666666665, "micro_precision": 0.33877551020408164, "micro_recall": 0.3346774193548387, "total_instances": 15, "total_tp": 332, "total_fp": 648, "total_fn": 660, "cost_summary": {"total_input_tokens": 9780, "total_output_tokens": 20319, "total_tokens": 30099, "input_cost_usd": 0.000978, "output_cost_usd": 0.008128, "total_cost_usd": 0.009106, "pricing_date": "2025-10-28", "input_price_per_million": 0.1, "output_price_per_million": 0.4}}, "normalized_score": 31.666666666666664}