{"_id": {"$oid": "69d4eb12b877594bc5718a2c"}, "test_id": "T0363", "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", "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", "duration": 5.275095462799072, "timestamp": "2025-10-28T14:19:06.049353", "parsed": {"page_id": "32", "entries": [{"entry_id": "32-1", "company_name": "The Commissioner for Commerce for the Union of South Africa.", "location": "Milan."}, {"entry_id": "32-2", "company_name": "The Canadian Government Trade Commissioner.", "location": "Rotterdam."}, {"entry_id": "32-3", "company_name": "The Basle Warehouse Company Ltd.", "location": "Basle."}, {"entry_id": "32-4", "company_name": "Canadian Pacific Express Company.", "location": "London S. W. 1."}, {"entry_id": "32-5", "company_name": "Crowe & Co., Ltd.", "location": "Basle."}, {"entry_id": "32-6", "company_name": "Danzas & Co.", "location": "Basle."}, {"entry_id": "32-7", "company_name": "Goth & Co.", "location": "Basle."}, {"entry_id": "32-8", "company_name": "Charles Im Obersteg & Co.", "location": "Basle, Switzerland"}, {"entry_id": "32-9", "company_name": "Imperial Airways, Ltd.", "location": "Basle, Switzerland"}, {"entry_id": "32-10", "company_name": "Jacky, Maeder & Co.", "location": "Basle."}, {"entry_id": "32-11", "company_name": "Lavanchy & Co., Successeurs de Perrin & Co.", "location": "Lausanne."}, {"entry_id": "32-12", "company_name": "Schweiz. Schleppschiffahrtsgenossenschaft.", "location": "Basle."}, {"entry_id": "32-13", "company_name": "G. van Spyk.", "location": "Basle."}, {"entry_id": "32-14", "company_name": "Weltifurrer Internationale Transporte, A. G.", "location": "Zurich."}, {"entry_id": "32-15", "company_name": "Soci\u00e9t\u00e9 Anonyme des Aci\u00e9ries ci-devant Georges Fischer.", "location": "Schaffhausen."}, {"entry_id": "32-16", "company_name": "D. Barnett, Agence Anglo-Suisse.", "location": "Geneva."}, {"entry_id": "32-17", "company_name": "A.-G. Brown, Boveri & Co.", "location": "Aargau."}, {"entry_id": "32-18", "company_name": "Escher, Wyss & Co.", "location": "Zurich."}, {"entry_id": "32-19", "company_name": "A. & S. Henry & Co., Ltd.", "location": "Bradford."}, {"entry_id": "32-20", "company_name": "Dunlop Pneumatic Co.", "location": "Basle."}, {"entry_id": "32-21", "company_name": "The North British Rubber Company (Continental) Ltd.", "location": "Zurich."}, {"entry_id": "32-22", "company_name": "Buser & Keiser & Co., Ltd. (knitted and woven, ladies', children's and men's).", "location": "Laufenburg."}, {"entry_id": "32-23", "company_name": "Hanro Knitting Works, Handschin & Ronus, Ltd. (Swiss ribbed underwear for ladies and children).", "location": "Liestal."}]}, "text": "{\n  \"page_id\": \"32\",\n  \"entries\": [\n    {\n      \"entry_id\": \"32-1\",\n      \"company_name\": \"The Commissioner for Commerce for the Union of South Africa.\",\n      \"location\": \"Milan.\"\n    },\n    {\n      \"entry_id\": \"32-2\",\n      \"company_name\": \"The Canadian Government Trade Commissioner.\",\n      \"location\": \"Rotterdam.\"\n    },\n    {\n      \"entry_id\": \"32-3\",\n      \"company_name\": \"The Basle Warehouse Company Ltd.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-4\",\n      \"company_name\": \"Canadian Pacific Express Company.\",\n      \"location\": \"London S. W. 1.\"\n    },\n    {\n      \"entry_id\": \"32-5\",\n      \"company_name\": \"Crowe & Co., Ltd.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-6\",\n      \"company_name\": \"Danzas & Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-7\",\n      \"company_name\": \"Goth & Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-8\",\n      \"company_name\": \"Charles Im Obersteg & Co.\",\n      \"location\": \"Basle, Switzerland\"\n    },\n    {\n      \"entry_id\": \"32-9\",\n      \"company_name\": \"Imperial Airways, Ltd.\",\n      \"location\": \"Basle, Switzerland\"\n    },\n    {\n      \"entry_id\": \"32-10\",\n      \"company_name\": \"Jacky, Maeder & Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-11\",\n      \"company_name\": \"Lavanchy & Co., Successeurs de Perrin & Co.\",\n      \"location\": \"Lausanne.\"\n    },\n    {\n      \"entry_id\": \"32-12\",\n      \"company_name\": \"Schweiz. Schleppschiffahrtsgenossenschaft.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-13\",\n      \"company_name\": \"G. van Spyk.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-14\",\n      \"company_name\": \"Weltifurrer Internationale Transporte, A. G.\",\n      \"location\": \"Zurich.\"\n    },\n    {\n      \"entry_id\": \"32-15\",\n      \"company_name\": \"Soci\u00e9t\u00e9 Anonyme des Aci\u00e9ries ci-devant Georges Fischer.\",\n      \"location\": \"Schaffhausen.\"\n    },\n    {\n      \"entry_id\": \"32-16\",\n      \"company_name\": \"D. Barnett, Agence Anglo-Suisse.\",\n      \"location\": \"Geneva.\"\n    },\n    {\n      \"entry_id\": \"32-17\",\n      \"company_name\": \"A.-G. Brown, Boveri & Co.\",\n      \"location\": \"Aargau.\"\n    },\n    {\n      \"entry_id\": \"32-18\",\n      \"company_name\": \"Escher, Wyss & Co.\",\n      \"location\": \"Zurich.\"\n    },\n    {\n      \"entry_id\": \"32-19\",\n      \"company_name\": \"A. & S. Henry & Co., Ltd.\",\n      \"location\": \"Bradford.\"\n    },\n    {\n      \"entry_id\": \"32-20\",\n      \"company_name\": \"Dunlop Pneumatic Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-21\",\n      \"company_name\": \"The North British Rubber Company (Continental) Ltd.\",\n      \"location\": \"Zurich.\"\n    },\n    {\n      \"entry_id\": \"32-22\",\n      \"company_name\": \"Buser & Keiser & Co., Ltd. (knitted and woven, ladies', children's and men's).\",\n      \"location\": \"Laufenburg.\"\n    },\n    {\n      \"entry_id\": \"32-23\",\n      \"company_name\": \"Hanro Knitting Works, Handschin & Ronus, Ltd. (Swiss ribbed underwear for ladies and children).\",\n      \"location\": \"Liestal.\"\n    }\n  ]\n}", "raw_response": {"text": "{\n  \"page_id\": \"32\",\n  \"entries\": [\n    {\n      \"entry_id\": \"32-1\",\n      \"company_name\": \"The Commissioner for Commerce for the Union of South Africa.\",\n      \"location\": \"Milan.\"\n    },\n    {\n      \"entry_id\": \"32-2\",\n      \"company_name\": \"The Canadian Government Trade Commissioner.\",\n      \"location\": \"Rotterdam.\"\n    },\n    {\n      \"entry_id\": \"32-3\",\n      \"company_name\": \"The Basle Warehouse Company Ltd.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-4\",\n      \"company_name\": \"Canadian Pacific Express Company.\",\n      \"location\": \"London S. W. 1.\"\n    },\n    {\n      \"entry_id\": \"32-5\",\n      \"company_name\": \"Crowe & Co., Ltd.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-6\",\n      \"company_name\": \"Danzas & Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-7\",\n      \"company_name\": \"Goth & Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-8\",\n      \"company_name\": \"Charles Im Obersteg & Co.\",\n      \"location\": \"Basle, Switzerland\"\n    },\n    {\n      \"entry_id\": \"32-9\",\n      \"company_name\": \"Imperial Airways, Ltd.\",\n      \"location\": \"Basle, Switzerland\"\n    },\n    {\n      \"entry_id\": \"32-10\",\n      \"company_name\": \"Jacky, Maeder & Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-11\",\n      \"company_name\": \"Lavanchy & Co., Successeurs de Perrin & Co.\",\n      \"location\": \"Lausanne.\"\n    },\n    {\n      \"entry_id\": \"32-12\",\n      \"company_name\": \"Schweiz. Schleppschiffahrtsgenossenschaft.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-13\",\n      \"company_name\": \"G. van Spyk.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-14\",\n      \"company_name\": \"Weltifurrer Internationale Transporte, A. G.\",\n      \"location\": \"Zurich.\"\n    },\n    {\n      \"entry_id\": \"32-15\",\n      \"company_name\": \"Soci\u00e9t\u00e9 Anonyme des Aci\u00e9ries ci-devant Georges Fischer.\",\n      \"location\": \"Schaffhausen.\"\n    },\n    {\n      \"entry_id\": \"32-16\",\n      \"company_name\": \"D. Barnett, Agence Anglo-Suisse.\",\n      \"location\": \"Geneva.\"\n    },\n    {\n      \"entry_id\": \"32-17\",\n      \"company_name\": \"A.-G. Brown, Boveri & Co.\",\n      \"location\": \"Aargau.\"\n    },\n    {\n      \"entry_id\": \"32-18\",\n      \"company_name\": \"Escher, Wyss & Co.\",\n      \"location\": \"Zurich.\"\n    },\n    {\n      \"entry_id\": \"32-19\",\n      \"company_name\": \"A. & S. Henry & Co., Ltd.\",\n      \"location\": \"Bradford.\"\n    },\n    {\n      \"entry_id\": \"32-20\",\n      \"company_name\": \"Dunlop Pneumatic Co.\",\n      \"location\": \"Basle.\"\n    },\n    {\n      \"entry_id\": \"32-21\",\n      \"company_name\": \"The North British Rubber Company (Continental) Ltd.\",\n      \"location\": \"Zurich.\"\n    },\n    {\n      \"entry_id\": \"32-22\",\n      \"company_name\": \"Buser & Keiser & Co., Ltd. (knitted and woven, ladies', children's and men's).\",\n      \"location\": \"Laufenburg.\"\n    },\n    {\n      \"entry_id\": \"32-23\",\n      \"company_name\": \"Hanro Knitting Works, Handschin & Ronus, Ltd. (Swiss ribbed underwear for ladies and children).\",\n      \"location\": \"Liestal.\"\n    }\n  ]\n}", "usage_metadata": {"prompt_token_count": 652, "candidates_token_count": 1113, "total_token_count": 1765}}, "usage": {"input_tokens": 652, "output_tokens": 1113, "total_tokens": 1765}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.2824506749740394, "f1_macro": 0.2873333333333334, "micro_precision": 0.291220556745182, "micro_recall": 0.27419354838709675, "total_instances": 15, "total_tp": 272, "total_fp": 662, "total_fn": 720, "cost_summary": {"total_input_tokens": 9780, "total_output_tokens": 83164, "total_tokens": 92944, "input_cost_usd": 0.000978, "output_cost_usd": 0.033266, "total_cost_usd": 0.034244, "pricing_date": "2025-10-28", "input_price_per_million": 0.1, "output_price_per_million": 0.4}}, "normalized_score": 28.733333333333338}