MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_grade_one_handles_mixed_case

Function test_grade_one_handles_mixed_case

tests/test_skill_evaluator.py:132–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130
131@pytest.mark.asyncio
132async def test_grade_one_handles_mixed_case():
133 async def fake_runner(*args, **kwargs):
134 return SimpleNamespace(final_output="trigger")
135
136 with patch("openkb.skill.evaluator.Runner.run", new=AsyncMock(side_effect=fake_runner)):
137 out = await grade_one("desc", "question?", model="gpt-4o-mini")
138 assert out == "trigger"
139
140
141@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

grade_oneFunction · 0.90

Tested by

no test coverage detected