Skip to content

Commit

Permalink
fix: threshold values in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jul 19, 2024
1 parent 1772926 commit ce0489b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def test_get_thresholds(self, openai_encoder, routes, index_cls):
route_layer = RouteLayer(
encoder=openai_encoder, routes=routes, index=index_cls()
)
assert route_layer.get_thresholds() == {"Route 1": 0.82, "Route 2": 0.82}
assert route_layer.get_thresholds() == {"Route 1": 0.3, "Route 2": 0.3}

def test_with_multiple_routes_passing_threshold(
self, openai_encoder, routes, index_cls
Expand Down

0 comments on commit ce0489b

Please sign in to comment.