Menu

Thirty of our 65 providers were £5 cheaper, and deleting that rule removed 67 tests
📰

Thirty of our 65 providers were £5 cheaper, and deleting that rule removed 67 tests

DEV Community: typescript·Daniel Pertu·4 days ago
#96gQpuYC
#devtotypescript#devto#dev#provider#price
Reading 0:00
15s threshold

We sell access to one assessment provider at a time. Providers vary a lot in size: our Arctic Shores suite is 14 games, TestGorilla is 17, and the College of Policing is two, because the real sift there is exactly two automatically scored exercises.

Charging one price for both ends of that range felt wrong, so for months we did not. A provider with five or fewer playable games cost £10 instead of £15, and its bundle with scores and feedback cost £15 instead of £20. As of yesterday every provider costs the same, and the removal is 81 files, 94 insertions and 770 deletions.

The rule was derived, which was the good part and the problem

The tier was never a column or a hand-kept list. It was computed from the library:

function isSmallProvider ( provider ?: AssessmentProvider | string | null ) : boolean { if ( !…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.