{"_id": {"$oid": "69d4eb12b877594bc57189fb"}, "test_id": "T0341", "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", "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", "duration": 22.93213200569153, "timestamp": "2025-10-28T14:48:50.847109", "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, Basle"}, {"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, Basle"}, {"entry_id": "28-7", "company_name": "Sauberlin & 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, E. C. 1"}, {"entry_id": "28-10", "company_name": "E. Osswald", "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 Lemanio", "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": "Basle Warehouse Co., Ltd.", "location": "1, Erlenstrasse, Basle"}, {"entry_id": "28-17", "company_name": "Canadian Pacific Railway Co.", "location": "62-65, Charing Cross, London S.W. 1"}, {"entry_id": "28-18", "company_name": "Crowe & Co., Ltd.", "location": "67, Nauenstrasse, Basle"}, {"entry_id": "28-19", "company_name": "Danzas & Co., A. G.", "location": "Basle"}, {"entry_id": "28-20", "company_name": "Dominion Express Company of Canada", "location": "62-65, Charing Cross, London S.W. 1"}, {"entry_id": "28-21", "company_name": "Galland & Co.", "location": "3, Place St. Fran\u00e7ois, Lausanne"}, {"entry_id": "28-22", "company_name": "Goth & Co.", "location": "45, Elisabethenstrasse, Basle"}, {"entry_id": "28-23", "company_name": "Charles ImObersteg & Co.", "location": "30, Aeschengraben, Basle"}]}, "text": "", "raw_response": {"id": "chatcmpl-CVeLljLZa1mJM5V4MpXpqeId9JZzy", "model": "gpt-4.1-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, Basle\"},{\"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, Basle\"},{\"entry_id\":\"28-7\",\"company_name\":\"Sauberlin & 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, E. C. 1\"},{\"entry_id\":\"28-10\",\"company_name\":\"E. Osswald\",\"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 Lemanio\",\"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\":\"Basle Warehouse Co., Ltd.\",\"location\":\"1, Erlenstrasse, Basle\"},{\"entry_id\":\"28-17\",\"company_name\":\"Canadian Pacific Railway Co.\",\"location\":\"62-65, Charing Cross, London S.W. 1\"},{\"entry_id\":\"28-18\",\"company_name\":\"Crowe & Co., Ltd.\",\"location\":\"67, Nauenstrasse, Basle\"},{\"entry_id\":\"28-19\",\"company_name\":\"Danzas & Co., A. G.\",\"location\":\"Basle\"},{\"entry_id\":\"28-20\",\"company_name\":\"Dominion Express Company of Canada\",\"location\":\"62-65, Charing Cross, London S.W. 1\"},{\"entry_id\":\"28-21\",\"company_name\":\"Galland & Co.\",\"location\":\"3, Place St. Fran\u00e7ois, Lausanne\"},{\"entry_id\":\"28-22\",\"company_name\":\"Goth & Co.\",\"location\":\"45, Elisabethenstrasse, Basle\"},{\"entry_id\":\"28-23\",\"company_name\":\"Charles ImObersteg & Co.\",\"location\":\"30, Aeschengraben, Basle\"}]}", "role": "assistant"}}], "usage": {"prompt_tokens": 1255, "completion_tokens": 647, "total_tokens": 1902}}, "usage": {"input_tokens": 1255, "output_tokens": 647, "total_tokens": 1902}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.4014300306435138, "f1_macro": 0.39599999999999996, "micro_precision": 0.40683229813664595, "micro_recall": 0.3961693548387097, "total_instances": 15, "total_tp": 393, "total_fp": 573, "total_fn": 599, "cost_summary": {"total_input_tokens": 18825, "total_output_tokens": 9170, "total_tokens": 27995, "input_cost_usd": 0.03765, "output_cost_usd": 0.07336, "total_cost_usd": 0.11101, "pricing_date": "2025-10-28", "input_price_per_million": 2.0, "output_price_per_million": 8.0}}, "normalized_score": 39.599999999999994}