Describe the task
As the repo has grown, so has the clutter in the shared Python code. Files such as utils.py have become overwhelmingly large and have mixed purposes now rather than single responsibilities.
Once the dust settles a bit on the initial samples being added, we should refactor this codebase appropriately. When we do, we must also ensure all tests are adapted and pass.