File size: 279 Bytes
fe1e225
 
 
 
 
 
1
2
3
4
5
6
7
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']}")