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/46ccf85ba5409fdfb9375c6a179ed6fa450ee031
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/65c814323bf275a7c1a780567ebe9e5437fa77c0
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: