{"_id": {"$oid": "69d4eb12b877594bc5718a05"}, "test_id": "T0339", "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-4o-mini", "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-4o-mini", "duration": 22.33361554145813, "timestamp": "2025-10-28T14:44:34.601555", "parsed": {"page_id": "25", "entries": [{"entry_id": "25-1", "company_name": "International Trading Co. (import and export)", "location": "Sheffield"}, {"entry_id": "25-2", "company_name": "Albert Isliker & Co.", "location": "Zurich"}, {"entry_id": "25-3", "company_name": "V. & W. Kaiser (exporters)", "location": "Muttenz"}, {"entry_id": "25-4", "company_name": "Matiera Ltd. (importers of fine and heavy)", "location": "Basle"}, {"entry_id": "25-5", "company_name": "A. Mathys (for industrial purposes)", "location": "Zurich"}, {"entry_id": "25-6", "company_name": "Medo-Chemicals Ltd.", "location": "London N.I."}, {"entry_id": "25-7", "company_name": "Metallum Pratteln Ltd. (importers)", "location": "Basle"}, {"entry_id": "25-8", "company_name": "Walter Moesch & Co.", "location": "Zurich"}, {"entry_id": "25-9", "company_name": "Novativa Ltd. (for industrial purposes)", "location": "Zurich"}, {"entry_id": "25-10", "company_name": "Pl\u00fcss-Staufer Ltd.", "location": "Offtringen"}, {"entry_id": "25-11", "company_name": "Prifa Ltd.", "location": "Zurich"}, {"entry_id": "25-12", "company_name": "Hans Rahn & Co.", "location": "Zurich"}, {"entry_id": "25-13", "company_name": "Alex Ross & Co.", "location": "Manchester"}, {"entry_id": "25-14", "company_name": "Rubber Raw Materials Ltd. (for the rubber trade)", "location": "Zurich"}, {"entry_id": "25-15", "company_name": "Emile Scheller & Co. Ltd. (importers of all kinds)", "location": "Zurich"}, {"entry_id": "25-16", "company_name": "A. Schubarth & Co.", "location": "Basle"}, {"entry_id": "25-17", "company_name": "Schweigerall Ltd. (importers of fine and heavy chemicals)", "location": "Basle"}, {"entry_id": "25-18", "company_name": "Steven Brothers (Londmill) Ltd.", "location": "London"}]}, "text": "", "raw_response": {"id": "chatcmpl-CVeHdCXilMOdalasV04ZH7uYJQTdO", "model": "gpt-4o-mini-2024-07-18", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": "{\n  \"page_id\": \"25\",\n  \"entries\": [\n    {\n      \"entry_id\": \"25-1\",\n      \"company_name\": \"International Trading Co. (import and export)\",\n      \"location\": \"Sheffield\"\n    },\n    {\n      \"entry_id\": \"25-2\",\n      \"company_name\": \"Albert Isliker & Co.\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-3\",\n      \"company_name\": \"V. & W. Kaiser (exporters)\",\n      \"location\": \"Muttenz\"\n    },\n    {\n      \"entry_id\": \"25-4\",\n      \"company_name\": \"Matiera Ltd. (importers of fine and heavy)\",\n      \"location\": \"Basle\"\n    },\n    {\n      \"entry_id\": \"25-5\",\n      \"company_name\": \"A. Mathys (for industrial purposes)\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-6\",\n      \"company_name\": \"Medo-Chemicals Ltd.\",\n      \"location\": \"London N.I.\"\n    },\n    {\n      \"entry_id\": \"25-7\",\n      \"company_name\": \"Metallum Pratteln Ltd. (importers)\",\n      \"location\": \"Basle\"\n    },\n    {\n      \"entry_id\": \"25-8\",\n      \"company_name\": \"Walter Moesch & Co.\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-9\",\n      \"company_name\": \"Novativa Ltd. (for industrial purposes)\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-10\",\n      \"company_name\": \"Pl\u00fcss-Staufer Ltd.\",\n      \"location\": \"Offtringen\"\n    },\n    {\n      \"entry_id\": \"25-11\",\n      \"company_name\": \"Prifa Ltd.\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-12\",\n      \"company_name\": \"Hans Rahn & Co.\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-13\",\n      \"company_name\": \"Alex Ross & Co.\",\n      \"location\": \"Manchester\"\n    },\n    {\n      \"entry_id\": \"25-14\",\n      \"company_name\": \"Rubber Raw Materials Ltd. (for the rubber trade)\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-15\",\n      \"company_name\": \"Emile Scheller & Co. Ltd. (importers of all kinds)\",\n      \"location\": \"Zurich\"\n    },\n    {\n      \"entry_id\": \"25-16\",\n      \"company_name\": \"A. Schubarth & Co.\",\n      \"location\": \"Basle\"\n    },\n    {\n      \"entry_id\": \"25-17\",\n      \"company_name\": \"Schweigerall Ltd. (importers of fine and heavy chemicals)\",\n      \"location\": \"Basle\"\n    },\n    {\n      \"entry_id\": \"25-18\",\n      \"company_name\": \"Steven Brothers (Londmill) Ltd.\",\n      \"location\": \"London\"\n    }\n  ]\n}", "role": "assistant"}}], "usage": {"prompt_tokens": 25991, "completion_tokens": 684, "total_tokens": 26675}}, "usage": {"input_tokens": 25991, "output_tokens": 684, "total_tokens": 26675}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.29882604055496265, "f1_macro": 0.32733333333333337, "micro_precision": 0.31746031746031744, "micro_recall": 0.28225806451612906, "total_instances": 15, "total_tp": 280, "total_fp": 602, "total_fn": 712, "cost_summary": {"total_input_tokens": 389865, "total_output_tokens": 11762, "total_tokens": 401627, "input_cost_usd": 0.05848, "output_cost_usd": 0.007057, "total_cost_usd": 0.065537, "pricing_date": "2025-10-28", "input_price_per_million": 0.15, "output_price_per_million": 0.6}}, "normalized_score": 32.733333333333334}