{"_id": {"$oid": "69d4eb12b877594bc5718a01"}, "test_id": "T0357", "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.0-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.0-flash-lite", "duration": 6.7661292552948, "timestamp": "2025-10-28T15:27:18.337521", "parsed": {"page_id": "32", "entries": [{"entry_id": "32-1", "company_name": "Kunsthandlung Rath. W\r\n\u00fcrsd\u00f6rfer & Cie.", "location": "null"}, {"entry_id": "32-2", "company_name": "Hotz, Volk & Cie., Neuewelt", "location": "null"}, {"entry_id": "32-3", "company_name": "Emil Mertz", "location": "null"}, {"entry_id": "32-4", "company_name": "Rudolf Gysin & Co. Merz & Co.", "location": "null"}, {"entry_id": "32-5", "company_name": "Eisenm\u00f6belfabrik Pratteln L. & C. Arnold", "location": "null"}, {"entry_id": "32-6", "company_name": "Emil Haefely & Cie. A.-G.", "location": "null"}, {"entry_id": "32-7", "company_name": "R. Gschwind & Cie., Oberwil", "location": "Oberwil"}, {"entry_id": "32-8", "company_name": "Droeser & Sohn", "location": "null"}, {"entry_id": "32-9", "company_name": "Affolter, Christen & Co. A.-G.", "location": "null"}, {"entry_id": "32-10", "company_name": "Frobenius A.-G.", "location": "null"}, {"entry_id": "32-11", "company_name": "Franz Wittmer", "location": "null"}, {"entry_id": "32-12", "company_name": "Affolter, Christen & Co. A.-G.", "location": "null"}, {"entry_id": "32-13", "company_name": "Preiswerk, Esser & Cie.", "location": "null"}, {"entry_id": "32-14", "company_name": "R. Gschwind & Cie., Oberwil", "location": "Oberwil"}, {"entry_id": "32-15", "company_name": "Walz & Cie.", "location": "null"}, {"entry_id": "32-16", "company_name": "Ch. H. Pfister & Co.", "location": "null"}, {"entry_id": "32-17", "company_name": "Ch. H. Pfister & Co.", "location": "null"}, {"entry_id": "32-18", "company_name": "Gas- und Waserwerk Basel", "location": "Basel"}, {"entry_id": "32-19", "company_name": "Perrin & K\u00fcng, Maisprach", "location": "Maisprach"}, {"entry_id": "32-20", "company_name": "A.-G. Verblendstein-Fabrik Lausen", "location": "Lausen"}, {"entry_id": "32-21", "company_name": "Basler Stempelfabrik Fr. Keller. Memmel & Cie.", "location": "null"}, {"entry_id": "32-22", "company_name": "Aktiengesellschaft f\u00fcr Textilindustrie (Taschent\u00fccher, Monogramme, W\u00e4schezeichen, Konfektionstiquetten). N. Schterenbuch.", "location": "null"}, {"entry_id": "32-23", "company_name": "F. Schaer-Ganz.", "location": "null"}, {"entry_id": "32-24", "company_name": "P. Steiger.", "location": "null"}, {"entry_id": "32-25", "company_name": "A.-G. James Jaquet.", "location": "null"}]}, "text": "{\n  \"page_id\": \"32\",\n  \"entries\": [\n    {\n      \"entry_id\": \"32-1\",\n      \"company_name\": \"Kunsthandlung Rath. W\\r\\n\u00fcrsd\u00f6rfer & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-2\",\n      \"company_name\": \"Hotz, Volk & Cie., Neuewelt\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-3\",\n      \"company_name\": \"Emil Mertz\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-4\",\n      \"company_name\": \"Rudolf Gysin & Co. Merz & Co.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-5\",\n      \"company_name\": \"Eisenm\u00f6belfabrik Pratteln L. & C. Arnold\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-6\",\n      \"company_name\": \"Emil Haefely & Cie. A.-G.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-7\",\n      \"company_name\": \"R. Gschwind & Cie., Oberwil\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-8\",\n      \"company_name\": \"Droeser & Sohn\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-9\",\n      \"company_name\": \"Affolter, Christen & Co. A.-G.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-10\",\n      \"company_name\": \"Frobenius A.-G.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-11\",\n      \"company_name\": \"Franz Wittmer\",\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\": \"Preiswerk, Esser & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-14\",\n      \"company_name\": \"R. Gschwind & Cie., Oberwil\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-15\",\n      \"company_name\": \"Walz & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-16\",\n      \"company_name\": \"Ch. H. Pfister & Co.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-17\",\n      \"company_name\": \"Ch. H. Pfister & Co.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-18\",\n      \"company_name\": \"Gas- und Waserwerk Basel\",\n      \"location\": \"Basel\"\n    },\n    {\n      \"entry_id\": \"32-19\",\n      \"company_name\": \"Perrin & K\u00fcng, Maisprach\",\n      \"location\": \"Maisprach\"\n    },\n    {\n      \"entry_id\": \"32-20\",\n      \"company_name\": \"A.-G. Verblendstein-Fabrik Lausen\",\n      \"location\": \"Lausen\"\n    },\n    {\n      \"entry_id\": \"32-21\",\n      \"company_name\": \"Basler Stempelfabrik Fr. Keller. Memmel & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-22\",\n      \"company_name\": \"Aktiengesellschaft f\u00fcr Textilindustrie (Taschent\u00fccher, Monogramme, W\u00e4schezeichen, Konfektionstiquetten). N. Schterenbuch.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-23\",\n      \"company_name\": \"F. Schaer-Ganz.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-24\",\n      \"company_name\": \"P. Steiger.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-25\",\n      \"company_name\": \"A.-G. James Jaquet.\",\n      \"location\": \"null\"\n    }\n  ]\n}", "raw_response": {"text": "{\n  \"page_id\": \"32\",\n  \"entries\": [\n    {\n      \"entry_id\": \"32-1\",\n      \"company_name\": \"Kunsthandlung Rath. W\\r\\n\u00fcrsd\u00f6rfer & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-2\",\n      \"company_name\": \"Hotz, Volk & Cie., Neuewelt\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-3\",\n      \"company_name\": \"Emil Mertz\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-4\",\n      \"company_name\": \"Rudolf Gysin & Co. Merz & Co.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-5\",\n      \"company_name\": \"Eisenm\u00f6belfabrik Pratteln L. & C. Arnold\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-6\",\n      \"company_name\": \"Emil Haefely & Cie. A.-G.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-7\",\n      \"company_name\": \"R. Gschwind & Cie., Oberwil\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-8\",\n      \"company_name\": \"Droeser & Sohn\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-9\",\n      \"company_name\": \"Affolter, Christen & Co. A.-G.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-10\",\n      \"company_name\": \"Frobenius A.-G.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-11\",\n      \"company_name\": \"Franz Wittmer\",\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\": \"Preiswerk, Esser & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-14\",\n      \"company_name\": \"R. Gschwind & Cie., Oberwil\",\n      \"location\": \"Oberwil\"\n    },\n    {\n      \"entry_id\": \"32-15\",\n      \"company_name\": \"Walz & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-16\",\n      \"company_name\": \"Ch. H. Pfister & Co.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-17\",\n      \"company_name\": \"Ch. H. Pfister & Co.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-18\",\n      \"company_name\": \"Gas- und Waserwerk Basel\",\n      \"location\": \"Basel\"\n    },\n    {\n      \"entry_id\": \"32-19\",\n      \"company_name\": \"Perrin & K\u00fcng, Maisprach\",\n      \"location\": \"Maisprach\"\n    },\n    {\n      \"entry_id\": \"32-20\",\n      \"company_name\": \"A.-G. Verblendstein-Fabrik Lausen\",\n      \"location\": \"Lausen\"\n    },\n    {\n      \"entry_id\": \"32-21\",\n      \"company_name\": \"Basler Stempelfabrik Fr. Keller. Memmel & Cie.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-22\",\n      \"company_name\": \"Aktiengesellschaft f\u00fcr Textilindustrie (Taschent\u00fccher, Monogramme, W\u00e4schezeichen, Konfektionstiquetten). N. Schterenbuch.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-23\",\n      \"company_name\": \"F. Schaer-Ganz.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-24\",\n      \"company_name\": \"P. Steiger.\",\n      \"location\": \"null\"\n    },\n    {\n      \"entry_id\": \"32-25\",\n      \"company_name\": \"A.-G. James Jaquet.\",\n      \"location\": \"null\"\n    }\n  ]\n}", "usage_metadata": {"prompt_token_count": 2234, "candidates_token_count": 1176, "total_token_count": 3410}}, "usage": {"input_tokens": 2234, "output_tokens": 1176, "total_tokens": 3410}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.45265822784810134, "f1_macro": 0.466, "micro_precision": 0.4547304170905392, "micro_recall": 0.45060483870967744, "total_instances": 15, "total_tp": 447, "total_fp": 536, "total_fn": 545, "cost_summary": {"total_input_tokens": 33510, "total_output_tokens": 16540, "total_tokens": 50050, "input_cost_usd": 0.002513, "output_cost_usd": 0.004962, "total_cost_usd": 0.007475, "pricing_date": "2025-10-28", "input_price_per_million": 0.075, "output_price_per_million": 0.3}}, "normalized_score": 46.6}