Download scripts/list_incomplete.py from techprotrade/annator-command-center: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/spaces/techprotrade/annator-command-center/resolve/main/scripts/list_incomplete.py
- Command line
-
hf download hf://spaces/techprotrade/annator-command-center/scripts/list_incomplete.py
-
curl -L -o list_incomplete.py https://huggingface.co/spaces/techprotrade/annator-command-center/resolve/main/scripts/list_incomplete.py
497 Bytes
| import json | |
| try: | |
| with open('backend/integration_health_report.json', 'r') as f: | |
| data = json.load(f) | |
| incomplete = [] | |
| for service_name, details in data.get('detailed_results', {}).items(): | |
| if details.get('status') == 'INCOMPLETE': | |
| incomplete.append(service_name) | |
| print(f"Found {len(incomplete)} INCOMPLETE services:") | |
| for service in sorted(incomplete): | |
| print(f"- {service}") | |
| except Exception as e: | |
| print(f"Error: {e}") | |