Closed sweep-ai[bot] closed 10 months ago
README.md
β
Sandbox logs for
pre-commit install
1/2 βpre-commit installed at .git/hooks/pre-commit
trunk init
2/2 β (`1`)β Invalid .trunk/trunk.yaml, no cli version found. See https://docs.trunk.io for more info.
[X] Check .trunk/trunk.yaml
β
Run `.trunk/trunk.yaml` through the sandbox.
[X] Check README.md
β
Sandbox logs for
pre-commit install
1/2 βpre-commit installed at .git/hooks/pre-commit
trunk init
2/2 β (`1`)β Invalid .trunk/trunk.yaml, no cli version found. See https://docs.trunk.io for more info.
[X] Check test/test_tomato_attack.py
β
Run `test/test_tomato_attack.py` through the sandbox.
[X] Check test/test_word_embedding_attack.py
β
Run `test/test_word_embedding_attack.py` through the sandbox.
The command:
Run docker run --rm beyond_the_nest:test 10
yielded the following error:
##[error]Process completed with exit code 1.
Here are the logs:
/usr/local/bin/python: Error while finding module specification for 'pulling_ace.cli' (ModuleNotFoundError: No module named 'pulling_ace')
Done.
PR Feedback (click)
I created this PR to address this rule:
"Code should always include unit tests."
Description
This PR addresses the issue of missing unit tests documentation and code in the repository. The README.md file has been updated to include a new section about unit tests, their importance, and instructions on how to run them. Additionally, unit test code has been added to the existing test files in the test/ directory.
Summary of Changes
Please review and merge this PR to ensure the reliability and correctness of the codebase.