diff --git a/src/relevance_detector/OSC/annotations_training.xlsx b/src/osc-transformer-based-extractor/OSC/annotations_training.xlsx similarity index 100% rename from src/relevance_detector/OSC/annotations_training.xlsx rename to src/osc-transformer-based-extractor/OSC/annotations_training.xlsx diff --git a/src/relevance_detector/OSC/kpi_mapping.csv b/src/osc-transformer-based-extractor/OSC/kpi_mapping.csv similarity index 100% rename from src/relevance_detector/OSC/kpi_mapping.csv rename to src/osc-transformer-based-extractor/OSC/kpi_mapping.csv diff --git a/src/relevance_detector/OSC/output_curator.csv b/src/osc-transformer-based-extractor/OSC/output_curator.csv similarity index 100% rename from src/relevance_detector/OSC/output_curator.csv rename to src/osc-transformer-based-extractor/OSC/output_curator.csv diff --git a/src/relevance_detector/OSC/result.json b/src/osc-transformer-based-extractor/OSC/result.json similarity index 100% rename from src/relevance_detector/OSC/result.json rename to src/osc-transformer-based-extractor/OSC/result.json diff --git a/src/relevance_detector/OSC/shell_annual_report_2019.pdf b/src/osc-transformer-based-extractor/OSC/shell_annual_report_2019.pdf similarity index 100% rename from src/relevance_detector/OSC/shell_annual_report_2019.pdf rename to src/osc-transformer-based-extractor/OSC/shell_annual_report_2019.pdf diff --git a/src/relevance_detector/data/train_data.csv b/src/osc-transformer-based-extractor/data/train_data.csv similarity index 100% rename from src/relevance_detector/data/train_data.csv rename to src/osc-transformer-based-extractor/data/train_data.csv diff --git a/src/relevance_detector/inference.py b/src/osc-transformer-based-extractor/inference.py similarity index 100% rename from src/relevance_detector/inference.py rename to src/osc-transformer-based-extractor/inference.py diff --git a/src/relevance_detector/inference_demo.ipynb b/src/osc-transformer-based-extractor/inference_demo.ipynb similarity index 100% rename from src/relevance_detector/inference_demo.ipynb rename to src/osc-transformer-based-extractor/inference_demo.ipynb diff --git a/src/relevance_detector/make_sample_training_data.ipynb b/src/osc-transformer-based-extractor/make_sample_training_data.ipynb similarity index 100% rename from src/relevance_detector/make_sample_training_data.ipynb rename to src/osc-transformer-based-extractor/make_sample_training_data.ipynb diff --git a/src/relevance_detector/make_training_data_from_curator.py b/src/osc-transformer-based-extractor/make_training_data_from_curator.py similarity index 100% rename from src/relevance_detector/make_training_data_from_curator.py rename to src/osc-transformer-based-extractor/make_training_data_from_curator.py diff --git a/src/relevance_detector/train_sentence_transformer.ipynb b/src/osc-transformer-based-extractor/train_sentence_transformer.ipynb similarity index 100% rename from src/relevance_detector/train_sentence_transformer.ipynb rename to src/osc-transformer-based-extractor/train_sentence_transformer.ipynb diff --git a/tests/conftest.py b/tests/conftest.py deleted file mode 100644 index c0d0074..0000000 --- a/tests/conftest.py +++ /dev/null @@ -1,10 +0,0 @@ -""" -Dummy conftest.py for osc_transformer_based_extractor. - -If you don't know what this is for, just leave it empty. -Read more about conftest.py under: -- https://docs.pytest.org/en/stable/fixture.html -- https://docs.pytest.org/en/stable/writing_plugins.html -""" - -# import pytest diff --git a/tests/test_osc_data_extractor.py b/tests/test_osc_data_extractor.py deleted file mode 100644 index c13407f..0000000 --- a/tests/test_osc_data_extractor.py +++ /dev/null @@ -1,24 +0,0 @@ -import pytest -from osc_transformer_based_extractor.skeleton import fib, main - -__author__ = "Matthew Watkins" -__copyright__ = "Matthew Watkins" -__license__ = "MIT" - - -def test_fib(): - """API Tests""" - assert fib(1) == 1 - assert fib(2) == 1 - assert fib(7) == 13 - with pytest.raises(AssertionError): - fib(-10) - - -def test_main(capsys): - """CLI Tests""" - # capsys is a pytest fixture that allows asserts against stdout/stderr - # https://docs.pytest.org/en/stable/capture.html - main(["7"]) - captured = capsys.readouterr() - assert "The 7-th Fibonacci number is 13" in captured.out