{"_id": {"$oid": "69d4eb12b877594bc5718a0e"}, "test_id": "T0345", "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": "openai", "model": "gpt-4.1-nano", "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": "openai", "model": "gpt-4.1-nano", "duration": 8.286002397537231, "timestamp": "2025-10-28T14:56:35.557131", "parsed": {"page_id": "28", "entries": [{"entry_id": "28-1", "company_name": "Hermann Thorens", "location": "Ste. Croix"}, {"entry_id": "28-2", "company_name": "Simex Soc. Coop.", "location": "3, Place St. Fran\u00e7ois, Lausanne"}, {"entry_id": "28-3", "company_name": "Fabrique d'Automobiles Berna S. A.", "location": "Olten"}, {"entry_id": "28-4", "company_name": "Emil Birkh\u00e4user & Co.", "location": "11, Elisabethenstrasse, Basel"}, {"entry_id": "28-5", "company_name": "Imprimerie de l'Ere Nouvelle", "location": "12, Rue de la Louve, Lausanne"}, {"entry_id": "28-6", "company_name": "Kreis & Co.", "location": "21, Petersgraben, Basel"}, {"entry_id": "28-7", "company_name": "S\u00e4uberlin & Pfeiffer S. A.", "location": "Vevey"}, {"entry_id": "28-8", "company_name": "Fr. Schenkel-Wyss", "location": "60, Huttenstrasse, Zurich"}, {"entry_id": "28-9", "company_name": "Lovell & Christmas Ltd.", "location": "West Smithfield, London"}, {"entry_id": "28-10", "company_name": "E. Osswald (Wholesale)", "location": "16, Kreuzplatz, Zurich"}, {"entry_id": "28-11", "company_name": "Winandy & Co.", "location": "16, Rue de Bourg, Lausanne"}, {"entry_id": "28-12", "company_name": "Pro Lemano", "location": "Grand Ch\u00eane, Lausanne"}, {"entry_id": "28-13", "company_name": "Th. Roussy, Librairie Anglaise", "location": "3, Rue de Bourg, Lausanne"}, {"entry_id": "28-14", "company_name": "Schindler & Co.", "location": "Lucerne"}, {"entry_id": "28-15", "company_name": "Sulzer Fr\u00e8res S. A.", "location": "Winterthur"}, {"entry_id": "28-16", "company_name": "Sulzer Fr\u00e8res S. A.", "location": "Winterthur"}, {"entry_id": "28-17", "company_name": "Basle Warehouse Co. Ltd.", "location": "1, Erlenstrasse, Basel"}, {"entry_id": "28-18", "company_name": "Canadian Pacific Railway Co.", "location": "62-65, Charing Cross, London S. W. 1"}, {"entry_id": "28-19", "company_name": "Crowe & Co., Ltd.", "location": "67, Nauenstrasse, Basel"}, {"entry_id": "28-20", "company_name": "Danzas & Co., A. G.", "location": "Basel"}, {"entry_id": "28-21", "company_name": "Dominion Express Company of Canada", "location": "62-65, Charing Cross, London S. W. 1"}, {"entry_id": "28-22", "company_name": "Galland & Co.", "location": "3, Place St. Fran\u00e7ois, Lausanne"}, {"entry_id": "28-23", "company_name": "Goth & Co.", "location": "General Agents of the Canadian Pacific Railway Co. and of the Dominion Express Co. of Canada, 45, Elisabethenstrasse, Basel"}, {"entry_id": "28-24", "company_name": "Charles ImObersteg & Co.", "location": "30, Aeschengrabener, Basel"}]}, "text": "", "raw_response": {"id": "chatcmpl-CVeTUITIE4GbMKfNXc1kQekdaNpC1", "model": "gpt-4.1-nano-2025-04-14", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\"page_id\":\"28\",\"entries\":[{\"entry_id\":\"28-1\",\"company_name\":\"Hermann Thorens\",\"location\":\"Ste. Croix\"},{\"entry_id\":\"28-2\",\"company_name\":\"Simex Soc. Coop.\",\"location\":\"3, Place St. Fran\u00e7ois, Lausanne\"},{\"entry_id\":\"28-3\",\"company_name\":\"Fabrique d'Automobiles Berna S. A.\",\"location\":\"Olten\"},{\"entry_id\":\"28-4\",\"company_name\":\"Emil Birkh\u00e4user & Co.\",\"location\":\"11, Elisabethenstrasse, Basel\"},{\"entry_id\":\"28-5\",\"company_name\":\"Imprimerie de l'Ere Nouvelle\",\"location\":\"12, Rue de la Louve, Lausanne\"},{\"entry_id\":\"28-6\",\"company_name\":\"Kreis & Co.\",\"location\":\"21, Petersgraben, Basel\"},{\"entry_id\":\"28-7\",\"company_name\":\"S\u00e4uberlin & Pfeiffer S. A.\",\"location\":\"Vevey\"},{\"entry_id\":\"28-8\",\"company_name\":\"Fr. Schenkel-Wyss\",\"location\":\"60, Huttenstrasse, Zurich\"},{\"entry_id\":\"28-9\",\"company_name\":\"Lovell & Christmas Ltd.\",\"location\":\"West Smithfield, London\"},{\"entry_id\":\"28-10\",\"company_name\":\"E. Osswald (Wholesale)\",\"location\":\"16, Kreuzplatz, Zurich\"},{\"entry_id\":\"28-11\",\"company_name\":\"Winandy & Co.\",\"location\":\"16, Rue de Bourg, Lausanne\"},{\"entry_id\":\"28-12\",\"company_name\":\"Pro Lemano\",\"location\":\"Grand Ch\u00eane, Lausanne\"},{\"entry_id\":\"28-13\",\"company_name\":\"Th. Roussy, Librairie Anglaise\",\"location\":\"3, Rue de Bourg, Lausanne\"},{\"entry_id\":\"28-14\",\"company_name\":\"Schindler & Co.\",\"location\":\"Lucerne\"},{\"entry_id\":\"28-15\",\"company_name\":\"Sulzer Fr\u00e8res S. A.\",\"location\":\"Winterthur\"},{\"entry_id\":\"28-16\",\"company_name\":\"Sulzer Fr\u00e8res S. A.\",\"location\":\"Winterthur\"},{\"entry_id\":\"28-17\",\"company_name\":\"Basle Warehouse Co. Ltd.\",\"location\":\"1, Erlenstrasse, Basel\"},{\"entry_id\":\"28-18\",\"company_name\":\"Canadian Pacific Railway Co.\",\"location\":\"62-65, Charing Cross, London S. W. 1\"},{\"entry_id\":\"28-19\",\"company_name\":\"Crowe & Co., Ltd.\",\"location\":\"67, Nauenstrasse, Basel\"},{\"entry_id\":\"28-20\",\"company_name\":\"Danzas & Co., A. G.\",\"location\":\"Basel\"},{\"entry_id\":\"28-21\",\"company_name\":\"Dominion Express Company of Canada\",\"location\":\"62-65, Charing Cross, London S. W. 1\"},{\"entry_id\":\"28-22\",\"company_name\":\"Galland & Co.\",\"location\":\"3, Place St. Fran\u00e7ois, Lausanne\"},{\"entry_id\":\"28-23\",\"company_name\":\"Goth & Co.\",\"location\":\"General Agents of the Canadian Pacific Railway Co. and of the Dominion Express Co. of Canada, 45, Elisabethenstrasse, Basel\"},{\"entry_id\":\"28-24\",\"company_name\":\"Charles ImObersteg & Co.\",\"location\":\"30, Aeschengrabener, Basel\"}]}", "role": "assistant"}}], "usage": {"prompt_tokens": 2223, "completion_tokens": 675, "total_tokens": 2898}}, "usage": {"input_tokens": 2223, "output_tokens": 675, "total_tokens": 2898}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.3501298701298702, "f1_macro": 0.3546666666666667, "micro_precision": 0.3612004287245445, "micro_recall": 0.3397177419354839, "total_instances": 15, "total_tp": 337, "total_fp": 596, "total_fn": 655, "cost_summary": {"total_input_tokens": 33348, "total_output_tokens": 8452, "total_tokens": 41800, "input_cost_usd": 0.003335, "output_cost_usd": 0.003381, "total_cost_usd": 0.006716, "pricing_date": "2025-10-28", "input_price_per_million": 0.1, "output_price_per_million": 0.4}}, "normalized_score": 35.46666666666667}