Skip to content

Commit

Permalink
fix bad merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
rogthefrog committed Dec 18, 2024
1 parent c826a38 commit de6d5a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modelbench/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from modelgauge.tests.safe_v1 import Locale

from modelbench.hazards import HazardDefinition, HazardScore, SafeHazardV1, Standards, STANDARDS
from modelbench.scoring import LetterGradeMixin, score_to_ordinal_grade, score_to_ordinal_grade_v1
from modelbench.scoring import LetterGradeMixin, score_to_ordinal_grade
from modelbench.uid import HasUid


Expand Down
4 changes: 2 additions & 2 deletions tests/modelbench_tests/test_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@


@pytest.fixture()
def benchmark_score(end_time):
def benchmark_score(end_time, sut):
bd = GeneralPurposeAiChatBenchmarkV1(Locale.EN_US, "practice")
low_est = ValueEstimate.make(0.5, 10)
high_est = ValueEstimate.make(0.8, 20)
bs = BenchmarkScore(
bd,
ModelGaugeSut.for_key("mistral-7b"),
sut,
[
HazardScore(
hazard_definition=SafeHazardV1("cse", Locale.EN_US, "practice"),
Expand Down

0 comments on commit de6d5a1

Please sign in to comment.