COMPUTE_FAILED
What happened
compute() raised an error. The message names the file, the line and the function where it was raised, then the error's own type and text, and ends with this code.
Common causes
- An exception inside
compute(), or inside a function of your file that it calls. - An
assertthat failed. The message then readsA requirement failed:and the assert's own text, orAn assert failed.when it has none.
What to do
Open your file at the line the message names and fix the error there.
Example
text
strategy.py, line 12, in compute: compute() raised ZeroDivisionError: division by zero [COMPUTE_FAILED]The wording of the message depends on your file, and the code does not.