Every classification tool publishes an accuracy figure, and none of them is independent. Xzar tests your classifier on real classification decisions issued in 2026, graded exactly against the code that was actually issued. The answer keys never leave our servers, so the test can't be tuned to.
200 real decisions issued in 2026. Where does your classifier land?
No code? Click the button anyway. Work email; your account gets the full set of fresh cases, and your first 50 cases are on us. Results are private unless you choose to publish.
Your classifier reads a product description and returns a code, exactly as it does for your customers.
import requests
API, KEY = "https://api.xzar.si", "YOUR_API_KEY"
H = {"Authorization": f"Bearer {KEY}"}
for _ in range(50):
ep = requests.post(f"{API}/v1/episodes", headers=H, json={"taskset": "tariffs-classification"}).json()
code = my_classifier(ep["instruction"]) # product description in, tariff code out
requests.post(f"{API}/v1/episodes/{ep['episode_id']}/submit", headers=H, json={"answer": {"code": code}})
print(requests.get(f"{API}/v1/scorecard", headers=H).json()["tariffs"])
Each submit returns the score and a receipt. More in the docs. Questions: hello@xzar.si · Terms · Privacy