From a9a15cc540b5b88326f71f8383916415e2e1756c Mon Sep 17 00:00:00 2001 From: Jacob Torrey Date: Tue, 6 Jun 2023 11:01:26 -0600 Subject: [PATCH] rename to zippy.py Signed-off-by: Jacob Torrey --- .github/workflows/pytest.yml | 2 +- plot_rocs.py | 2 +- test_lzma_detect.py => test_zippy_detect.py | 2 +- lzma-report.xml => zippy-report.xml | 0 lzma_detect.py => zippy.py | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename test_lzma_detect.py => test_zippy_detect.py (98%) rename lzma-report.xml => zippy-report.xml (100%) rename lzma_detect.py => zippy.py (100%) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 6555531..bc02b92 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -37,4 +37,4 @@ jobs: - name: Test with pytest #continue-on-error: true run: | - pytest --junitxml=junit.xml --tb=no test_lzma_detect.py || genbadge tests -i junit.xml -t 75 -o badge.svg + pytest --junitxml=junit.xml --tb=no test_zippy_detect.py || genbadge tests -i junit.xml -t 75 -o badge.svg diff --git a/plot_rocs.py b/plot_rocs.py index 721e9ac..3014a97 100644 --- a/plot_rocs.py +++ b/plot_rocs.py @@ -6,7 +6,7 @@ from sklearn.metrics import roc_curve, auc import re from junitparser import JUnitXml -MODELS = ['lzma', 'roberta', 'gptzero', 'openai'] +MODELS = ['zippy', 'roberta', 'gptzero', 'openai'] SKIPCASES = ['gpt2', 'gpt3'] MAX_PER_CASE = 500 diff --git a/test_lzma_detect.py b/test_zippy_detect.py similarity index 98% rename from test_lzma_detect.py rename to test_zippy_detect.py index 3317eae..e099722 100644 --- a/test_lzma_detect.py +++ b/test_zippy_detect.py @@ -2,7 +2,7 @@ import pytest, os, jsonlines from warnings import warn -from lzma_detect import run_on_file_chunked, run_on_text_chunked, PRELUDE_STR, LzmaLlmDetector +from zippy import run_on_file_chunked, run_on_text_chunked, PRELUDE_STR, LzmaLlmDetector AI_SAMPLE_DIR = 'samples/llm-generated/' HUMAN_SAMPLE_DIR = 'samples/human-generated/' diff --git a/lzma-report.xml b/zippy-report.xml similarity index 100% rename from lzma-report.xml rename to zippy-report.xml diff --git a/lzma_detect.py b/zippy.py similarity index 100% rename from lzma_detect.py rename to zippy.py