Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve README.md #28

Merged
merged 6 commits into from
Nov 3, 2023
Merged

Improve README.md #28

merged 6 commits into from
Nov 3, 2023

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Nov 3, 2023

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement

Description

This PR improves the README.md file by incorporating the requested changes. It adds references to the Garak library, provides CLI examples, explains how PullingAce differs from TextAttack, and details the features of generative models. Additionally, it updates the installation instructions to include cloning the repository and navigating to the root directory.

Summary of Changes

  • Added a reference to the Garak library in the "PullingAce: Benchmarking Robustness for LLM Models" section.
  • Added a CLI example with the tomato attack in the "Features for Classification" section.
  • Added a new subsection "How is PullingAce different from TextAttack?" in the "Features for Classification" section.
  • Added a description of prompt injection and toxicity features from the Garak library in the "Features for Generative Models" section.
  • Added a CLI example with a prompt injection example in the "Features for Generative Models" section.
  • Updated the installation instructions to include cloning the repository and navigating to the root directory.

Please review and merge these changes. Thank you!

Fixes #26.


🎉 Latest improvements to Sweep:


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

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

Copy link
Contributor Author

sweep-ai bot commented Nov 3, 2023

Sandbox Executions

  • 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.
  • Check .trunk/trunk.yaml
Run `.trunk/trunk.yaml` through the sandbox.
  • 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.

Copy link
Contributor Author

sweep-ai bot commented Nov 3, 2023

Apply Sweep Rules to your PR?

  • Apply: All docstrings and comments should be up to date.
  • Apply: Code should always include unit tests.
  • Apply: Commit messages should be descriptive and explain the purpose of the changes.
  • Apply: Code should not be committed without proper testing.
  • Apply: Code should follow a consistent coding style and formatting.
  • Apply: Code should not be committed if it is incomplete or not ready for production.

@sweep-ai sweep-ai bot added the sweep label Nov 3, 2023
@sweep-ai sweep-ai bot mentioned this pull request Nov 3, 2023
4 tasks
Copy link
Contributor Author

sweep-ai bot commented Nov 3, 2023

