Step 3 · Checked against the live sites

Draft · 26-10-2026Updated 26-10-2026

The mockups set beside v7's live tariff pages, Burundi and Rwanda, at 1 280 and 375 pixels wide, on 26-10-2026, as the design's "How it is checked" asks. Every screen the live sites reach without an estimate is the same in every visible element's position, size, colours, fonts and text. The result screens match Task 3's live screenshots line for line, apart from the five differences. No check found a defect in the mockups, so no code was changed.

How it was checked

  • Live pages: https://infocommerce.obr.bi/Tariffs (where burundi.tradeportal.org/Tariffs redirects) and https://rwandatrade.rw/Tariffs, each with ?l= for the language. On the live sites only lookups were made: product searches and product details. No estimate was sent.
  • Mockups: the pages under mockups/v7/<country>/, served by npm start. Burundi's Kirundi pages (rn) were captured after this check and are not in it: see what differs from v7, "The texts".
  • Widths: the browser tab set to exactly 1 280 × 900 and 375 × 812 pixels, then reloaded.
  • Same screen: in each state, a script listed every visible element of the header, the tariff page and the footer: its tag, position, size, text colour, background, font size, font, own text and value. The list from the live page and the list from the mockup were compared by hash. "Same" below means the two lists are equal. For the embedded page, both pages were loaded in a frame of the same width, because v7's page reloads itself with embed=false when it is not in a frame.
  • Lists: the items of all 21 dropdowns of the form (product, regimes, countries, preferences, the five currency lists, delivery terms, goods location, packages, procedures), compared by hash, live against mockup.
  • v7's own files: tariffs.js, tariffs-print.js, tariffs-export-csv.js and tariffs.min.css, as the live sites serve them today, are byte for byte the files the mockups copied, for both countries. The mockup's tariffs.js differs from v7's only by the five edits in v7-to-mockup.diff.
  • Screenshots: under mockups/check/, named <country>-<state>-<width>.png, with live- for the live side. The pane scales a 1 280-pixel view to 800 pixels wide, so the 1 280 screenshots are 800 pixels wide. The 375 screenshots of this task are 375 pixels wide; Task 3's are 750 pixels wide (twice the scale). Where the live and the mockup screenshots were identical to the byte, only the mockup's is kept and serves for both.
  • What the evidence is: a row marked "page" in both columns rests on the element lists' hash alone, with no screenshot kept. A row that cites one file in both columns shows the mockup only; it serves for the live side because the two hashes were equal (and the two screenshots identical to the byte). The hash covers each visible element's tag, position, size, colours, fonts, text and value, but not pseudo-elements (::before, ::after) or background images. "Same" means that, and no more.

The live result screenshots

A result needs an estimate, and none was sent for this check. The live side of the result screens is Task 3's screenshots, live-<country>-estimate-<case>-<width>.png, taken on 26-10-2026 when the recordings were made. Two things in them are not fit to compare:

  • The value box beside the total is stale. It shows 0.00 for the CIF value of the rice imports, and the previous FOB value for the coffee exports (2 000 000 BIF for 10 000 000, 1 500 000 RWF for 5 000 000). v7 recomputes that box when a key is released in an amount box ($('.feed-the-cif').keyup in tariffs.js), or when the operation or a currency changes, and not when an amount is set otherwise. In Task 3 the amounts were entered without that key event, so the box kept the figure from before: 0.00 on the imports, and on the exports the import's cost of goods, taken when Export was clicked. The mockup, where the amounts were typed key by key, shows the amount entered. This is not a difference of the mockup.
  • At 375 pixels, Burundi's table is scrolled sideways in the live screenshot, so the first column is hidden. The mockup's screenshot is scrolled the same way to compare. The table's layout is v7's CSS, which is the same on both sides (above).

1. Side by side

Without an estimate

