/
burning_hell
/
lab12_ml_testing
Обзор
Документация
Войти
/
burning_hell
/
lab12_ml_testing
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
ml_testing_report.json
131 строка
4 KB
burning-hel
uploaded
13 дек 2025, 01:14
13 дек 2025, 01:14
659f38d
Код
Авторство
О чём код?
{ "timestamp": "2025-12-13T01:13:35.213112", "total_tests": 13, "successful_tests": 10, "success_rate": 76.92307692307693, "test_categories": { "DATA": { "total": 2, "success": 1, "rate": 50.0 }, "MISSING": { "total": 1, "success": 1, "rate": 100.0 }, "OTHER": { "total": 1, "success": 1, "rate": 100.0 }, "TARGET": { "total": 1, "success": 1, "rate": 100.0 }, "MODEL": { "total": 5, "success": 5, "rate": 100.0 }, "API": { "total": 3, "success": 1, "rate": 33.33333333333333 } }, "test_details": [ { "type": "DATA_COMPLETENESS", "description": "Проверка обязательных колонок", "success": false, "details": "Отсутствуют колонки: ['income', 'credit_score']", "timestamp": "2025-12-13T01:13:28.729631" }, { "type": "MISSING_VALUES", "description": "Проверка пропущенных значений", "success": true, "details": null, "timestamp": "2025-12-13T01:13:28.731634" }, { "type": "OUTLIERS", "description": "Проверка выбросов", "success": true, "details": null, "timestamp": "2025-12-13T01:13:28.754633" }, { "type": "TARGET_DISTRIBUTION", "description": "Проверка распределения целевой переменной", "success": true, "details": "Распределение: {0: 0.522, 1: 0.478}", "timestamp": "2025-12-13T01:13:28.759631" }, { "type": "MODEL_ACCURACY", "description": "Проверка точности модели", "success": true, "details": "Accuracy: 0.815", "timestamp": "2025-12-13T01:13:28.773637" }, { "type": "MODEL_PRECISION", "description": "Проверка precision модели", "success": true, "details": "Precision: 0.862", "timestamp": "2025-12-13T01:13:28.789630" }, { "type": "MODEL_RECALL", "description": "Проверка recall модели", "success": true, "details": "Recall: 0.750", "timestamp": "2025-12-13T01:13:28.804634" }, { "type": "MODEL_F1", "description": "Проверка F1-score модели", "success": true, "details": "F1-score: 0.802", "timestamp": "2025-12-13T01:13:28.819636" }, { "type": "MODEL_FAIRNESS_AGE", "description": "Проверка справедливости по возрасту", "success": true, "details": "{'results': {'young': {'accuracy': 0.8653846153846154, 'count': 52}, 'middle': {'accuracy': 0.7831325301204819, 'count': 83}, 'old': {'accuracy': 0.8153846153846154, 'count': 65}}, 'max_difference': 0.08225208526413352}", "timestamp": "2025-12-13T01:13:28.839634" }, { "type": "API_HEALTH", "description": "Проверка health check API", "success": true, "details": "{'model_loaded': False, 'service': 'ML Prediction API', 'status': 'healthy', 'timestamp': '2025-12-13T01:13:30.886661', 'version': '1.0.0'}", "timestamp": "2025-12-13T01:13:30.888658" }, { "type": "API_PREDICTION", "description": "Проверка предсказания через API", "success": false, "details": "Status code: 503, Response: {\n \"error\": \"Model not loaded\"\n}\n", "timestamp": "2025-12-13T01:13:32.946714" }, { "type": "API_BATCH_PREDICTION", "description": "Проверка батчевого предсказания через API", "success": false, "details": "Status code: 500, Response: {\n \"error\": \"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043d\\u0435 \\u0437\\u0430\\u0433\\u0440\\u0443\\u0436\\u0435\\u043d\\u0430\",\n \"status\": \"error\"\n}\n", "timestamp": "2025-12-13T01:13:35.028131" }, { "type": "DATA_DRIFT", "description": "Проверка дрифта данных", "success": true, "details": "{'message': 'Дрифт данных не обнаружен'}", "timestamp": "2025-12-13T01:13:35.204112" } ] }