[Misc] Print accuracy value for PD tests even on success (#43583)
Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
@@ -64,12 +64,12 @@ def test_accuracy():
|
|||||||
measured_value = results["results"][TASK][FILTER]
|
measured_value = results["results"][TASK][FILTER]
|
||||||
expected_value = EXPECTED_VALUES.get(MODEL_NAME)
|
expected_value = EXPECTED_VALUES.get(MODEL_NAME)
|
||||||
|
|
||||||
|
print(f"Measured accuracy value: {measured_value}\n")
|
||||||
if expected_value is None:
|
if expected_value is None:
|
||||||
print(
|
print(
|
||||||
f"Warning: No expected value found for {MODEL_NAME}. "
|
f"Warning: No expected value found for {MODEL_NAME}. "
|
||||||
"Skipping accuracy check."
|
"Skipping accuracy check."
|
||||||
)
|
)
|
||||||
print(f"Measured value: {measured_value}")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
assert (
|
assert (
|
||||||
|
|||||||
Reference in New Issue
Block a user