Python Testing and Project Tools
Find the project checks that need attention
BOTIE
Examples, experiments and workspace controls
Connect a tool's inputs to see what it produces. You can try a branch before connecting it to Result.
Try your own inputs
Use a copy of the example to try your own data. Keep the problem's assumptions in mind, and predict the effect of a change before checking the output. You can also add another branch to compare two ways of doing the calculation.
Context for this challenge
Return complete check rows whose status is not "passed". Read status, match the text "passed", reverse those decisions and keep the remaining rows. The initial result should show Tests and its boundary-count failure.
One successful tool result was mistaken for a passing project.
Read the status column. Match passed, reverse that selection, and keep the original check rows so their details remain visible.
Examples and results
- Results for every required project check
- check
- Formatting
- status
- passed
- detail
- Source formatting agrees
- check
- Lint
- status
- passed
- detail
- No selected lint errors
- check
- Type checking
- status
- passed
- detail
- No reported type mismatches
- check
- Tests
- status
- failed
- detail
- A reading equal to 25 C was not counted
check status detail Formatting passed Source formatting agrees Lint passed No selected lint errors Type checking passed No reported type mismatches Tests failed A reading equal to 25 C was not counted - Required result
- check
- Tests
- status
- failed
- detail
- A reading equal to 25 C was not counted
check status detail Tests failed A reading equal to 25 C was not counted
- Results for every required project check
- check
- Formatting
- status
- passed
- detail
- Check completed successfully
- check
- Lint
- status
- passed
- detail
- Check completed successfully
- check
- Type checking
- status
- passed
- detail
- Check completed successfully
- check
- Tests
- status
- passed
- detail
- Check completed successfully
check status detail Formatting passed Check completed successfully Lint passed Check completed successfully Type checking passed Check completed successfully Tests passed Check completed successfully - Required result
[]
- Results for every required project check
- check
- Formatting
- status
- not run
- detail
- No result for this run
- check
- Lint
- status
- not run
- detail
- No result for this run
- check
- Type checking
- status
- not run
- detail
- No result for this run
- check
- Tests
- status
- not run
- detail
- No result for this run
check status detail Formatting not run No result for this run Lint not run No result for this run Type checking not run No result for this run Tests not run No result for this run - Required result
- check
- Formatting
- status
- not run
- detail
- No result for this run
- check
- Lint
- status
- not run
- detail
- No result for this run
- check
- Type checking
- status
- not run
- detail
- No result for this run
- check
- Tests
- status
- not run
- detail
- No result for this run
check status detail Formatting not run No result for this run Lint not run No result for this run Type checking not run No result for this run Tests not run No result for this run
Try a fresh construction
This clears this draft, including its undo history. Earlier successful attempts stay recorded. Build again without opening hints to record an independent attempt.
Stuck? Inspect a worked construction
The tools below form one possible solution. You can assemble it, follow its signals, and undo that change to return to your own construction.
Assumptions and test precision
These are supplied check results, not executions of a formatter, linter or type checker. The table is assumed to include every required check for the same code revision. Numerical tests allow a difference of 0.001. Lists and structures must also have the right shape.
Later checks never ran
This check uses the pieces from “List the checks that still need work”.
BOTIE
- Results for every required project check
- check
- Formatting
- status
- failed
- detail
- A formatting change is required
- check
- Lint
- status
- not run
- detail
- Stopped after the earlier failure
- check
- Type checking
- status
- not run
- detail
- Stopped after the earlier failure
- check
- Tests
- status
- not run
- detail
- Stopped after the earlier failure
check status detail Formatting failed A formatting change is required Lint not run Stopped after the earlier failure Type checking not run Stopped after the earlier failure Tests not run Stopped after the earlier failure
Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
Which tool would report a wrong result that still has valid types?
Read each required check result instead of treating one pass as the whole project.
These are supplied check results, not executions of a formatter, linter or type checker. The table is assumed to include every required check for the same code revision.