Because Runestone environments do not support external network or graphics libraries, you will use pure Python lists, dictionaries, and math functions to calculate travel distances, evaluate bids, and assign tasks.
A cargo-sorting robotβs vision system reports low classification confidence for an object sitting between two bins. The routing logic must decide what to do before the arm commits to a pickup.
Pick the bin with the higher of the two possible scores, no matter how small the margin.
Committing to whichever score is higher, even by a negligible margin, ignores the fact that the classifier itself reported low confidence in either answer.
Route the item to a holding zone or request another sensor reading before committing.
Correct. Committing to a low-confidence classification risks an incorrect placement that is costly to reverse, so the safer design treats low confidence as its own case rather than forcing a guess between the two closest categories.
Skip the item entirely and never attempt to sort it.
Permanently abandoning the item discards a task that could still be completed correctly with a second reading or a brief hold, so this throws away recoverable work.
Always default to the near-side bin regardless of classification.
Ignoring the classifier output entirely and routing by convenience defeats the purpose of the vision system and will misplace cargo whenever the near-side bin is wrong.