sweepai / evals

Apache License 2.0
0 stars 0 forks source link

Add tests using mocker to main.py #67

Closed sweep-nightly[bot] closed 1 year ago

sweep-nightly[bot] commented 1 year ago

Description

This PR adds tests using mocker to the main.py file in order to ensure the correctness of the MNIST digit classification pipeline. The tests cover data loading and preprocessing, model definition, and training. The tests are written in a separate test file, following best practices for test organization. The code is properly formatted, indented, and includes descriptive variable and function names, organized imports, and no unused imports or variables. The code is also properly commented and includes docstrings for functions and classes.

Summary of Changes

Fixes #10.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-nightly[bot] commented 1 year ago

Rollback Files For Sweep

sweep-nightly[bot] commented 1 year ago

Apply Sweep Rules to your PR?