A deficiency leaves the buyer without a part of the promised goods, giving an option to accept proportionally or rescind. A surplus, by contrast, consists of quantities that were never sold.
90 found instead of 100 → 90 at proportional price, or rescission.
110 found instead of 100 → 100 bought; 10 remain the seller’s.
A buyer’s option and ownership of surplus are distinct legal questions.