[
{"name": "in force today", "args": ["2026-09-23"], "expect": {"basisPoints": 375, "validFrom": "2025-12-18", "validTo": null}},
{"name": "the day a cut takes effect", "args": ["2025-12-18"], "expect": {"basisPoints": 375, "validFrom": "2025-12-18", "validTo": null}},
{"name": "the day before it", "args": ["2025-12-17"], "expect": {"basisPoints": 400, "validFrom": "2025-08-07", "validTo": "2025-12-17"}},
{"name": "the 0.1% emergency low of March 2020", "args": ["2021-06-30"], "expect": {"basisPoints": 10, "validFrom": "2020-03-19", "validTo": "2021-12-15"}},
{"name": "the short-lived 0.25% between the two March 2020 cuts", "args": ["2020-03-15"], "expect": {"basisPoints": 25, "validFrom": "2020-03-11", "validTo": "2020-03-18"}},
{"name": "the 5.25% peak", "args": ["2024-06-30"], "expect": {"basisPoints": 525, "validFrom": "2023-08-03", "validTo": "2024-07-31"}},
{"name": "seven years at 0.5% after March 2009", "args": ["2012-12-31"], "expect": {"basisPoints": 50, "validFrom": "2009-03-05", "validTo": "2016-08-03"}},
{"name": "a leap day", "args": ["2024-02-29"], "expect": {"basisPoints": 525, "validFrom": "2023-08-03", "validTo": "2024-07-31"}},
{"name": "the first date the data covers", "args": ["2001-11-08"], "expect": {"basisPoints": 400, "validFrom": "2001-11-08", "validTo": "2003-02-05"}},
{"name": "30 June 2002, the first reference date of the Late Payment rate order", "args": ["2002-06-30"], "expect": {"basisPoints": 400, "validFrom": "2001-11-08", "validTo": "2003-02-05"}},
{"name": "before the credit crunch cuts", "args": ["2007-12-31"], "expect": {"basisPoints": 550, "validFrom": "2007-12-06", "validTo": "2008-02-06"}},
{"name": "a date before the data begins is refused", "args": ["2001-11-07"], "expectError": "no Bank Rate on 2001-11-07"},
{"name": "an impossible date is refused", "args": ["2025-02-29"], "expectError": "not a real calendar date"},
{"name": "a malformed date is refused", "args": ["31/12/2025"], "expectError": "not an ISO date"}
]