← The calculator's index
UNCTAD · Tariff calculator · decision log

Decisions taken

One row per decision, numbered, never renumbered. A decision is overturned by a new row that names the one it replaces.

# Date Decision Who Recorded in
D1 29-09-2026 One calculator, runnable on its own or embedded. eRegulations v7 will embed it; retiring v7's own ASYCUDA code (TariffsBO, TariffsCache) is decided once a country has run on the embed. analyst concept note §5
D2 29-09-2026 Order: the calculator is built on its own first; v7 is untouched until pilot 1 passes. analyst concept note §5
D3 29-09-2026 Two providers behind one contract: ASYCUDA, which delegates to customs, and a computing engine on ingested tariff data, modelled on EU TARIC. analyst concept note §3, §4
D4 29-09-2026 When customs computes, its answer is shown and never corrected; defects are reported to it. Any figure the calculator computes is marked as an estimate. analyst concept note §2
D5 29-09-2026 Pilot 1: Burundi computed by the engine in shadow mode and compared with OBR. Pilot 2: a second EAC member. analyst concept note §7
D6 29-09-2026 The product starts from the unctad-ai/vertical-base template (Next.js, Prisma, Postgres). analyst concept note §6
D7 29-09-2026 The calculator runs at calculator.eregistrations.dev; the documents at calculator.eregistrations.dev/docs. analyst concept note §2, §6
D8 29-09-2026 Work follows seven steps, each through draft, first agreement, adversarial review by agents and final agreement. Every role in the documents is written "analyst", never a name. analyst concept note §6
D9 29-09-2026 Embedding is an iframe of /<country>/embed, or one script tag that inserts it; each country lists the sites allowed to frame it. No web component or package until a host needs one. analyst concept note §5
D10 29-09-2026 Specifications are Markdown in the repository; the pages under /docs are generated from them. analyst concept note §6
D11 29-09-2026 When ASYCUDA does not answer, the page shows no computed figure unless the country's settings allow one; Burundi's do not. analyst concept note §3, §9
D12 29-09-2026 A golden case passes only when every tax equals OBR's after rounding. analyst concept note §4, §9
D13 29-09-2026 Pilot 2 is Rwanda; this narrows D5. analyst concept note §7, §9
D14 29-09-2026 Reworded by D19. The OBR meeting's tasks of 24-09-2026 are done in the calculator OBR uses today, within the week agreed, and become requirements of modules 2, 3 and 6. analyst concept note §9
D15 29-09-2026 Exports go through the ASYCUDA provider only, once OBR's service computes them. analyst concept note §3, §9
D16 29-09-2026 The new repository is unctad-ai/tariff-calculator-platform. analyst concept note §9
D17 29-09-2026 The repository and the documents' site may exist before step 1's final agreement, so the documents can be read where they will live; no product code is written before it. This relaxes D8 for documents only. analyst index
D18 29-09-2026 Until step 7 the repository holds the documents, their generator and a small static server, with / sent to /docs/. The vertical-base template is brought in at step 7, its origin commit recorded in template.json. analyst index
D19 29-09-2026 This project does not touch eRegulations v7 while the calculator is built. v7 keeps receiving changes from other requests, OBR's of 24-09-2026 among them, which this project carries as requirements. Rewords D14. analyst concept note §5, §8
D20 29-09-2026 One installation per country. Its provider, shadow mode and settings are set on the installation's administration page, not in the environment. analyst concept note §3, §6
D21 29-09-2026 Rwanda's answers come from the rwandatrade.rw tariff API, called as the prototype calls it. analyst concept note §7
D22 29-09-2026 UNCTAD runs the calculator and maintains its data for now; later, decided with each authority. analyst concept note §8
D23 29-09-2026 The calculator has its own contract, as flexible as possible: exact decimal amounts, a currency for each amount, its own codes. No provider is ever asked to change for it; each adapter translates, and where a provider cannot take a value the adapter converts with that provider's own published rates and says so in the trace. analyst concept note §3
D24 29-09-2026 Pilot 1 compares against OBR's production service with v7's Burundi settings, checked with one call from the calculator's server once the key is set; OBR is asked to authorise the address only if that call is refused. analyst concept note §3
D25 29-09-2026 At least twenty golden cases before step 7.2, varied by chapter, origin, excise, vehicles and exemptions; taxes OBR is known to get wrong are exempted by name in a register of known defects. analyst concept note §4
D26 29-09-2026 Each country's installation is at calculator-<country code>.eregistrations.dev (calculator-bi, calculator-rw…); calculator.eregistrations.dev keeps the documents. analyst concept note §2
Claude, for the analyst · UNCTAD · working material, hidden from search engines Updated · 29-09-2026