Closed ascholerChemeketa closed 1 year ago
I stress-tested the deterministic output with a TestCoach that just waited a random amount of time before returning a set string. Works as intended when there are multiple coaches taking variable amounts of time.
One aspect that might be annoying in existing books - Pyflakes complains about * imports.
Personally, I am using this as an excuse to replace them all in my book. But it would not be too hard to filter them out in the Pyflakes coach.
Updated to filter import * related warnings from pyflakes to avoid scary warnings in existing books.
Coaches are added to a list during ActiveCode construction.
runCoaches function is triggered on program run. It asynchronously runs all coaches, but then waits for all results so Code Coach div can display any coach feedback deterministically in the order coaches were created.
Questions/Comments: