News for hackers. Stuff that matters.
Re:Solving Algorithmic Problems in Python with Pytest (2019) by madsbuch on Saturday December 19, 2020 @10:19AM (#25477899)
Sure, this is simple! You provide them with a definition written in Coq and make them implement a proof that their implementation satisfies that definition. Use probabilistic couplings to make sure the output of the biased coin function adheres to specified distribution.

You can easily implement a grader that checks the the proof.

There are no comments on this comment yet.