Skip to content

Commit

Permalink
Make test file names consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkarvonen committed Nov 16, 2024
1 parent 4ed9602 commit 70e2eaa
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions tests/test_autointerp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
import sae_bench_utils.testing_utils as testing_utils
from sae_bench_utils.sae_selection_utils import select_saes_multiple_patterns

results_filename = (
"tests/test_data/autointerp/pythia-70m-deduped_layer_4_expected_eval_results.json"
)
results_filename = "tests/test_data/autointerp/autointerp_expected_results.json"


def test_end_to_end_different_seed():
Expand Down
8 changes: 2 additions & 6 deletions tests/test_shift_and_tpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
import sae_bench_utils.testing_utils as testing_utils
from sae_bench_utils.sae_selection_utils import select_saes_multiple_patterns

tpp_results_filename = (
"tests/test_data/shift_and_tpp/pythia-70m-deduped_tpp_layer_4_expected_eval_results.json"
)
scr_results_filename = (
"tests/test_data/shift_and_tpp/pythia-70m-deduped_scr_layer_4_expected_eval_results.json"
)
tpp_results_filename = "tests/test_data/shift_and_tpp/tpp_expected_results.json"
scr_results_filename = "tests/test_data/shift_and_tpp/scr_expected_results.json"


def test_scr_end_to_end_different_seed():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unlearning.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sae_bench_utils.testing_utils as testing_utils
from sae_bench_utils.sae_selection_utils import select_saes_multiple_patterns

results_filename = "tests/test_data/unlearning/sae_bench_gemma-2-2b_sweep_topk_ctx128_ef8_0824_blocks.3.hook_resid_post__trainer_2_eval_results.json"
results_filename = "tests/test_data/unlearning/unlearning_expected_results.json"


def test_end_to_end_different_seed():
Expand Down

0 comments on commit 70e2eaa

Please sign in to comment.