State Country Width Live Mockup Verdict
Empty, public page, English Burundi 1 280 page page Same
Empty, public page, English Burundi 375 bi-empty-375 (identical) bi-empty-375 Same
Empty, public page, French Burundi 1 280 page page Same
Empty, embedded page, in a frame Burundi 1 280 and 375 page page Same
Search by code: 1006, 10.06, 10 06, 10-06, 1006300000, 10063000000, 8703 Burundi 1 280 live-bi-search-code-1280 bi-search-code-1280 Same, each of the seven
Search by code: 1006 Burundi 375 page page Same
Search by words: rice Burundi 1 280 page page Same
No match: xyzzy Burundi 1 280 page page Same
Product chosen, code boxes, unit KGM Burundi 1 280 bi-product-chosen-1280 (identical) bi-product-chosen-1280 Same
Product chosen Burundi 375 page page Same
Product cleared Burundi 1 280 page page Same: back to the empty page's list
Export card, then Import Burundi 1 280 live-bi-export-1280 bi-export-1280 Same
Export card Burundi 375 page page Same
#export on loading Burundi 1 280 page page Same
The four amount rows, a currency list open Burundi 1 280 bi-amounts-1280 (identical) bi-amounts-1280 Same; the 21 lists equal, 19 currencies in each currency list
Cylinder capacity: 87032290000 (Burundi only: OBR's products ask for it; Rwanda has no such scenario) Burundi 1 280 page page Same
Empty, public page, English Rwanda 1 280 rw-empty-1280 (identical) rw-empty-1280 Same
Empty, public page, English Rwanda 375 page page Same; the 21 lists equal, 56 currencies in each currency list
Empty, public page, Swahili and Kinyarwanda Rwanda 1 280 page page Same
Empty, embedded page, in a frame Rwanda 1 280 and 375 page page Same
Search by code: 1006 Rwanda 1 280 rw-search-code-1280 (identical) rw-search-code-1280 Same
Search by code: 1006, 10-06, 2402 Rwanda 375 page page Same
Search by words: rice Rwanda 1 280 and 375 page page Same: the same four ranked lines
No match: xyzzy Rwanda 375 page page Same
Product chosen, code boxes Rwanda 375 rw-product-chosen-375 (identical) rw-product-chosen-375 Same
Product chosen Rwanda 1 280 page page Same
Units: 24022090000, three quantity boxes MIL, PKT, RTP Rwanda 375 page page Same
Product cleared Rwanda 1 280 page page Same
Export card Rwanda 1 280 and 375 page page Same

"Page" means compared by the element lists only, with no screenshot kept.

After an estimate

The mockup's result comes from the recording of the same estimate (Task 3). Live is Task 3's screenshot.

Case Country Width Live Mockup Verdict
Rice import, French Burundi 1 280 live-bi-estimate-import-rice-1280 bi-estimate-import-rice-1280 Differs as decided, difference 1. The total 2 040 680.90 BIF, 9 charges, every line, base, rate and amount the same. The CIF box: see above
Rice import, French Burundi 375 live-bi-estimate-import-rice-375 bi-estimate-import-rice-375 Differs as decided, difference 1. Cards stacked, table scrolled sideways, as live
Coffee export, French Burundi 1 280 live-bi-estimate-export-coffee-1280 bi-estimate-export-coffee-1280 Differs as decided, difference 1. Total 40 180.88 BIF, 2 charges, the same. The FOB box: see above
Coffee export, French Burundi 375 live-bi-estimate-export-coffee-375 bi-estimate-export-coffee-375 Differs as decided, difference 1
Rice import, English Rwanda 1 280 live-rw-estimate-import-rice-1280 rw-estimate-import-rice-1280 Differs as decided, difference 1. Total 781 470 RWF, 7 charges, the same. The CIF box: see above
Rice import, English Rwanda 375 live-rw-estimate-import-rice-375 rw-estimate-import-rice-375 Differs as decided, difference 1. Two cards side by side, then the fees card, as live
Coffee export, English Rwanda 1 280 live-rw-estimate-export-coffee-1280 rw-estimate-export-coffee-1280 Differs as decided, difference 1. Total 3 000 RWF, 3 charges, the same. The FOB box: see above
Coffee export, English Rwanda 375 live-rw-estimate-export-coffee-375 rw-estimate-export-coffee-375 Differs as decided, difference 1

2. Every state, reached by clicking

Each scenario of the index was opened and reached by its clicks, in English at 1 280 pixels unless said otherwise. The product was chosen from the search list; the other fields were set by script with the events v7 listens to; Estimate was clicked. The Product and Shipment states are in the tables above, reached on both the live site and the mockup.

State Burundi Rwanda Verdict
Optional boxes left empty Result 2 040 680.90 BIF, notice Result 781 470 RWF, notice Same as v7, with difference 1
Waiting The button spins, no result, then the result after 8 s The same Same as v7, with difference 1 once the result shows
Result with every line Above Above As above
Result of an export Above Above As above
Result for a car / for cigarettes 87032290000, cylinder capacity 1 400 sent as cylinderCapacity: 20 032 680 BIF 24022090000, quantities 100, 5 000, 1 000 sent as Quantity, Quantity2, Quantity3: 5 134 180 RWF Same as v7, with difference 1
Result in another currency Declaration in USD: 2 025 505.01 USD and the two lines of difference 5 778 472.33 USD and the two lines of difference 5 Differs as decided, differences 1 and 5
Result out of date Cost of goods changed: the result dims, "Out of date" shows above it; Estimate again removes it The same Differs as decided, difference 4
Result cleared Export clicked, or another product chosen: the result empties Export clicked: the result empties Same as v7; difference 4 removes its own mark too
A field refused "items[0].commodityCode Unknown commodity", no result The same Same as v7
External freight at zero "CIF To calculate the duties and taxes for this particular product, values for Insurance and External freight cannot be zero." – (OBR's rule: no scenario for Rwanda) Same as v7, in Burundi only
A currency with no rate Cost of goods in USD: v7's "No exchange rate is available…", nothing sent The same Same as v7
No rate at all Cost of goods in EUR: the same message, nothing sent The same Same as v7
Customs refusing the shipment "The declaration was refused by customs." "Country of origin cannot be RW" Same as v7; the messages are hand-written, see known differences
Customs not answering The button spins, stops after 31 s, nothing shown The same Same as v7
Credentials refused Nothing shown Nothing shown Same as v7
Print sheet v7's sheet with the card: total, notice, boxes, table The same Differs as decided, difference 1 is in the sheet
CSV file duties_estimate_2026-10-26.csv, the table's rows and total The same Same as v7: the notice and the lines of difference 5 are outside the table, so not in the file

3. The five differences, where they show and nowhere else

# Where it shows Where it does not Verdict
1, D4 Under the total of every result above, in both countries, and on the print sheet The empty page, waiting, every refusal and failure, a cleared result (the empty pages' element lists equal the live ones) Differs as decided
2, D23, D52 Rice in Burundi, declaration in BIF, cost of goods 1 234.56 in USD: the request sends InvoiceAmount 3 747 583.18, cents kept, where v7 sends whole units. An amount typed with cents in the declaration currency, 1 234.56 BIF, is sent as 1 234.56, where v7 sends 1 235 An amount typed in whole units of the declaration currency is sent as typed, as v7 does; every recording is in whole units of one currency Differs as decided
3, D53 No edit. The currency lists equal the live ones: 19 codes in Burundi, 56 in Rwanda – Same
4, D33, D54 "Result out of date" in both countries The result after Estimate again, and every other state above Differs as decided
5, D46, D47 "Result in another currency" in both countries: the local total and the rate with its date and source Every result in BIF or RWF (rice, coffee, car, cigarettes, out of date, print, CSV) Differs as decided

Difference 5 at 375 pixels (carried from Task 6): Burundi and Rwanda. The two lines wrap inside the total card; nothing overflows the card or the page. In Rwanda, v7 puts the total card and the CIF card side by side at this width, so the card is narrow and the lines wrap over several short rows. That is v7's layout, not changed in this pass. Difference 4 at 1 280 pixels.

4. Print and CSV

On the live sites, Print and Export CSV were clicked on the empty page, with the browser's print window and download caught by script, so nothing was printed or saved. On both sides the sheet is the same, apart from Google Translate's stylesheet, and the CSV gives v7's alert "No duties data available to export.". After a result, in the mockup, the sheet and the file are v7's, as shown in section 2. The scripts are v7's own files, the same as live.

Known differences

None comes from the mockups' code. Each has its reason.

What Why
The embedded page opened on its own, outside a frame v7's page reloads itself with embed=false when it is not in a frame and its address has embed=. The mockup's address has no embed=, so the page stays embedded. In a frame, as the bar shows it, both are the same
Google Translate's stylesheet missing from the print sheet The Google Translate script is not loaded (see what differs from v7); live, that script adds its own stylesheet to the page, and the print sheet copies every stylesheet of the page
CIF and FOB boxes in the live result screenshots Stale in Task 3's screenshots, for want of a key event (above). The mockup shows what v7's code puts there from the amounts typed
v7's own links inside the frame: the language menu, the site's navigation They point at the live site's paths (/Tariffs?l=fr, /menu/17), which the docs server does not serve; and with <base href="/"> removed (see what differs from v7), any relative one resolves from the copy's folder. The bar changes the language
The failure messages of "Customs refusing the shipment" Written by hand, in the shape v7 receives (Task 4). Rwanda's speaks of an origin RW, with Tanzania chosen
Screenshot sizes The pane's scaling, above. The 1 280 screenshots are 800 × 562 or 800 × 569 pixels, depending on the scroll bar

Back to the mockups, what differs from v7, the design.

Drafted with Claude for melux · UNCTAD · working material, hidden from search enginesUpdated · 26-10-2026