I built the same thing three times.
The small system, written as a web page, takes input in the form of an _inputValue_ and a _unit_, and a _scale_ to contextualise the number and the unit, and converts that number to a _textOutput_ expressing that number as something else in the scale, typically of the right size to be comprehensible. Typical scales are time and distance.
Starting with the same tests, (mostly) the same instructions, and the same names for the target files, I asked an LLM to iterate until the code it put into the files passed the tests.
Here they are, each with their tests. They all take the same unit configuration.
You'll see that I've lied about the tests. I'd have sworn they all passed. Anyway, that's for another day.
Explore, compare and contrast