Determinacy, learnability, and discretionary policy