Changelog 0366493tree
Verify and document bug-label review (#241–271)
Fixes #241 Fixes #242 Fixes #243 Fixes #244 Fixes #245 Fixes #246 Fixes #247 Fixes #248 Fixes #249 Fixes #250 Fixes #251 Refs #252 Refs #253 Fixes #254 Fixes #255 Fixes #256 Fixes #257 Fixes #258 Fixes #259 Fixes #260 Fixes #261 Fixes #262 Fixes #263 Fixes #264 Fixes #265 Fixes #266 Fixes #267 Fixes #268 Fixes #269 Fixes #270 Fixes #271 93 answer/profile tests and 47 history tests pass. Build, SEO and 30 rendered country pages/exports verified. Comments posted on all reports; 29 closed, two remain open for legal verification.
2 files of code, design or docs +183 −0 lines
Code, design and documents 2 files
docs/research/bug-review-2026-10-27.md +109 −0
@@ -0,0 +1,109 @@ +# Bug review — 27 October 2026 + +Reviewed the 31 open `bug` reports #241–271, critical first. No personal-freedom scores changed. The user expressly authorised comments on the issues and closing resolved reports. Mali #252 and Armenia #253 remain open for the manufacturing questions below. No push or deployment was performed. + +## Resolutions and sources + +| Issue | Profile | Finding and correction | Sources read | +|---|---|---|---| +| #241 | pk | **Confirmed.** Replaced the unfinished-framework account with published cultivation, extraction, manufacturing and research application requirements. No issued-licence count, exact portal launch date or patient supply is inferred. | [ccra_scope](https://www.elicense.ccra.gov.pk/pre-requisite) | +| #242 | kr | **Confirmed.** Separated five-year ordinary possession from import/export carrying life or at least five years, including the possession-table note. | [nca2026](https://law.go.kr/LSW/lsLawLinkInfo.do?chrClsCd=010202&lsId=002025&lsJoLnkSeq=1000526799&print=print), [customs](https://www2.customs.go.kr/incheon_airport/cm/cntnts/cntntsView.do?cntntsId=6689&mi=12546) | +| #243 | jp | **Confirmed.** Added the separate one-to-ten-year import/export tariff and the ministry warning about overseas cannabis food and cartridges. | [mhlwtravel](https://www.mhlw.go.jp/content/11120000/001682852.pdf) | +| #244 | id | **Confirmed.** Added Article 610 importation (up to fifteen years) and the aggravated plant threshold with capital/life exposure, without restoring superseded minimums. | [uu2026](https://jdihdprd.bandungkab.go.id/asset/file_hukum/No_1_Tahun_2026__69df0feee34a76.73084363.pdf), [fcdo](https://www.gov.uk/foreign-travel-advice/indonesia/safety-and-security) | +| #245 | hk | **Confirmed.** Expanded visitor guidance from CBD alone to controlled-cannabis import/export and its life/HK$5m maximum, distinct from simple possession. | [ndlaw](https://www.nd.gov.hk/en/anti.html), [hkpf](https://www.police.gov.hk/ppp_en/04_crime_matters/drug/law_pen.html) | +| #246 | tw | **Confirmed.** Added transport/import exposure (life or at least ten years), while preserving the pure-drug possession distinction and Article 17 mitigation. | [moj](https://law.moj.gov.tw/ENG/LawClass/LawAll.aspx?pcode=C0000008), [customs2024](https://web.customs.gov.tw/etaipei/singlehtml/1373?cntId=4a12960866294b029ad6bea2fa4ff4da) | +| #247 | my | **Confirmed.** Added the separate section 4 import offence (three–five years). Audit cleanup also encodes existing caning ranges and adult statutory cap. | [dda](https://pharmacy.moh.gov.my/sites/default/files/document-upload/dangerous-drugs-act-1952-act-234_2.pdf), [cpc288](https://www.easylaw.com.my/statutes/criminal/criminal-procedure-code) | +| #248 | fj | **Confirmed.** Removed the medical-production classification supported by a proposal and a separate hemp exemption; production is none pending a verified operative medicinal-production route. | [cabinet2024](https://www.fiji.gov.fj/decisions-made-at-the-cabinet-meeting-of-6-february-2024/), [act2026](https://www.parliament.gov.fj/wp-content/uploads/2026/10/Act-32-Counter-Narcotics-Act-2026.pdf) | +| #249 | fj | **Confirmed, commencement limited.** Removed unverified 2026 personal-use tiers from active penalty rows; retained the 2004 statutory maximum and separately explained judicial guidelines and future legislation. No commencement notice activating section 79 was verified. | [act2004](https://www.health.gov.fj/wp-content/uploads/2018/02/Fiji-Illicit-Drug-Act-2004.pdf), [act2026](https://www.parliament.gov.fj/wp-content/uploads/2026/10/Act-32-Counter-Narcotics-Act-2026.pdf) | +| #250 | gg | **Confirmed.** Changed production to medical using the government’s March 2026 account of revised cultivation licensing. No current company count or operating harvest is asserted. Removed an invalid enforcement penalty table whose facts remain in Visitors. | [industry2026](https://parliament.gg/parliamentary-business/assets/propositions/P2026-10-P2026-10-Letter-of-Comment) | +| #251 | ps | **Confirmed.** Replaced the denial of a medical exception with Article 3 institutional medical/scientific cultivation licences; actual starting status was none, now medical. Patient supply remains unverified. | [dl18](https://maqam.najah.edu/legislation/72/) | +| #252 | ml | **Partly resolved — open.** Changed production to none: the only named project was revoked in 2020. Article 9 prohibits cannabis cultivation; the reviewed sources establish no replacement permission. Remaining: establish the current cannabis schedule and whether Articles 12–13 permit separate cannabis-medicine manufacture, independently of the revoked cultivation project. The cultivation ban and revocation alone do not settle that question. | [law](https://sgg-mali.ml/JO/2002/mali-jo-2002-29.pdf), [hemp2020](https://www.maliweb.net/societe/culture-du-chanvre-industriel-au-mali-les-precisions-du-directeur-general-de-locs-2875623.html) | +| #253 | am | **Partly resolved — open.** Added standard 0.3% hemp and classified the documented industrial route as hemp. This does not assert a universal prohibition on every separately authorised controlled-medicine activity. Remaining: reconcile the cannabis Schedule I restriction with Articles 14 and 31.1 before treating all medical/scientific manufacturing permissions as excluded. | [hempact](https://arlis.am/hy/acts/218654) | +| #254 | hr | **Confirmed.** Converted current fine fields and prose to EUR663.61–2,654.46; retained detention and historical source wording. The shared renderer now preserves statutory cents. | [eurocourt](https://www.zakon.hr/c/sudska-praksa/1367130/pp-586-2024-6---opcinski-sud-u-rijeci) | +| #255 | bg | **Confirmed.** Converted current monetary tariffs at the full BGN1.95583/EUR rate with cent rounding, including the possession minimum. Historical 2014 lev amounts remain historical. | [code](https://lex.bg/laws/ldoc/1589654529), [eurolaw](https://elhovo-rs.justice.bg/upload/136279/%D0%97%D0%B0%D0%BA%D0%BE%D0%BD%20%D0%B7%D0%B0%20%D0%B2%D1%8A%D0%B2%D0%B5%D0%B6%D0%B4%D0%B0%D0%BD%D0%B5%20%D0%BD%D0%B0%20%D0%B5%D0%B2%D1%80%D0%BE%D1%82%D0%BE%20%D0%B2%20%D0%A0%D0%91.pdf), [euro2026](https://www.ecb.europa.eu/press/pr/date/2026/html/ecb.pr260101~c830245e42.en.html) | +| #256 | jo | **Partly confirmed.** Classified the restricted prescription CBD framework as limited; access remains zero because registered products and pharmacy supply were not independently established. | [cbd_reprint](https://hasanajo.com/laws/تعليمات-تداول-وتصدير-المستحضرات-والمستخلصات-والزيوت-المحتوية-على-مادة--1dd044/7) | +| #257 | gi | **Confirmed.** Changed production to none while the official medicinal-industry Act is not in force. Patient access is unchanged. | [m21](https://www.gibraltarlaws.gov.gi/legislations/medicinal-cannabis-act-2021-6247/download) | +| #258 | cw | **Confirmed.** Changed ANG to XCG and current fine prose to Cg at 1:1; retained the distinction between prosecutor requests and statutory maxima. Renderer supports the official Cg symbol. | [currency2025](https://www.centralbank.cw/functions/banknotes-coins/caribbean-guilder/frequently-asked-questions) | +| #259 | sx | **Confirmed.** Expressed the old prosecution request in current Cg units at 1:1; retained its status as a request rather than a fixed statutory fine. | [currency2025](https://www.centralbank.cw/functions/banknotes-coins/caribbean-guilder/frequently-asked-questions) | +| #260 | rs | **Partly confirmed.** Separated hemp agriculture from Article 25 substance/site/quantity-specific manufacture permissions, read with controlled-substance schedules and Article 12. Retained medical for restricted research/exceptional-therapy manufacturing; high-THC cultivation remains prohibited. | [zpks](https://www.paragraf.rs/propisi/zakon_o_psihoaktivnim_kontrolisanim_supstancama.html), [schedules26](https://www.paragraf.rs/propisi/pravilnik-o-utvrdjivanju-spiska-psihoaktivnih-kontrolisanih-supstanci.html) | +| #261 | hu | **Confirmed.** Replaced industrial-hemp-only prose with the separate licensed high-THC scientific cultivation, breeding and preservation route. Retained medical production because this taxonomy includes research. | [d162](https://njt.jog.gov.hu/jogszabaly/2003-162-20-22) | +| #262 | kz | **Partly confirmed.** Added standard industrial hemp and current 2026 security/testing rules. Retained medical for Article 22’s licensed scientific cultivation, explicitly separating the medicinal-drug crop restriction and hemp route. Added the 2026 amendment to history. | [hemp797](https://old.adilet.zan.kz/rus/docs/P2500000797), [current279](https://old.adilet.zan.kz/rus/docs/Z980000279_/compare/eng) | +| #263 | ee | **Partly confirmed.** Corrected the blanket growing ban and added standard hemp. Retained medical production because the regulator explicitly describes medicinal extraction/manufacturing licences; drug-cannabis cultivation remains prohibited. | [ravim](https://www.ravimiamet.ee/en/node/83) | +| #264 | co | **Confirmed.** Replaced the case-law-only claim with the written personal autocultivo exemption from licences/quotas and the prohibition on third-party transfers. | [d811](https://normograma.dian.gov.co/dian/compilacion/docs/decreto_0811_2021.htm) | +| #265 | be | **Partly confirmed.** Added standard agricultural hemp and distinguished the cultivation ban from Article 6 licensed controlled-substance manufacture. Retained medical production for the separate medical/scientific manufacturing route; this does not license a cannabis crop. | [hemp2026](https://lv.vlaanderen.be/plant/akkerbouw/melden-van-teeltintentie-hennep), [activities](https://www.afmps-fagg.be/fr/humain/produits_particuliers/subst_specialement_reglementees/stupefiants_et_psychotropes/autorisation_d_activites) | +| #266 | lt | **Partly confirmed.** Corrected the blanket cultivation statement and added standard hemp/garden conditions. Retained medical production after locating the separate controlled-medicines manufacturing licence route. | [hempguide](https://vatzum.lrv.lt/media/viesa/saugykla/2024/5/_3dr9BKvgq8.pdf), [manufacture](https://vvkt.lrv.lt/en/licensing-of-pharmaceutical-activity-342/licensing-of-activity-related-to-narcotic-and-psychotropic-substances-of-schedule-ii-and-iii-or-psychotropic-substances-of-schedule-iii/) | +| #267 | lv | **Confirmed.** Added outdoor industrial/garden hemp and qualified criminal cultivation. Retained medical production for Article 7 controlled scientific cultivation, replacing the industrial-hemp-only explanation. | [control](https://likumi.lv/ta/id/40283-par-narkotisko-un-psihotropo-vielu-un-zalu-likumigas-aprites-kartibu), [agriculture2024](https://www.zm.gov.lv/lv/media/17777/download?attachment=) | +| #268 | cz | **Confirmed.** Specified blood serum for the 2 ng/ml administrative threshold, preserving the separate 10 ng/ml serum criminal threshold and all scores. | [reg41](https://www.zakonyprolidi.cz/cs/2014-41) | +| #269 | ro | **Confirmed.** Corrected risk-drug supply to three–ten years in prose and structured penalties. Added licensed agricultural hemp, corrected cultivation/seed wording, and added publication-dated sentencing and hemp-support history. All score bands remain unchanged. | [trafficking2023](https://legis.medleg.ro/legislatie/2023-lege-45), [hemp125](https://legislatie.just.ro/Public/DetaliiDocument/307721), [hemp2025](https://legislatie.just.ro/Public/FormaPrintabila/00000G3B9H4MEFCAEQ31WSUM1QWOU65F) | +| #270 | bz | **Partly confirmed.** Added standard registered industrial hemp and qualified the blanket growing ban. Production was already hemp in the local baseline, so it was preserved. The original 2019 1% text is distinguished from the indexed 2020 amendment to 0.3%. | [hemp_regs](https://www.agm.gov.bz/uploads/laws/63f5161530204_Cap_103_Misuse_of_Drugs_Regulations_1.pdf), [hemp_original](https://www.policytracker.bz/wp-content/uploads/2019/09/industrial-hemp-regulations-2019.pdf) | +| #271 | fi | **Confirmed.** Changed agricultural-hemp status from strict to standard using the Food Authority’s 2026 0.3% guide; kept CBD product rules separate. | [hemp2026](https://www.ruokavirasto.fi/tuet/maatalous/oppaat/hakuoppaat/hakuoppaat/hamppu/hamppu-2026/) | + +## Source limits + +- Reviews cover the relevant provisions, not whole legal systems or every possible permit. Legal permission does not prove a current company licence, commercial harvest, product registration or stocked pharmacy. +- Romania’s official portal repeatedly returned 502 errors. The sentencing amendment was read in the LegisRO reproduction; Article 17 was read in the February 2025 LexApp reproduction and indexed official passages. The 0.3% subsidy condition is not a general permission to grow any cannabis plant. The sentencing history uses the verified 2 March publication date rather than claiming that publication itself was commencement. +- Belize’s consolidated government PDF could not be downloaded. Its regulation 3 amendment to 0.3% was read in the indexed official PDF; the 2019 gazette reproduction was opened and read for registration, field size, movement and research rules. The original 1% figure was superseded. +- Latvia’s live statute and ministry page timed out repeatedly. The current indexed official Articles 6–7, with the March 2026 annotation, were read; agricultural THC/seed conditions were checked against the ministry’s indexed agriculture report. No new 2026 entitlement is inferred merely from a procedural amendment. +- Kazakhstan’s Resolution 797, including the 2026 amendments, was opened and read. Current Article 22 was retrieved in the official indexed bilingual text. Article 18’s full exception procedure was not recovered; the text preserves that cross-reference rather than expanding its scope. +- Jordan’s JFDA facsimile timed out. Instructions 1/2023 Articles 2 and 5–7 were read in the Hasana statutory reproduction, which identifies the Legislation and Opinion Bureau as its source. No specific product registration or pharmacy stock was established. +- The Gibraltar official listing says NOT IN FORCE. Fiji’s enacted 2026 PDF was downloaded and relevant sections extracted, including section 1(2) and section 79; official/indexed Gazette and parliamentary searches found no activating notice. This is a verification limit, not proof that no notice can exist. +- Malaysia’s current drug statute was read from the ministry PDF. The adult caning cap was checked in the indexed official procedural-code text and the statutory reproduction, alongside the quoted 2024 appellate discussion; the newly structured ranges do not remove statutory exemptions. +- Guernsey’s 2026 official letter supports a present licensing route and limited commercial interest; the 2021 first-company licence claim was not used as evidence of a current operating grower. + +## Validation + +93 answer/profile tests and 47 history tests pass in an isolated checkout matching every batch file. All 30 profile audits pass with no errors (147 advisory warnings). The build passed: 4,889 pages in 53.41 seconds. The SEO audit passed across 4,891 HTML files, 4,674 indexable pages and 225,312 internal links. All 30 rendered country pages and JSON exports were checked, including exact euro cents, the Cg symbol, the serum threshold and Fiji’s active penalty rows. `git diff --check` passes. + + +## Local commits + +| Commit | Issues | +|---|---| +| 7fb1c45a | #242, #243, #244, #245, #246, #247 | +| 0173c20c | #248, #249 | +| 05b56bce | #254, #255, #258, #259 | +| 7c204ed4 | #241, #250, #251, #252, #253, #257, #260, #261, #263, #264, #265, #266, #267, #270, #271 | +| 5bb4dcd2 | #256 | +| 10c14715 | #268 | +| e35d7880 | #262, #269 | +| 871254a | #263 extraction follow-up | +| f077de3 | #260 manufacturing follow-up | +| 39b19de | #265 manufacturing follow-up | + +## GitHub results + +Comments posted on all 31 issues with sources, local commits and validation. Closed 29 as completed; Mali #252 and Armenia #253 remain open with the outstanding manufacturing questions. All fixes are committed locally; none were pushed or deployed. + +| Issue | Result | Comment | +|---|---|---| +| #241 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/241#issuecomment-6454407013) | +| #242 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/242#issuecomment-6454407904) | +| #243 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/243#issuecomment-6454408721) | +| #244 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/244#issuecomment-6454409625) | +| #245 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/245#issuecomment-6454410517) | +| #246 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/246#issuecomment-6454411294) | +| #247 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/247#issuecomment-6454412199) | +| #248 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/248#issuecomment-6454414387) | +| #249 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/249#issuecomment-6454415191) | +| #250 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/250#issuecomment-6454416074) | +| #251 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/251#issuecomment-6454416925) | +| #252 | Open — further verification | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/252#issuecomment-6454280589) | +| #253 | Open — further verification | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/253#issuecomment-6454280933) | +| #254 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/254#issuecomment-6454417876) | +| #255 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/255#issuecomment-6454418873) | +| #256 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/256#issuecomment-6454419734) | +| #257 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/257#issuecomment-6454421855) | +| #258 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/258#issuecomment-6454422714) | +| #259 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/259#issuecomment-6454423734) | +| #260 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/260#issuecomment-6454424595) | +| #261 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/261#issuecomment-6454425346) | +| #262 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/262#issuecomment-6454426182) | +| #263 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/263#issuecomment-6454427028) | +| #264 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/264#issuecomment-6454429737) | +| #265 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/265#issuecomment-6454430583) | +| #266 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/266#issuecomment-6454431477) | +| #267 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/267#issuecomment-6454432422) | +| #268 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/268#issuecomment-6454433472) | +| #269 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/269#issuecomment-6454434467) | +| #270 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/270#issuecomment-6454435332) | +| #271 | Closed — completed | [Issue comment](https://github.com/burningtree/cannabis-freedom-index/issues/271#issuecomment-6454436140) |
scripts/profile-claims.test.mjs +74 −0
@@ -859,2 +859,76 @@ test('Taiwan distinguishes legislative passage, effective growing penalties and assert.match(all.find(e => e.id === 'taiwan-interpretation-790-2020').description, /after that deadline.*up to half/); }); + +test('visitor guidance separates importation from domestic possession (#242–247)', () => { + for (const [id, range] of [ + ['kr', /life imprisonment or at least five years/], + ['tw', /life imprisonment or at least ten years/], + ['hk', /life imprisonment and HK\$5 million/], + ['id', /up to fifteen years/], + ['jp', /one to ten years/], + ['my', /three to five years/], + ]) { + const visitor = country(id).context.visitors; + assert.match(visitor.text, /import|border/i, id); + assert.match(visitor.text, range, id); + } + const kr = country('kr').segments.possession; + assert.doesNotMatch(kr.text, /This includes.*brought or mailed from abroad/); + assert.match(country('tw').context.visitors.text, /Article 17.*reduction/); + assert.match(country('id').context.visitors.text, /over 1 kg or more than five plants/); +}); + +test('Fiji keeps unverified future personal-use penalties out of active rows (#248–249)', () => { + const fj = country('fj'); + assert.equal(fj.context.production.status, 'none'); + assert.equal(fj.segments.possession.penalties.length, 1); + assert.equal(fj.segments.possession.penalties[0].fine, 1000000); + assert.match(fj.segments.possession.text, /awaiting verified commencement/); +}); + +test('hemp cultivation exceptions and research routes remain explicit (#250–253, #257, #260–267, #270–271)', () => { + for (const id of ['am', 'be', 'bz', 'ee', 'fi', 'kz', 'lt', 'lv', 'ro']) { + assert.equal(country(id).context.hemp.status, 'standard', id); + assert.match(country(id).context.hemp.text, /0\.3%/, id); + } + for (const id of ['am', 'bz']) assert.equal(country(id).context.production.status, 'hemp', id); + for (const id of ['gi', 'ml']) assert.equal(country(id).context.production.status, 'none', id); + for (const id of ['gg', 'hu', 'kz', 'lv']) { + assert.equal(country(id).context.production.status, 'medical', id); + assert.match(country(id).context.production.text, /licen|permit/i, id); + } + assert.match(country('ps').context.production.text, /Article 3/); + assert.equal(country('be').context.production.status, 'medical'); + assert.match(country('be').context.production.text, /Article 6/); + assert.equal(country('rs').context.production.status, 'medical'); + assert.match(country('rs').context.production.text, /Article 25/); + assert.match(country('ee').context.production.text, /medicines-manufacturing licence/); + assert.match(country('lt').context.production.text, /manufacturing licence/); + assert.doesNotMatch(country('co').segments.cultivation.text, /rests on case law rather than/); + assert.match(country('co').segments.cultivation.text, /exempt.*licensing and state quotas/); +}); + +test('current fines use euro and Caribbean-guilder units without dropping cents (#254–255, #258–259)', async () => { + const { formatFine } = await import('../src/lib/penalties.js'); + const hr = country('hr').segments.possession, bg = country('bg').segments.possession; + assert.equal(hr.currency, 'EUR'); + assert.equal(hr.penalties[0].fine_min, 663.61); + assert.equal(hr.penalties[0].fine, 2654.46); + assert.equal(bg.currency, 'EUR'); + assert.equal(bg.penalties[0].fine, 5112.92); + assert.equal(bg.penalties[1].fine, 511.29); + assert.equal(country('cw').segments.possession.currency, 'XCG'); + assert.match(country('sx').segments.possession.text, /Cg 500/); + assert.equal(formatFine(2654.46, 'EUR'), '€2,654.46'); + assert.equal(formatFine(500, 'EUR'), '€500'); + assert.match(formatFine(500, 'XCG'), /^Cg\s*500$/); +}); + +test('Jordan CBD permission, Czech serum and Romanian supply penalties stay distinct (#256, #268–269)', () => { + assert.equal(country('jo').medical, 'limited'); + assert.equal(country('jo').scores.access, 0); + assert.match(country('cz').context.driving.text, /2 ng\/ml of delta-9-THC in blood serum/); + const row = country('ro').segments.sharing.penalties[0]; + assert.equal(row.prison_min, '3 years'); + assert.equal(row.prison, '10 years'); +});