bayan-api / check_fp.py
youssefreda9's picture
HF Deploy: Fix syntax error with smart quotes in popup.js
fe1e225
Raw
History Blame Contribute Delete
279 Bytes
import json
with open('tests/phase10/reports/phase10_results.json', 'r', encoding='utf-8') as f:
d = json.load(f)
for r in d['results']:
if r['pipeline_verdict'] == 'FP' and r['dataset'] == 'hallucination':
print(f"{r['id']}: {r['pipeline_detail']}")