{"_id": {"$oid": "69d4eb12b877594bc5718a21"}, "test_id": "T0401", "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": "openrouter", "model": "x-ai/grok-4", "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": "openrouter", "model": "x-ai/grok-4", "duration": 230.01124119758606, "timestamp": "2025-10-28T16:03:32.316819", "parsed": {"page_id": "page_id", "entries": [{"entry_id": "page_id-1", "company_name": "Huguenin, Gauthier & Co. A.-G.", "location": "Zurich"}, {"entry_id": "page_id-2", "company_name": "The Cattle Food Supply Co. Ltd.", "location": "Lausanne"}, {"entry_id": "page_id-3", "company_name": "The Cattle Food Supply Co. Ltd.", "location": "Lausanne"}, {"entry_id": "page_id-3", "company_name": "Basic Calcium-Manufacturers, Ltd.", "location": "Lausanne"}, {"entry_id": "page_id-4", "company_name": "Swiss Chamber of Commerce", "location": "London E.C.4"}, {"entry_id": "page_id-5", "company_name": "Alpha Union Co. Ltd.", "location": "Basle"}, {"entry_id": "page_id-6", "company_name": "Chemische Fabrik von Heyden A.G.", "location": "Radebeul bei Dresden"}, {"entry_id": "page_id-7", "company_name": "Captain Austin Co. Ltd.", "location": "Lausanne"}, {"entry_id": "page_id-7", "company_name": "Captain Austin Co. Ltd.", "location": "Lausanne"}, {"entry_id": "page_id-7", "company_name": "Captain Austin Co. Ltd.", "location": "Lausanne"}, {"entry_id": "page_id-8", "company_name": "Dorset and Hants. A.G.", "location": "Basle"}, {"entry_id": "page_id-9", "company_name": "T. Milliken, S.A.", "location": "Nyon"}, {"entry_id": "page_id-10", "company_name": "Union de l'Alb\u00e9niz", "location": "La Piana, Geneva"}, {"entry_id": "page_id-11", "company_name": "Nestl\u00e9 & Anglo-Swiss Condensed Milk Co.", "location": "Vevey"}, {"entry_id": "page_id-12", "company_name": "Suchard, A.", "location": "Neuch\u00e2tel"}, {"entry_id": "page_id-13", "company_name": "Ufa Films S.A., Co. Ltd.", "location": "Les Baumettes"}, {"entry_id": "page_id-14", "company_name": "Ufa Films", "location": "La Lande and Graves"}]}, "text": "", "raw_response": {"id": "gen-1761663582-mQTU2KdYq3ojtG5HNmeX", "model": "x-ai/grok-4", "choices": [{"finish_reason": "stop", "index": 0, "message": {"content": " {\"page_id\":\"page_id\",\"entries\":[{\"entry_id\":\"page_id-1\",\"company_name\":\"Huguenin, Gauthier & Co. A.-G.\",\"location\":\"Zurich\"},{\"entry_id\":\"page_id-2\",\"company_name\":\"The Cattle Food Supply Co. Ltd.\",\"location\": \"Lausanne\"},{\"entry_id\":\"page_id-3\",\"company_name\":\"The Cattle Food Supply Co. Ltd.\",\"location\": \"Lausanne\"},{\"entry_id\":\"page_id-3\",\"company_name\":\"Basic Calcium-Manufacturers, Ltd.\",\"location\": \"Lausanne\"},{\"entry_id\":\"page_id-4\",\"company_name\":\"Swiss Chamber of Commerce\",\"location\":\"London E.C.4\"},{\"entry_id\":\"page_id-5\",\"company_name\":\"Alpha Union Co. Ltd.\",\"location\":\"Basle\"},{\"entry_id\":\"page_id-6\",\"company_name\":\"Chemische Fabrik von Heyden A.G.\",\"location\":\"Radebeul bei Dresden\"},{\"entry_id\":\"page_id-7\",\"company_name\":\"Captain Austin Co. Ltd.\",\"location\": \"Lausanne\"},{\"entry_id\":\"page_id-7\",\"company_name\":\"Captain Austin Co. Ltd.\",\"location\": \"Lausanne\"},{\"entry_id\":\"page_id-7\",\"company_name\":\"Captain Austin Co. Ltd.\",\"location\": \"Lausanne\"},{\"entry_id\":\"page_id-8\",\"company_name\":\"Dorset and Hants. A.G.\",\"location\":\"Basle\"},{\"entry_id\":\"page_id-9\",\"company_name\":\"T. Milliken, S.A.\",\"location\":\"Nyon\"},{\"entry_id\":\"page_id-10\",\"company_name\":\"Union de l'Alb\u00e9niz\",\"location\":\"La Piana, Geneva\"},{\"entry_id\":\"page_id-11\",\"company_name\":\"Nestl\u00e9 & Anglo-Swiss Condensed Milk Co.\",\"location\":\"Vevey\"},{\"entry_id\":\"page_id-12\",\"company_name\":\"Suchard, A.\",\"location\":\"Neuch\u00e2tel\"},{\"entry_id\":\"page_id-13\",\"company_name\":\"Ufa Films S.A., Co. Ltd.\",\"location\":\"Les Baumettes\"},{\"entry_id\":\"page_id-14\",\"company_name\":\"Ufa Films\",\"location\":\"La Lande and Graves\"}]}", "role": "assistant"}}], "usage": {"prompt_tokens": 1448, "completion_tokens": 9194, "total_tokens": 10642}}, "usage": {"input_tokens": 1448, "output_tokens": 9194, "total_tokens": 10642}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.05180722891566265, "f1_macro": 0.06533333333333333, "micro_precision": 0.06437125748502993, "micro_recall": 0.04334677419354839, "total_instances": 15, "total_tp": 43, "total_fp": 625, "total_fn": 949, "cost_summary": {"total_input_tokens": 22264, "total_output_tokens": 113222, "total_tokens": 135486, "input_cost_usd": 0.066792, "output_cost_usd": 1.69833, "total_cost_usd": 1.765122, "pricing_date": "2025-10-28", "input_price_per_million": 3.0, "output_price_per_million": 15.0}}, "normalized_score": 6.533333333333332}