As any good electronics hobbyist must have done, I’ve already built a decade programmable resistor box - see LEAP#414 - but this is one with the Boldport twist. Yes, real pots.
A decade box is an old-fashioned bit of test equipment, allowing an arbitrary resistance to be dialed up to order.
As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub