Challenge
Test the pipeline
…Add checks for check_limits() : a reading above its range, one below, and one exactly at the upper limit, which is allowed and must give None . Keep the passed line at the end. The hidden tests now…
Showing 11–13 of 13
Challenge
…Add checks for check_limits() : a reading above its range, one below, and one exactly at the upper limit, which is allowed and must give None . Keep the passed line at the end. The hidden tests now…
Challenge
Build the station's weekly shift rota: three shifts a day, the crew taken in turn so nobody works two shifts in a row, with a check that proves it, then plan around days off while keeping the work…
Challenge
Simulate 100 sensor readings, each with a 5% chance of a glitch, and seed random with 42 so the count is the same on every run and a test can check it exactly, then pick a kind for each glitch with…