...
Info |
---|
Can I use AI to write code for me? We ask that you avoid using ML code generators such as ChatGPT or GitHub Copilot. Going through the iteration process (design, implementation, test, debug) yourself and gaining experience is much more valuable than completing the bootcamp faster. It also takes the fun out of doing it yourself; is it really an accomplishment if you just copy pasted code someone else wrote? |
Do not raise exceptions. The only exception are assertions, and only for quieting the linter (e.g. Pylance). An assertion used in this way must be impossible to hit.
Info |
---|
What’s wrong with exceptions? Exceptions are computationally expensive to catch, which is why the Autonomy coding style often uses result booleans and/or default values instead. While the program will not crash if your code raises an exception, it will cause an early (graceful) exit. |
Task 1: Implementing ML inference
...