bayan-api / check_fp.py
youssefreda9's picture
Fix 30 NLP edge cases in Grammar, Spelling, and Punctuation (Phase 10 results and Extension UI improvements)
be32617
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']}")