The command:
Run pipenv run mypy
yielded the following error:
`##[error]Process completed with exit code 2.
##[group]Run docker build . -t beyond_the_nest:test
�[36;1mdocker build . -t beyond_the_nest:test�[0m
shell: /usr/bin/bash -e {0}
##[endgroup]
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 992B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 145B done
#2 DONE 0.0s

#3 [auth] library/python:pull token for registry-1.docker.io
#3 DONE 0.0s

#4 [internal] load metadata for docker.io/library/python:3.10-slim
#4 DONE 0.4s

#5 [internal] load build context
#5 transferring context: 170.52kB done
#5 DONE 0.0s

#6 [base 1/1] FROM docker.io/library/python:3.10-slim@sha256:3c9182c6498d7de6044be04fb1785ba3a04f953d515d45e5007e8be1c15fdd34
#6 resolve docker.io/library/python:3.10-slim@sha256:3c9182c6498d7de6044be04fb1785ba3a04f953d515d45e5007e8be1c15fdd34 done
#6 sha256:ac65017cfc5699a3ab0e5ed6e11c321fc0c664fd6b4c8744cda7914e74897c47 3.51MB / 3.51MB 0.1s
#6 sha256:146269b80f9cf49d0a8468344c664ea4368c54f4a53f9aa61ebf626adf0d2836 0B / 12.38MB 0.1s
#6 sha256:3c9182c6498d7de6044be04fb1785ba3a04f953d515d45e5007e8be1c15fdd34 1.65kB / 1.65kB done
#6 sha256:9a5af4ca0c7678180db9bab26506d0f8959e5a6c32cc5349b7bdcd712790c0f3 1.37kB / 1.37kB done
#6 sha256:a9e021b7cfa1ac0b0cb401c04110e523878b46276735710ce120f940e9523700 6.94kB / 6.94kB done
#6 sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 1.05MB / 29.15MB 0.1s
#6 sha256:ac65017cfc5699a3ab0e5ed6e11c321fc0c664fd6b4c8744cda7914e74897c47 3.51MB / 3.51MB 0.1s done
#6 sha256:146269b80f9cf49d0a8468344c664ea4368c54f4a53f9aa61ebf626adf0d2836 12.38MB / 12.38MB 0.2s
#6 sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 7.34MB / 29.15MB 0.2s
#6 sha256:b51bc62cc3ca2211d3e3882aba56cf7054c9773c535f198676c0ce429d29ef78 245B / 245B 0.2s done
#6 sha256:4ba34dd48a55b7d0c548e1c74b1d1e4b2145c50f4ae760378734c13ae4529c50 0B / 3.37MB 0.2s
#6 sha256:146269b80f9cf49d0a8468344c664ea4368c54f4a53f9aa61ebf626adf0d2836 12.38MB / 12.38MB 0.2s done
#6 sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 19.92MB / 29.15MB 0.4s
#6 sha256:4ba34dd48a55b7d0c548e1c74b1d1e4b2145c50f4ae760378734c13ae4529c50 3.37MB / 3.37MB 0.3s done
#6 sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 27.26MB / 29.15MB 0.5s
#6 sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 29.15MB / 29.15MB 0.6s done
#6 extracting sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 0.1s
#6 extracting sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 1.2s done
#6 extracting sha256:ac65017cfc5699a3ab0e5ed6e11c321fc0c664fd6b4c8744cda7914e74897c47 0.1s
#6 extracting sha256:ac65017cfc5699a3ab0e5ed6e11c321fc0c664fd6b4c8744cda7914e74897c47 0.1s done
#6 extracting sha256:146269b80f9cf49d0a8468344c664ea4368c54f4a53f9aa61ebf626adf0d2836
#6 extracting sha256:146269b80f9cf49d0a8468344c664ea4368c54f4a53f9aa61ebf626adf0d2836 0.5s done
#6 extracting sha256:b51bc62cc3ca2211d3e3882aba56cf7054c9773c535f198676c0ce429d29ef78 done
#6 extracting sha256:4ba34dd48a55b7d0c548e1c74b1d1e4b2145c50f4ae760378734c13ae4529c50 0.1s
#6 extracting sha256:4ba34dd48a55b7d0c548e1c74b1d1e4b2145c50f4ae760378734c13ae4529c50 0.3s done
#6 DONE 3.2s

#7 [python-deps 1/6] COPY Pipfile Pipfile.lock /app/
#7 DONE 0.0s

#8 [python-deps 2/6] WORKDIR /app
#8 DONE 0.0s

#9 [python-deps 3/6] RUN pip install pipenv
#9 1.923 Collecting pipenv
#9 1.981 Downloading pipenv-2023.10.24-py3-none-any.whl (3.2 MB)
#9 2.117 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 24.1 MB/s eta 0:00:00
#9 2.425 Collecting setuptools>=67
#9 2.435 Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
#9 2.465 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 807.9/807.9 kB 28.9 MB/s eta 0:00:00
#9 2.595 Collecting virtualenv>=20.24.2
#9 2.604 Downloading virtualenv-20.24.6-py3-none-any.whl (3.8 MB)
#9 2.683 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 49.4 MB/s eta 0:00:00
#9 2.733 Collecting certifi
#9 2.743 Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
#9 2.749 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 45.3 MB/s eta 0:00:00
#9 2.810 Collecting filelock<4,>=3.12.2
#9 2.819 Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#9 2.844 Collecting distlib<1,>=0.3.7
#9 2.854 Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)
#9 2.863 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 69.5 MB/s eta 0:00:00
#9 2.903 Collecting platformdirs<4,>=3.9.1
#9 2.912 Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
#9 3.163 Installing collected packages: distlib, setuptools, platformdirs, filelock, certifi, virtualenv, pipenv
#9 3.249 Attempting uninstall: setuptools
#9 3.250 Found existing installation: setuptools 65.5.1
#9 3.311 Uninstalling setuptools-65.5.1:
#9 3.321 Successfully uninstalled setuptools-65.5.1
#9 5.618 Successfully installed certifi-2023.7.22 distlib-0.3.7 filelock-3.13.1 pipenv-2023.10.24 platformdirs-3.11.0 setuptools-68.2.2 virtualenv-20.24.6
#9 5.618 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#9 5.749
#9 5.749 [notice] A new release of pip is available: 23.0.1 -> 23.3.1
#9 5.749 [notice] To update, run: pip install --upgrade pip
#9 DONE 5.9s

#10 [python-deps 4/6] RUN apt-get update && apt-get install -y --no-install-recommends gcc
#10 0.436 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#10 0.455 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
#10 0.459 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#10 0.527 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8780 kB]
#10 0.611 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6408 B]
#10 0.652 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [95.5 kB]
#10 1.724 Fetched 9133 kB in 1s (6212 kB/s)
#10 1.724 Reading package lists...
#10 2.284 Reading package lists...
#10 2.848 Building dependency tree...
#10 2.987 Reading state information...
#10 3.132 The following additional packages will be installed:
#10 3.135 binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-12 gcc-12
#10 3.135 libasan8 libatomic1 libbinutils libcc1-0 libctf-nobfd0 libctf0 libgcc-12-dev
#10 3.135 libgomp1 libgprofng0 libisl23 libitm1 libjansson4 liblsan0 libmpc3 libmpfr6
#10 3.135 libquadmath0 libtsan2 libubsan1
#10 3.137 Suggested packages:
#10 3.137 binutils-doc cpp-doc gcc-12-locales cpp-12-doc gcc-multilib make
#10 3.137 manpages-dev autoconf automake libtool flex bison gdb gcc-doc
#10 3.137 gcc-12-multilib gcc-12-doc
#10 3.137 Recommended packages:
#10 3.137 libc6-dev | libc-dev libc6-dev
#10 3.237 The following NEW packages will be installed:
#10 3.237 binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-12 gcc gcc-12
#10 3.238 libasan8 libatomic1 libbinutils libcc1-0 libctf-nobfd0 libctf0 libgcc-12-dev
#10 3.238 libgomp1 libgprofng0 libisl23 libitm1 libjansson4 liblsan0 libmpc3 libmpfr6
#10 3.239 libquadmath0 libtsan2 libubsan1
#10 3.445 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
#10 3.445 Need to get 46.0 MB of archives.
#10 3.445 After this operation, 180 MB of additional disk space will be used.
#10 3.445 Get:1 http://deb.debian.org/debian bookworm/main amd64 binutils-common amd64 2.40-2 [2487 kB]
#10 3.490 Get:2 http://deb.debian.org/debian bookworm/main amd64 libbinutils amd64 2.40-2 [572 kB]
#10 3.495 Get:3 http://deb.debian.org/debian bookworm/main amd64 libctf-nobfd0 amd64 2.40-2 [153 kB]
#10 3.496 Get:4 http://deb.debian.org/debian bookworm/main amd64 libctf0 amd64 2.40-2 [89.8 kB]
#10 3.496 Get:5 http://deb.debian.org/debian bookworm/main amd64 libgprofng0 amd64 2.40-2 [812 kB]
#10 3.501 Get:6 http://deb.debian.org/debian bookworm/main amd64 libjansson4 amd64 2.14-2 [40.8 kB]
#10 3.502 Get:7 http://deb.debian.org/debian bookworm/main amd64 binutils-x86-64-linux-gnu amd64 2.40-2 [2246 kB]
#10 3.515 Get:8 http://deb.debian.org/debian bookworm/main amd64 binutils amd64 2.40-2 [65.0 kB]
#10 3.516 Get:9 http://deb.debian.org/debian bookworm/main amd64 libisl23 amd64 0.25-1 [690 kB]
#10 3.520 Get:10 http://deb.debian.org/debian bookworm/main amd64 libmpfr6 amd64 4.2.0-1 [701 kB]
#10 3.524 Get:11 http://deb.debian.org/debian bookworm/main amd64 libmpc3 amd64 1.3.1-1 [51.5 kB]
#10 3.525 Get:12 http://deb.debian.org/debian bookworm/main amd64 cpp-12 amd64 12.2.0-14 [9764 kB]
#10 3.584 Get:13 http://deb.debian.org/debian bookworm/main amd64 cpp amd64 4:12.2.0-3 [6836 B]
#10 3.584 Get:14 http://deb.debian.org/debian bookworm/main amd64 libcc1-0 amd64 12.2.0-14 [41.7 kB]
#10 3.585 Get:15 http://deb.debian.org/debian bookworm/main amd64 libgomp1 amd64 12.2.0-14 [116 kB]
#10 3.586 Get:16 http://deb.debian.org/debian bookworm/main amd64 libitm1 amd64 12.2.0-14 [26.1 kB]
#10 3.586 Get:17 http://deb.debian.org/debian bookworm/main amd64 libatomic1 amd64 12.2.0-14 [9328 B]
#10 3.587 Get:18 http://deb.debian.org/debian bookworm/main amd64 libasan8 amd64 12.2.0-14 [2195 kB]
#10 3.599 Get:19 http://deb.debian.org/debian bookworm/main amd64 liblsan0 amd64 12.2.0-14 [969 kB]
#10 3.607 Get:20 http://deb.debian.org/debian bookworm/main amd64 libtsan2 amd64 12.2.0-14 [2196 kB]
#10 3.619 Get:21 http://deb.debian.org/debian bookworm/main amd64 libubsan1 amd64 12.2.0-14 [883 kB]
#10 3.625 Get:22 http://deb.debian.org/debian bookworm/main amd64 libquadmath0 amd64 12.2.0-14 [144 kB]
#10 3.626 Get:23 http://deb.debian.org/debian bookworm/main amd64 libgcc-12-dev amd64 12.2.0-14 [2437 kB]
#10 3.641 Get:24 http://deb.debian.org/debian bookworm/main amd64 gcc-12 amd64 12.2.0-14 [19.3 MB]
#10 3.755 Get:25 http://deb.debian.org/debian bookworm/main amd64 gcc amd64 4:12.2.0-3 [5216 B]
#10 3.880 debconf: delaying package configuration, since apt-utils is not installed
#10 3.913 Fetched 46.0 MB in 1s (90.5 MB/s)
#10 3.929 Selecting previously unselected package binutils-common:amd64.
#10 3.929 (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6705 files and directories currently installed.)
#10 3.937 Preparing to unpack .../00-binutils-common_2.40-2_amd64.deb ...
#10 3.938 Unpacking binutils-common:amd64 (2.40-2) ...
#10 4.161 Selecting previously unselected package libbinutils:amd64.
#10 4.163 Preparing to unpack .../01-libbinutils_2.40-2_amd64.deb ...
#10 4.165 Unpacking libbinutils:amd64 (2.40-2) ...
#10 4.229 Selecting previously unselected package libctf-nobfd0:amd64.
#10 4.230 Preparing to unpack .../02-libctf-nobfd0_2.40-2_amd64.deb ...
#10 4.231 Unpacking libctf-nobfd0:amd64 (2.40-2) ...
#10 4.259 Selecting previously unselected package libctf0:amd64.
#10 4.260 Preparing to unpack .../03-libctf0_2.40-2_amd64.deb ...
#10 4.261 Unpacking libctf0:amd64 (2.40-2) ...
#10 4.289 Selecting previously unselected package libgprofng0:amd64.
#10 4.290 Preparing to unpack .../04-libgprofng0_2.40-2_amd64.deb ...
#10 4.292 Unpacking libgprofng0:amd64 (2.40-2) ...
#10 4.377 Selecting previously unselected package libjansson4:amd64.
#10 4.380 Preparing to unpack .../05-libjansson4_2.14-2_amd64.deb ...
#10 4.381 Unpacking libjansson4:amd64 (2.14-2) ...
#10 4.398 Selecting previously unselected package binutils-x86-64-linux-gnu.
#10 4.400 Preparing to unpack .../06-binutils-x86-64-linux-gnu_2.40-2_amd64.deb ...
#10 4.401 Unpacking binutils-x86-64-linux-gnu (2.40-2) ...
#10 4.619 Selecting previously unselected package binutils.
#10 4.620 Preparing to unpack .../07-binutils_2.40-2_amd64.deb ...
#10 4.621 Unpacking binutils (2.40-2) ...
#10 4.649 Selecting previously unselected package libisl23:amd64.
#10 4.651 Preparing to unpack .../08-libisl23_0.25-1_amd64.deb ...
#10 4.652 Unpacking libisl23:amd64 (0.25-1) ...
#10 4.727 Selecting previously unselected package libmpfr6:amd64.
#10 4.729 Preparing to unpack .../09-libmpfr6_4.2.0-1_amd64.deb ...
#10 4.730 Unpacking libmpfr6:amd64 (4.2.0-1) ...
#10 4.783 Selecting previously unselected package libmpc3:amd64.
#10 4.785 Preparing to unpack .../10-libmpc3_1.3.1-1_amd64.deb ...
#10 4.785 Unpacking libmpc3:amd64 (1.3.1-1) ...
#10 4.806 Selecting previously unselected package cpp-12.
#10 4.807 Preparing to unpack .../11-cpp-12_12.2.0-14_amd64.deb ...
#10 4.808 Unpacking cpp-12 (12.2.0-14) ...
#10 5.510 Selecting previously unselected package cpp.
#10 5.512 Preparing to unpack .../12-cpp_4%3a12.2.0-3_amd64.deb ...
#10 5.513 Unpacking cpp (4:12.2.0-3) ...
#10 5.531 Selecting previously unselected package libcc1-0:amd64.
#10 5.533 Preparing to unpack .../13-libcc1-0_12.2.0-14_amd64.deb ...
#10 5.534 Unpacking libcc1-0:amd64 (12.2.0-14) ...
#10 5.558 Selecting previously unselected package libgomp1:amd64.
#10 5.558 Preparing to unpack .../14-libgomp1_12.2.0-14_amd64.deb ...
#10 5.560 Unpacking libgomp1:amd64 (12.2.0-14) ...
#10 5.591 Selecting previously unselected package libitm1:amd64.
#10 5.591 Preparing to unpack .../15-libitm1_12.2.0-14_amd64.deb ...
#10 5.592 Unpacking libitm1:amd64 (12.2.0-14) ...
#10 5.613 Selecting previously unselected package libatomic1:amd64.
#10 5.613 Preparing to unpack .../16-libatomic1_12.2.0-14_amd64.deb ...
#10 5.616 Unpacking libatomic1:amd64 (12.2.0-14) ...
#10 5.632 Selecting previously unselected package libasan8:amd64.
#10 5.633 Preparing to unpack .../17-libasan8_12.2.0-14_amd64.deb ...
#10 5.635 Unpacking libasan8:amd64 (12.2.0-14) ...
#10 5.843 Selecting previously unselected package liblsan0:amd64.
#10 5.844 Preparing to unpack .../18-liblsan0_12.2.0-14_amd64.deb ...
#10 5.845 Unpacking liblsan0:amd64 (12.2.0-14) ...
#10 5.944 Selecting previously unselected package libtsan2:amd64.
#10 5.947 Preparing to unpack .../19-libtsan2_12.2.0-14_amd64.deb ...
#10 5.948 Unpacking libtsan2:amd64 (12.2.0-14) ...
#10 6.154 Selecting previously unselected package libubsan1:amd64.
#10 6.154 Preparing to unpack .../20-libubsan1_12.2.0-14_amd64.deb ...
#10 6.156 Unpacking libubsan1:amd64 (12.2.0-14) ...
#10 6.249 Selecting previously unselected package libquadmath0:amd64.
#10 6.249 Preparing to unpack .../21-libquadmath0_12.2.0-14_amd64.deb ...
#10 6.250 Unpacking libquadmath0:amd64 (12.2.0-14) ...
#10 6.276 Selecting previously unselected package libgcc-12-dev:amd64.
#10 6.278 Preparing to unpack .../22-libgcc-12-dev_12.2.0-14_amd64.deb ...
#10 6.279 Unpacking libgcc-12-dev:amd64 (12.2.0-14) ...
#10 6.476 Selecting previously unselected package gcc-12.
#10 6.478 Preparing to unpack .../23-gcc-12_12.2.0-14_amd64.deb ...
#10 6.479 Unpacking gcc-12 (12.2.0-14) ...
#10 7.438 Selecting previously unselected package gcc.
#10 7.439 Preparing to unpack .../24-gcc_4%3a12.2.0-3_amd64.deb ...
#10 7.440 Unpacking gcc (4:12.2.0-3) ...
#10 7.463 Setting up binutils-common:amd64 (2.40-2) ...
#10 7.468 Setting up libctf-nobfd0:amd64 (2.40-2) ...
#10 7.470 Setting up libgomp1:amd64 (12.2.0-14) ...
#10 7.473 Setting up libjansson4:amd64 (2.14-2) ...
#10 7.475 Setting up libmpfr6:amd64 (4.2.0-1) ...
#10 7.478 Setting up libquadmath0:amd64 (12.2.0-14) ...
#10 7.480 Setting up libmpc3:amd64 (1.3.1-1) ...
#10 7.483 Setting up libatomic1:amd64 (12.2.0-14) ...
#10 7.485 Setting up libubsan1:amd64 (12.2.0-14) ...
#10 7.488 Setting up libasan8:amd64 (12.2.0-14) ...
#10 7.490 Setting up libtsan2:amd64 (12.2.0-14) ...
#10 7.493 Setting up libbinutils:amd64 (2.40-2) ...
#10 7.495 Setting up libisl23:amd64 (0.25-1) ...
#10 7.498 Setting up libcc1-0:amd64 (12.2.0-14) ...
#10 7.500 Setting up liblsan0:amd64 (12.2.0-14) ...
#10 7.503 Setting up libitm1:amd64 (12.2.0-14) ...
#10 7.505 Setting up libctf0:amd64 (2.40-2) ...
#10 7.507 Setting up cpp-12 (12.2.0-14) ...
#10 7.510 Setting up libgprofng0:amd64 (2.40-2) ...
#10 7.513 Setting up libgcc-12-dev:amd64 (12.2.0-14) ...
#10 7.515 Setting up cpp (4:12.2.0-3) ...
#10 7.522 Setting up binutils-x86-64-linux-gnu (2.40-2) ...
#10 7.524 Setting up binutils (2.40-2) ...
#10 7.527 Setting up gcc-12 (12.2.0-14) ...
#10 7.529 Setting up gcc (4:12.2.0-3) ...
#10 7.539 Processing triggers for libc-bin (2.36-9+deb12u3) ...
#10 DONE 8.2s

#11 [python-deps 5/6] COPY Pipfile.lock .
#11 DONE 0.0s

#12 [python-deps 6/6] RUN PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy
#12 1.485 Creating a virtualenv for this project...
#12 1.485 Pipfile: /app/Pipfile
#12 1.528 Using /usr/local/bin/python3 (3.10.13) to create virtualenv...
#12 3.205 created virtual environment CPython3.10.13.final.0-64 in 1072ms
#12 3.205 creator CPython3Posix(dest=/app/.venv, clear=False, no_vcs_ignore=False, global=False)
#12 3.205 seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
#12 3.205 added seed packages: pip==23.3.1, setuptools==68.2.2, wheel==0.41.2
#12 3.205 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
#12 3.205
#12 3.206 ✔ Successfully created virtual environment!
#12 3.434 Virtualenv location: /app/.venv
#12 3.592 Installing dependencies from Pipfile.lock (9429ba)...
#12 DONE 87.8s

#13 [runtime 1/3] COPY --from=python-deps /.venv /.venv
#13 ERROR: failed to calculate checksum of ref 5ee0a90d-9ba7-4120-a52c-7d8898402fd7::nayv47qif0q6s0yiwbdsbhdqp: "/.venv": not found

[runtime 1/3] COPY --from=python-deps /.venv /.venv:


Dockerfile:31

29 |
30 | # Copy virtual env from python-deps stage
31 | >>> COPY --from=python-deps /.venv /.venv
32 | ENV PATH="/.venv/bin:$PATH"
33 |

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 5ee0a90d-9ba7-4120-a52c-7d8898402fd7::nayv47qif0q6s0yiwbdsbhdqp: "/.venv": not found
##[error]Process completed with exit code 1.`
Here are the logs:

usage: mypy [-h] [-v] [-V] [more options; see below]
[-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...]
mypy: error: Missing target module, package, files, or command.

Copy link
Contributor Author

sweep-ai bot commented Nov 3, 2023

❌ Failed to make changes

Please join our Discord to report this issue.

@SoyGema
Copy link
Owner

SoyGema commented Nov 3, 2023

merge to main

Copy link
Contributor Author

sweep-ai bot commented Nov 3, 2023

🚀 Wrote Changes

I wasn't able to make changes. This could be due to an unclear request or a bug in my code.
As a reminder, comments on a file only modify that file. Comments on a PR (at the bottom of the "conversation" tab) can modify the entire PR. Please try again or contact us on Discord

@SoyGema SoyGema merged commit c0c4630 into main Nov 3, 2023
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: Improve READMEmd
1 participant