Results for “range”

Showing 11–13 of 13

  1. 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…

    Write the code Hard 2 stages project testing assert try
  2. Challenge

    Shift rota

    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…

    Write the code Hard 2 stages project scheduling lists tuples
  3. Challenge

    Seeded simulation

    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…

    Write the code Easy 2 stages random random.seed random.choice simulation