Closed sweep-nightly[bot] closed 10 months ago
src/cnn.py
. ✓
Sandbox logs for
trunk fmt src/cnn.py || exit 0
1/2 ✓Checked 1 file ✔ No issues Run trunk upgrade to upgrade 1 linter
trunk check --fix --filter=-ruff --print-failures src/cnn.py
2/2 ✓Checked 1 file ✔ No issues
src/main.py
. ✓
Sandbox logs for https://github.com/sweepai/evals/commit/f5578c50e0aabaea9bea0becbda1fcab90da7f3a
trunk fmt src/main.py || exit 0
1/2 ✓✔ Formatted src/main.py Re-checking autofixed files... ✔ Formatted src/main.py Re-checking autofixed files... Checked 1 file ✔ No issues Run trunk upgrade to upgrade 1 linter
trunk check --fix --filter=-ruff --print-failures src/main.py
2/2 ✓Checked 1 file ✔ No issues
src/api.py
. ✓
Sandbox logs for https://github.com/sweepai/evals/commit/153a0589902dda50605d3c0b19475baa080fb5d9
trunk fmt src/api.py || exit 0
1/2 ✓✔ Formatted src/api.py Re-checking autofixed files... ✔ Formatted src/api.py Re-checking autofixed files... Checked 1 file ✔ No issues Run trunk upgrade to upgrade 1 linter
trunk check --fix --filter=-ruff --print-failures src/api.py
2/2 ✓Checked 1 file ✔ No issues
Description
This pull request adds a Convolutional Neural Network (CNN) model for MNIST classification. It also updates the import statements and file references accordingly.
Summary
src/api.py
andsrc/main.py
.src/cnn.py
which contains the CNN model for MNIST classification.src/api.py
andsrc/main.py
to use the new CNN model.src/main.py
to save the CNN model.Fixes #9.
🎉 Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py
!💡 To get Sweep to edit this pull request, you can: