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