Save a single result to the results file.
(filename: str, result: Dict)
| 712 | return [] |
| 713 | |
| 714 | def save_result(filename: str, result: Dict): |
| 715 | """Save a single result to the results file.""" |
| 716 | results = load_existing_results(filename) |
| 717 | results.append(result) |
| 718 | with open(filename, 'w') as f: |
| 719 | json.dump(results, f, indent=2) |
| 720 | |
| 721 | def analyze_results(results: list[Dict]): |
| 722 | """ |
no test coverage detected