mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
remove prints
This commit is contained in:
parent
38186f7903
commit
ae75eb0f95
2 changed files with 0 additions and 4 deletions
|
@ -104,8 +104,6 @@ class BraintrustScoringImpl(Scoring, ScoringFunctionsProtocolPrivate):
|
||||||
if scoring_fn_id not in self.supported_fn_ids:
|
if scoring_fn_id not in self.supported_fn_ids:
|
||||||
raise ValueError(f"Scoring function {scoring_fn_id} is not supported.")
|
raise ValueError(f"Scoring function {scoring_fn_id} is not supported.")
|
||||||
|
|
||||||
# scoring_impl = self.scoring_fn_id_impls[scoring_fn_id]
|
|
||||||
# scoring_fn = self.scoring_fn_id_impls[scoring_fn_id]
|
|
||||||
score_results = await self.braintrust_scoring_fn_impl.score(
|
score_results = await self.braintrust_scoring_fn_impl.score(
|
||||||
input_rows, scoring_fn_id
|
input_rows, scoring_fn_id
|
||||||
)
|
)
|
||||||
|
|
|
@ -147,8 +147,6 @@ async def test_scoring_score(scoring_settings, provider_scoring_functions):
|
||||||
scoring_functions=list(provider_scoring_functions[provider_type]),
|
scoring_functions=list(provider_scoring_functions[provider_type]),
|
||||||
)
|
)
|
||||||
|
|
||||||
print("RESPONSE", response)
|
|
||||||
|
|
||||||
assert len(response.results) == len(provider_scoring_functions[provider_type])
|
assert len(response.results) == len(provider_scoring_functions[provider_type])
|
||||||
for x in provider_scoring_functions[provider_type]:
|
for x in provider_scoring_functions[provider_type]:
|
||||||
assert x in response.results
|
assert x in response.results
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue