From b358fecfcd249718b0efca01049319c75c74d8e7 Mon Sep 17 00:00:00 2001 From: LeonceNsh Date: Sat, 8 Jun 2024 03:45:50 -0500 Subject: [PATCH] add defense specific notebook --- app/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 191 bytes app/compare_evals.py | 17 +++++++++++++++++ environment.yaml | 1 + tests/__init__.py | 0 tests/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 193 bytes tests/__pycache__/__init__.cpython-38.pyc | Bin 0 -> 175 bytes .../conftest.cpython-311-pytest-8.2.2.pyc | Bin 0 -> 915 bytes .../conftest.cpython-38-pytest-8.1.1.pyc | Bin 0 -> 565 bytes .../test_app.cpython-311-pytest-8.2.2.pyc | Bin 0 -> 3892 bytes tests/conftest.py | 8 ++++++++ 10 files changed, 26 insertions(+) create mode 100644 app/__pycache__/__init__.cpython-311.pyc create mode 100644 app/compare_evals.py create mode 100644 tests/__init__.py create mode 100644 tests/__pycache__/__init__.cpython-311.pyc create mode 100644 tests/__pycache__/__init__.cpython-38.pyc create mode 100644 tests/__pycache__/conftest.cpython-311-pytest-8.2.2.pyc create mode 100644 tests/__pycache__/conftest.cpython-38-pytest-8.1.1.pyc create mode 100644 tests/__pycache__/test_app.cpython-311-pytest-8.2.2.pyc create mode 100644 tests/conftest.py diff --git a/app/__pycache__/__init__.cpython-311.pyc b/app/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..46ba101dee778ea7d3e28ca14cca1172abe3212a GIT binary patch literal 191 zcmZ3^%ge<81nCTkX(0MBh=2h`DC095kTIPhg&~+hlhJP_LlF~@{~09tE6CX@CbT%U zs5r*QuQ;Q$Bs0c8FV&?evn*9XS0Ok*uQJ9ZwK%&ZzaS>P{wCAAY(d13PUi1CZpdf literal 0 HcmV?d00001 diff --git a/tests/__pycache__/__init__.cpython-38.pyc b/tests/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4f4352085c028b0820b3a029845461306d67e531 GIT binary patch literal 175 zcmWIL<>g`kg1=%ZX(0MBh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o0~**(xTqIJKxa z#>cNXqqHP5#y>CBr6{v3RY6xFI6tp4#wE2lyClCLCMPwqC@-e8I6c2iH#tAAq$n}D sq*%8oF+HXvwYa1>CO$qhFS8^*Uaz3?7Kcr4eoARhsvXF-&p^xo0C?st&Hw-a literal 0 HcmV?d00001 diff --git a/tests/__pycache__/conftest.cpython-311-pytest-8.2.2.pyc b/tests/__pycache__/conftest.cpython-311-pytest-8.2.2.pyc new file mode 100644 index 0000000000000000000000000000000000000000..187f6ce6c308dba84a06580a42e07357178f9e39 GIT binary patch literal 915 zcmb7CO^ee&7@kSeB(1H*i>!xk>#>LKc~=%ca1VQs_ORjsmXtexyOrR-~b1Dz<^1X+HzBZpsg4gc($V&YO|4txZLoZD!@Puw6^E!DArsw$HL!j#aa`%H6O z?AvX`bjxbF9l1`2zaSk40k!xT5y~s4yLWGx_xT<%@72kEL|wDtqb=+n zqDrl@6Zk!I3z3I32u%;!*f%4x7aZ1_flsmBq@;%JJ(D6riOI2+sMf+B%M(PcD6|AA zf(!ghLL0foLkxZtuRQO(=s)Yf!LK`S`>*<+y5sWtq`W>ZZcK_B@%C3m8*D#qJZT)= zIqHs;%0#K0q|clm0jign{vdKa%4M-QJP)V(W;<{q58cEoycJhT+C0o;2;o$S y{Dd6Rf-g9eD&^ z#VZr9z{ENHh>Pw!-*@NBXZvhvsZY?>SLO5#<9kT{TZG9TIvgTMB56r7+C?^t7@=eq zXFd8|NwTD?q*>ZUo^i#m79^9=GnKLIJ&{M6^(8$a!{h_!k@4w}`m|`AX+TW^^J^3r zJ@kEa*hFyTioUQPjOKJsABc;Q>q&Y~<}7Hyxom91)?wnA0Uy_eyY#8lwkl@Ib0Ma> zR6_U&TJVXkKv{MZp0=KH9)UNg6R&jw4suwHnNLqQh zOV2EAOOOM$5Ky5gkTx)2wU_9SxCz`#fgTF7I(eoK@P zAT!IiGxOfO*?I3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EjS$J&^%!ZA^3*Yg~tSz8?Ry3@m~Tja{m=d#1bL_1775ck;Rwm+E;fl!bd8TnS7r z?)kV1%9OW4;aQGm&d?f5u^cyX3Z9P&r$8V57ZA8egocWd?-ze`y%?G=h2|@v`5Kaf z?-XzRx*EOk@akc7q8yzlPR^F1bCu}a-dt53K2)d5>QwQqpO@6@74>>iyRhMTvRXD0-%Yj2aLlid3 z2+QPD15#+!nke`#!I5kdMf9a=s6`anH(5h1qRPIvShqng%04i{aZ+EKt;jZ!)lFN| z;=`V@nl~*Ma-^sJB)6rtdc#_7i=iP|M-spwN$@>ly4VZ0hP*&?tPdu0@aV)-^0w)+ zju(LII?VWiCpy#%HHVW7h;>xU>~s1+O1Cl_IJ;HP^Ag>no(z9UHatIk8Qj*q06SLj ztKXdcIo&pNO1{T;!_YYc*Rr}zlWa_8`y*4(Y@7U*@^0N>SI8VNSe&6UP>7m>Q0=sT z+Y`JsSm3pa1`51ZQLw;k6^$2rJvBcPzFS1!>3qIIeFa{tNZM6?H~8DZKMFO3qF8(e z-?ApY;1ounT}5NX?x%_(#pY9!#{}^3ak784GLm@47%$q~6#>cW-ga3UE=t2yIb689 UyYQQ(-K7GrH3`YD0fSrV|J*#GHvj+t literal 0 HcmV?d00001 diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..93bf782 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,8 @@ +import sys +import os +import pytest + +@pytest.fixture(autouse=True) +def set_up_paths(): + root_dir = os.path.dirname(os.path.dirname(__file__)) + sys.path.insert(0, root_dir)