{ "timestamp": "2026-02-24T20:46:17", "benchmark": { "total_cases": 78, "in_label_space_cases": 70, "overall": { "top1_accuracy": 0.7949, "top3_accuracy": 0.8205, "top5_accuracy": 0.8333, "chapter_accuracy": 0.8974 }, "in_label_space": { "top1_accuracy": 0.8857, "top3_accuracy": 0.9143, "top5_accuracy": 0.9286, "chapter_accuracy": 0.9571 }, "by_category": { "easy": { "total": 27, "top1": 26, "top3": 27, "top5": 27, "chapter": 27, "top1_acc": 0.9629629629629629, "top3_acc": 1.0, "top5_acc": 1.0, "chapter_acc": 1.0 }, "edge_case": { "total": 21, "top1": 15, "top3": 16, "top5": 17, "chapter": 18, "top1_acc": 0.7142857142857143, "top3_acc": 0.7619047619047619, "top5_acc": 0.8095238095238095, "chapter_acc": 0.8571428571428571 }, "multilingual": { "total": 20, "top1": 20, "top3": 20, "top5": 20, "chapter": 20, "top1_acc": 1.0, "top3_acc": 1.0, "top5_acc": 1.0, "chapter_acc": 1.0 }, "known_failure": { "total": 10, "top1": 1, "top3": 1, "top5": 1, "chapter": 5, "top1_acc": 0.1, "top3_acc": 0.1, "top5_acc": 0.1, "chapter_acc": 0.5 } }, "by_language": { "en": { "total": 58, "top1": 42, "top3": 44, "top5": 45, "top1_acc": 0.7241379310344828, "top3_acc": 0.7586206896551724, "top5_acc": 0.7758620689655172 }, "th": { "total": 7, "top1": 7, "top3": 7, "top5": 7, "top1_acc": 1.0, "top3_acc": 1.0, "top5_acc": 1.0 }, "vi": { "total": 7, "top1": 7, "top3": 7, "top5": 7, "top1_acc": 1.0, "top3_acc": 1.0, "top5_acc": 1.0 }, "zh": { "total": 6, "top1": 6, "top3": 6, "top5": 6, "top1_acc": 1.0, "top3_acc": 1.0, "top5_acc": 1.0 } }, "failures": [ { "text": "polyethylene pellets LDPE", "expected": "390110", "predicted": "392321", "confidence": 0.8091, "category": "easy", "language": "en", "top5": [ "392321", "390110", "950490", "300490", "220830" ], "notes": "common plastic resin" }, { "text": "medicine", "expected": "300490", "predicted": "300220", "confidence": 1.0, "category": "edge_case", "language": "en", "top5": [ "300220", "950490", "310520", "220830", "240120" ], "notes": "extremely generic" }, { "text": "paper", "expected": "480256", "predicted": "481910", "confidence": 1.0, "category": "edge_case", "language": "en", "top5": [ "481910", "310520", "220830", "240120", "252329" ], "notes": "very generic" }, { "text": "Nespresso coffee capsules", "expected": "210111", "predicted": "090111", "confidence": 0.4046, "category": "edge_case", "language": "en", "top5": [ "090111", "300220", "740311", "210111", "310520" ], "notes": "branded coffee product" }, { "text": "USB-C charging cable", "expected": "854239", "predicted": "850760", "confidence": 0.2069, "category": "edge_case", "language": "en", "top5": [ "850760", "847170", "850440", "870899", "870332" ], "notes": "tech accessory" }, { "text": "stainless steel bolts M10", "expected": "730890", "predicted": "760120", "confidence": 0.2081, "category": "edge_case", "language": "en", "top5": [ "760120", "901890", "730890", "220830", "720917" ], "notes": "metal hardware" }, { "text": "yoga pants women polyester", "expected": "620462", "predicted": "611030", "confidence": 1.0, "category": "edge_case", "language": "en", "top5": [ "611030", "950490", "310520", "220830", "240120" ], "notes": "modern clothing description" }, { "text": "English breakfast tea", "expected": "090240", "predicted": "090210", "confidence": 0.8007, "category": "known_failure", "language": "en", "top5": [ "090210", "392321", "950490", "220830", "240120" ], "notes": "black tea - code 090240 not in label space" }, { "text": "oolong tea leaves 100g", "expected": "090230", "predicted": "090210", "confidence": 0.6064, "category": "known_failure", "language": "en", "top5": [ "090210", "220300", "392321", "950490", "220830" ], "notes": "semi-fermented tea - code 090230 not in label space" }, { "text": "chamomile herbal tea bags", "expected": "121190", "predicted": "392321", "confidence": 0.6013, "category": "known_failure", "language": "en", "top5": [ "392321", "090210", "950490", "220830", "240120" ], "notes": "herbal infusion - not tea chapter - not in label space" }, { "text": "fresh avocado", "expected": "080440", "predicted": "080810", "confidence": 1.0, "category": "known_failure", "language": "en", "top5": [ "080810", "950490", "310520", "220830", "240120" ], "notes": "avocado code 080440 not in label space" }, { "text": "quinoa grain organic", "expected": "100850", "predicted": "080810", "confidence": 0.3905, "category": "known_failure", "language": "en", "top5": [ "080810", "100630", "080510", "070200", "950490" ], "notes": "quinoa code 100850 not in label space" }, { "text": "soy sauce 500ml bottle", "expected": "210390", "predicted": "220300", "confidence": 0.4237, "category": "known_failure", "language": "en", "top5": [ "220300", "300490", "150710", "950490", "220830" ], "notes": "soy sauce code 210390 not in label space" }, { "text": "hand sanitizer gel 70% alcohol", "expected": "380894", "predicted": "290531", "confidence": 1.0, "category": "known_failure", "language": "en", "top5": [ "290531", "950490", "310520", "220830", "240120" ], "notes": "sanitizer code 380894 not in label space" }, { "text": "drone with 4K camera", "expected": "880211", "predicted": "852580", "confidence": 0.6108, "category": "known_failure", "language": "en", "top5": [ "852580", "852872", "870323", "950490", "290531" ], "notes": "UAV code not in label space" }, { "text": "solar panel 400W monocrystalline", "expected": "854140", "predicted": "850440", "confidence": 0.4031, "category": "known_failure", "language": "en", "top5": [ "850440", "850760", "870380", "853400", "290531" ], "notes": "maps to photosensitive devices - often misclassified" } ], "n_failures": 16 }, "timing": { "model_load_s": 3.93, "benchmark_s": 1.24, "total_s": 6.59 }, "split_analysis": { "test_accuracy": 0.7721, "weighted_f1": 0.7703, "macro_f1": 0.8107, "n_train": 7863, "n_test": 1966, "worst_15_by_f1": [ { "hs_code": "870332", "desc": "Diesel motor cars, 1500-2500cc", "precision": 0.2958, "recall": 0.2471, "f1": 0.2692, "support": 85 }, { "hs_code": "271019", "desc": "Other medium petroleum oils", "precision": 0.5, "recall": 0.2222, "f1": 0.3077, "support": 9 }, { "hs_code": "870323", "desc": "Motor cars, 1500-3000cc", "precision": 0.2991, "recall": 0.3465, "f1": 0.3211, "support": 101 }, { "hs_code": "854239", "desc": "Other electronic integrated circuits", "precision": 0.5, "recall": 0.25, "f1": 0.3333, "support": 12 }, { "hs_code": "870324", "desc": "Motor cars, >3000cc", "precision": 0.4839, "recall": 0.5263, "f1": 0.5042, "support": 57 }, { "hs_code": "890190", "desc": "Other cargo vessels", "precision": 0.4211, "recall": 0.6667, "f1": 0.5161, "support": 12 }, { "hs_code": "843149", "desc": "Other parts of cranes", "precision": 0.6667, "recall": 0.4444, "f1": 0.5333, "support": 18 }, { "hs_code": "870899", "desc": "Other parts for motor vehicles", "precision": 0.5333, "recall": 0.5333, "f1": 0.5333, "support": 15 }, { "hs_code": "271600", "desc": "Electrical energy", "precision": 0.6, "recall": 0.6, "f1": 0.6, "support": 10 }, { "hs_code": "271012", "desc": "Light petroleum oils", "precision": 0.5833, "recall": 0.6364, "f1": 0.6087, "support": 11 }, { "hs_code": "120190", "desc": "Soya beans, other", "precision": 0.8571, "recall": 0.5, "f1": 0.6316, "support": 12 }, { "hs_code": "380891", "desc": "Insecticides", "precision": 1.0, "recall": 0.4615, "f1": 0.6316, "support": 13 }, { "hs_code": "901890", "desc": "Other medical instruments", "precision": 0.7143, "recall": 0.5769, "f1": 0.6383, "support": 26 }, { "hs_code": "847330", "desc": "Parts and accessories for computers", "precision": 0.8889, "recall": 0.5, "f1": 0.64, "support": 16 }, { "hs_code": "940180", "desc": "Other seats", "precision": 0.6667, "recall": 0.6154, "f1": 0.64, "support": 13 } ], "top_20_cross_chapter_confusions": [ { "true_code": "040120", "pred_code": "020130", "true_chapter": "Dairy", "pred_chapter": "Meat", "count": 3 }, { "true_code": "840734", "pred_code": "870323", "true_chapter": "Machinery", "pred_chapter": "Vehicles", "count": 3 }, { "true_code": "901890", "pred_code": "843149", "true_chapter": "Medical", "pred_chapter": "Machinery", "count": 3 }, { "true_code": "120190", "pred_code": "100199", "true_chapter": "Oil Seeds", "pred_chapter": "Cereals", "count": 2 }, { "true_code": "200990", "pred_code": "190531", "true_chapter": "Food Preparations", "pred_chapter": "Food Preparations", "count": 2 }, { "true_code": "270900", "pred_code": "070200", "true_chapter": "Mineral Fuels", "pred_chapter": "Vegetables", "count": 2 }, { "true_code": "271012", "pred_code": "870323", "true_chapter": "Mineral Fuels", "pred_chapter": "Vehicles", "count": 2 }, { "true_code": "271019", "pred_code": "151190", "true_chapter": "Mineral Fuels", "pred_chapter": "Oils", "count": 2 }, { "true_code": "730890", "pred_code": "392321", "true_chapter": "Steel", "pred_chapter": "Plastics", "count": 2 }, { "true_code": "730890", "pred_code": "890190", "true_chapter": "Steel", "pred_chapter": "Ships", "count": 2 }, { "true_code": "840734", "pred_code": "870324", "true_chapter": "Machinery", "pred_chapter": "Vehicles", "count": 2 }, { "true_code": "843149", "pred_code": "392321", "true_chapter": "Machinery", "pred_chapter": "Plastics", "count": 2 }, { "true_code": "843149", "pred_code": "730890", "true_chapter": "Machinery", "pred_chapter": "Steel", "count": 2 }, { "true_code": "850760", "pred_code": "870380", "true_chapter": "Electronics", "pred_chapter": "Vehicles", "count": 2 }, { "true_code": "853400", "pred_code": "392010", "true_chapter": "Electronics", "pred_chapter": "Plastics", "count": 2 }, { "true_code": "870899", "pred_code": "842199", "true_chapter": "Vehicles", "pred_chapter": "Machinery", "count": 2 }, { "true_code": "901890", "pred_code": "870899", "true_chapter": "Medical", "pred_chapter": "Vehicles", "count": 2 }, { "true_code": "030617", "pred_code": "847170", "true_chapter": "Fish", "pred_chapter": "Electronics", "count": 1 }, { "true_code": "040120", "pred_code": "340111", "true_chapter": "Dairy", "pred_chapter": "Cosmetics", "count": 1 }, { "true_code": "040690", "pred_code": "220300", "true_chapter": "Dairy", "pred_chapter": "Beverages", "count": 1 } ] } }