{"_id": {"$oid": "69d4eb12b877594bc5718a17"}, "test_id": "T0383", "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": "mistral", "model": "mistral-medium-2508", "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": "mistral", "model": "mistral-medium-2508", "duration": 20.520779609680176, "timestamp": "2025-10-28T14:12:08.078527", "text": "{\n  \"page_id\": \"32\",\n  \"entries\": [\n    {\n      \"entry_id\": \"32-1\",\n      \"company_name\": \"Kunsthandlung Rath\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-2\",\n      \"company_name\": \"W\u00fcrsd\u00f6rfer & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-3\",\n      \"company_name\": \"Hotz, Volk & Cie\",\n      \"location\": \"Neuewelt\"\n    },\n    {\n      \"entry_id\": \"32-4\",\n      \"company_name\": \"R. Gschwind & Cie\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-5\",\n      \"company_name\": \"Emil Mertz\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-6\",\n      \"company_name\": \"Rudolf Gysin & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-7\",\n      \"company_name\": \"Merz & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-8\",\n      \"company_name\": \"Eisenm\u00f6belfabrik Pratteln L. & C. Arnold\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-9\",\n      \"company_name\": \"Emil Haefely & Cie A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-10\",\n      \"company_name\": \"R. Gschwind & Cie\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-11\",\n      \"company_name\": \"Droeser & Sohn\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-12\",\n      \"company_name\": \"Affolter, Christen & Co A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-13\",\n      \"company_name\": \"Frobenius A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-14\",\n      \"company_name\": \"Franz Wittmer\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-15\",\n      \"company_name\": \"Affolter, Christen & Co A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-16\",\n      \"company_name\": \"Preiswerk, Esser & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-17\",\n      \"company_name\": \"R. Gschwind & Cie\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-18\",\n      \"company_name\": \"Walz & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-19\",\n      \"company_name\": \"Ch. H. Pfister & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-20\",\n      \"company_name\": \"Ch. H. Pfister & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-21\",\n      \"company_name\": \"Gas- und Wasserwerk Basel\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-22\",\n      \"company_name\": \"Perrin & K\u00fcng, Maisprach\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-23\",\n      \"company_name\": \"A.-G. Verblendstein-Fabrik Lausen\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-24\",\n      \"company_name\": \"Basler Stempelfabrik Fr. Keller, Memmel & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-25\",\n      \"company_name\": \"Aktiengesellschaft f\u00fcr Textilindustrie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-26\",\n      \"company_name\": \"N. Schterenbuch\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-27\",\n      \"company_name\": \"F. Schaer-Ganz\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-28\",\n      \"company_name\": \"P. Steiger\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-29\",\n      \"company_name\": \"A.-G. James Jaquet\",\n      \"location\": null\n    }\n  ]\n}", "raw_response": {"id": "84d9f5baa97040bc830784b3d1e79b6e", "model": "mistral-medium-2508", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\n  \"page_id\": \"32\",\n  \"entries\": [\n    {\n      \"entry_id\": \"32-1\",\n      \"company_name\": \"Kunsthandlung Rath\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-2\",\n      \"company_name\": \"W\u00fcrsd\u00f6rfer & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-3\",\n      \"company_name\": \"Hotz, Volk & Cie\",\n      \"location\": \"Neuewelt\"\n    },\n    {\n      \"entry_id\": \"32-4\",\n      \"company_name\": \"R. Gschwind & Cie\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-5\",\n      \"company_name\": \"Emil Mertz\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-6\",\n      \"company_name\": \"Rudolf Gysin & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-7\",\n      \"company_name\": \"Merz & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-8\",\n      \"company_name\": \"Eisenm\u00f6belfabrik Pratteln L. & C. Arnold\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-9\",\n      \"company_name\": \"Emil Haefely & Cie A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-10\",\n      \"company_name\": \"R. Gschwind & Cie\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-11\",\n      \"company_name\": \"Droeser & Sohn\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-12\",\n      \"company_name\": \"Affolter, Christen & Co A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-13\",\n      \"company_name\": \"Frobenius A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-14\",\n      \"company_name\": \"Franz Wittmer\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-15\",\n      \"company_name\": \"Affolter, Christen & Co A.-G.\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-16\",\n      \"company_name\": \"Preiswerk, Esser & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-17\",\n      \"company_name\": \"R. Gschwind & Cie\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-18\",\n      \"company_name\": \"Walz & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-19\",\n      \"company_name\": \"Ch. H. Pfister & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-20\",\n      \"company_name\": \"Ch. H. Pfister & Co\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-21\",\n      \"company_name\": \"Gas- und Wasserwerk Basel\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-22\",\n      \"company_name\": \"Perrin & K\u00fcng, Maisprach\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-23\",\n      \"company_name\": \"A.-G. Verblendstein-Fabrik Lausen\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-24\",\n      \"company_name\": \"Basler Stempelfabrik Fr. Keller, Memmel & Cie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-25\",\n      \"company_name\": \"Aktiengesellschaft f\u00fcr Textilindustrie\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-26\",\n      \"company_name\": \"N. Schterenbuch\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-27\",\n      \"company_name\": \"F. Schaer-Ganz\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-28\",\n      \"company_name\": \"P. Steiger\",\n      \"location\": null\n    },\n    {\n      \"entry_id\": \"32-29\",\n      \"company_name\": \"A.-G. James Jaquet\",\n      \"location\": null\n    }\n  ]\n}", "role": "assistant"}}], "usage": {"prompt_tokens": 1431, "completion_tokens": 1076, "total_tokens": 2507}}, "usage": {"input_tokens": 1431, "output_tokens": 1076, "total_tokens": 2507}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.4074446680080483, "f1_macro": 0.4033333333333333, "micro_precision": 0.4066265060240964, "micro_recall": 0.40826612903225806, "total_instances": 15, "total_tp": 405, "total_fp": 591, "total_fn": 587, "cost_summary": {"total_input_tokens": 22612, "total_output_tokens": 14429, "total_tokens": 37041, "input_cost_usd": 0.009045, "output_cost_usd": 0.028858, "total_cost_usd": 0.037903, "pricing_date": "2025-10-28", "input_price_per_million": 0.4, "output_price_per_million": 2.0}}, "normalized_score": 40.33333333333333}