{"_id": {"$oid": "69d4eb12b877594bc5718a36"}, "test_id": "T0375", "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": "anthropic", "model": "claude-sonnet-4-20250514", "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": "anthropic", "model": "claude-sonnet-4-20250514", "duration": 12.092374563217163, "timestamp": "2025-10-28T14:52:23.112084", "parsed": {"page_id": "25", "entries": [{"entry_id": "25-1", "company_name": "Adolphe Saurer S. A.", "location": "Arbon"}, {"entry_id": "25-2", "company_name": "The North British Rubber Co. (Continental) Ltd.", "location": "Zurich"}, {"entry_id": "25-3", "company_name": "Church Street Manufacturing Co. Ltd.", "location": "Wellington Mill, Great Harwood"}, {"entry_id": "25-4", "company_name": "Z\u00fcrcher, Tobler & Oertle", "location": "Teufen/St. Gallen"}, {"entry_id": "25-5", "company_name": "Thomas Adams, Ltd.", "location": "12-14, Stoney Street, Nottingham"}, {"entry_id": "25-6", "company_name": "Brown Boveri & Cie. A.-G.", "location": "Baden, Switzerland"}, {"entry_id": "25-7", "company_name": "Nova Knitting Works, Siegrist & Co.", "location": "Oftringen"}, {"entry_id": "25-8", "company_name": "Bigar Fr\u00e8res Grands Magasins Innovation S. A.", "location": "5, Rue du Pont, Lausanne"}, {"entry_id": "25-9", "company_name": "Bonnard & Cie. S. A.", "location": "10 and 11, Place St-Fran\u00e7ois, Lausanne"}, {"entry_id": "25-10", "company_name": "Fr. Sauter A.-G.", "location": "Basle"}, {"entry_id": "25-11", "company_name": "John Layton & Co. Ltd.", "location": "10, Seidengasse, Zurich 1"}, {"entry_id": "25-12", "company_name": "Cunard Steam Ship Co. Ltd.", "location": "3, Haldenstrasse, Lucerne"}]}, "text": "", "raw_response": {"id": "msg_01SyJzDbw5q3grNE4wKyWFj8", "model": "claude-sonnet-4-20250514", "role": "assistant", "content": [{"type": "tool_use", "id": "toolu_01VRVFpuLjeUVqh1ipfbjubx", "name": "extract_structured_data", "input": {"page_id": "25", "entries": [{"entry_id": "25-1", "company_name": "Adolphe Saurer S. A.", "location": "Arbon"}, {"entry_id": "25-2", "company_name": "The North British Rubber Co. (Continental) Ltd.", "location": "Zurich"}, {"entry_id": "25-3", "company_name": "Church Street Manufacturing Co. Ltd.", "location": "Wellington Mill, Great Harwood"}, {"entry_id": "25-4", "company_name": "Z\u00fcrcher, Tobler & Oertle", "location": "Teufen/St. Gallen"}, {"entry_id": "25-5", "company_name": "Thomas Adams, Ltd.", "location": "12-14, Stoney Street, Nottingham"}, {"entry_id": "25-6", "company_name": "Brown Boveri & Cie. A.-G.", "location": "Baden, Switzerland"}, {"entry_id": "25-7", "company_name": "Nova Knitting Works, Siegrist & Co.", "location": "Oftringen"}, {"entry_id": "25-8", "company_name": "Bigar Fr\u00e8res Grands Magasins Innovation S. A.", "location": "5, Rue du Pont, Lausanne"}, {"entry_id": "25-9", "company_name": "Bonnard & Cie. S. A.", "location": "10 and 11, Place St-Fran\u00e7ois, Lausanne"}, {"entry_id": "25-10", "company_name": "Fr. Sauter A.-G.", "location": "Basle"}, {"entry_id": "25-11", "company_name": "John Layton & Co. Ltd.", "location": "10, Seidengasse, Zurich 1"}, {"entry_id": "25-12", "company_name": "Cunard Steam Ship Co. Ltd.", "location": "3, Haldenstrasse, Lucerne"}]}}], "stop_reason": "tool_use", "usage": {"input_tokens": 1867, "output_tokens": 674}}, "usage": {"input_tokens": 1867, "output_tokens": 674, "total_tokens": 2541}, "finish_reason": "stop"}, "scoring": {"f1_micro": 0.42943548387096775, "f1_macro": 0.442, "micro_precision": 0.42943548387096775, "micro_recall": 0.42943548387096775, "total_instances": 15, "total_tp": 426, "total_fp": 566, "total_fn": 566, "cost_summary": {"total_input_tokens": 28042, "total_output_tokens": 17380, "total_tokens": 45422, "input_cost_usd": 0.084126, "output_cost_usd": 0.2607, "total_cost_usd": 0.344826, "pricing_date": "2025-10-28", "input_price_per_million": 3.0, "output_price_per_million": 15.0}}, "normalized_score": 44.2}