Skip to content

Commit 3707e39

Browse files
committed
fix
1 parent 51dcc7e commit 3707e39

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/configs/test_combined_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def valid_optimizer_config():
2828
},
2929
{
3030
"node_type": "embedding",
31-
"target_target_metric": "retrieval_hit_rate",
31+
"target_metric": "retrieval_hit_rate",
3232
"search_space": [
3333
{
3434
"module_name": "retrieval",

tests/configs/test_regex.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
@pytest.fixture
88
def valid_regexp_config():
99
"""Fixture for a valid RegExp node configuration."""
10-
return [{"node_type": "regexp", "target_metric": "regexp_partial_accuracy", "search_space": [{"module_name": "regexp"}]}]
10+
return [
11+
{"node_type": "regexp", "target_metric": "regexp_partial_accuracy", "search_space": [{"module_name": "regexp"}]}
12+
]
1113

1214

1315
def test_valid_regexp_config(valid_regexp_config):

0 commit comments

Comments
 (0)