Skip to content

Commit 05ceb80

Browse files
committed
fixing bugs
1 parent 210efa4 commit 05ceb80

File tree

3 files changed

+89
-1
lines changed

3 files changed

+89
-1
lines changed

eval_protocol/benchmarks/ifeval/test_ifeval.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010

1111
import asyncio
1212
import json
13+
import os
1314
from pathlib import Path
1415

16+
import pytest
17+
1518
from eval_protocol.models import EvaluateResult, EvaluationRow, Message, MetricResult
1619
from eval_protocol.pytest import evaluation_test
1720
from eval_protocol.pytest.default_single_turn_rollout_process import SingleTurnRolloutProcessor
@@ -80,6 +83,10 @@ def __call__(
8083
return self.single_turn_processor(processed, config)
8184

8285

86+
@pytest.mark.skipif(
87+
not os.getenv("FIREWORKS_API_KEY"),
88+
reason="FIREWORKS_API_KEY not set",
89+
)
8390
@evaluation_test(
8491
input_messages=_IFBENCH_MESSAGES,
8592
completion_params=[

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ dependencies = [
4848
"deepdiff>=6.0.0",
4949
"websockets>=15.0.1",
5050
"fastapi>=0.116.1",
51+
"nltk>=3.8.1",
52+
"langdetect>=1.0.9",
53+
"emoji>=2.12.1",
54+
"syllapy>=0.7.2",
55+
"immutabledict>=4.2.0",
56+
"absl-py>=2.1.0",
57+
"setuptools>=61.0",
5158
]
5259

5360
[project.urls]

uv.lock

Lines changed: 75 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)