Spaces:
Running
Running
Download static/samples/pallets__flask.json from Deshmukh09/evomind: direct link, hf CLI and curl.
- Browser
- Download file 34.9 kB
-
https://huggingface.co/spaces/Deshmukh09/evomind/resolve/main/static/samples/pallets__flask.json
- Command line
-
hf download hf://spaces/Deshmukh09/evomind/static/samples/pallets__flask.json
-
curl -L -o pallets__flask.json https://huggingface.co/spaces/Deshmukh09/evomind/resolve/main/static/samples/pallets__flask.json
34.9 kB
| {"repo": "https://github.com/pallets/flask", "cutoff": "2020-12-27T14:00:25.050000", "horizon_days": 365, "training_files": 74, "training_positive_rate": 0.13513513513513514, "evaluation": [{"model_name": "logistic_regression_baseline", "precision": 0.5, "recall": 0.6666666666666666, "f1": 0.5714285714285714, "roc_auc": 0.9, "average_precision": 0.6805555555555556, "positive_rate": 0.13043478260869565, "n_test": 23}, {"model_name": "random_forest", "precision": 0.6666666666666666, "recall": 0.6666666666666666, "f1": 0.6666666666666666, "roc_auc": 0.7166666666666667, "average_precision": 0.6081871345029239, "positive_rate": 0.13043478260869565, "n_test": 23}], "best_model": "logistic_regression_baseline", "feature_importances": {"age_days": 0.2772298347115429, "loc": 0.15034675616225948, "max_cyclomatic_complexity": 0.120180018191991, "recency_days": 0.07948872597105693, "maintainability_index": 0.06708408802300242, "halstead_volume": 0.058396751091038424, "num_authors": 0.04590143412492523, "num_prior_bug_fixes": 0.04337043483194508, "halstead_difficulty": 0.034285915367074385, "sloc": 0.029333951764907863, "avg_cyclomatic_complexity": 0.023453220259096595, "num_commits": 0.02288331215341621, "function_count": 0.020128650641936058, "lines_added_total": 0.014358818448714679, "churn": 0.009538462861002933, "lines_removed_total": 0.004019625396089812}, "feature_importance_kind": "absolute standardized coefficient (Logistic Regression)", "top_risk_files": [{"file_path": "src\\flask\\sansio\\blueprints.py", "risk_score": 0.9434562912793352, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1214.0, "percentile": 0.07058823529411765, "impact": 0.7789769234364454}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 23.0, "percentile": 0.9882352941176471, "impact": 0.49191812079929825}, {"feature": "loc", "label": "lines of code", "value": 692.0, "percentile": 0.9176470588235294, "impact": 0.13539488274158495}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.9927402251482131}, {"date": "2026-10-07", "risk": 0.9434562912793352}], "trend_delta": -0.04928393386887797}, {"file_path": "src\\flask\\sansio\\app.py", "risk_score": 0.8585974620242128, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1214.0, "percentile": 0.07058823529411765, "impact": 0.7917475769519178}, {"feature": "loc", "label": "lines of code", "value": 1014.0, "percentile": 0.9529411764705882, "impact": 0.4322430356667427}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 13.0, "percentile": 0.9117647058823529, "impact": 0.2843523416844119}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.9808247188514126}, {"date": "2026-10-07", "risk": 0.8585974620242128}], "trend_delta": -0.12222725682719981}, {"file_path": "src\\flask\\sansio\\scaffold.py", "risk_score": 0.8006988834874503, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1214.0, "percentile": 0.07058823529411765, "impact": 0.7554441750013512}, {"feature": "loc", "label": "lines of code", "value": 800.0, "percentile": 0.9411764705882353, "impact": 0.35770541551773577}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 10.0, "percentile": 0.8588235294117647, "impact": 0.21711084275846748}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.9622248081284064}, {"date": "2026-10-07", "risk": 0.8006988834874503}], "trend_delta": -0.16152592464095605}, {"file_path": "tests\\test_request.py", "risk_score": 0.47045889067845015, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 704.0, "percentile": 0.047058823529411764, "impact": 0.4671934098248874}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 13.0, "percentile": 0.9117647058823529, "impact": 0.30563969619095743}, {"feature": "halstead_difficulty", "label": "Halstead difficulty", "value": 2.6842105263157894, "percentile": 0.7176470588235294, "impact": 0.042261524175864096}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": null}, {"date": "2026-10-07", "risk": 0.47045889067845015}], "trend_delta": null}, {"file_path": "tests\\type_check\\typing_route.py", "risk_score": 0.36154995616808644, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 697.0, "percentile": 0.023529411764705882, "impact": 0.3594989685453421}, {"feature": "maintainability_index", "label": "maintainability", "value": 100.0, "percentile": 0.8411764705882353, "impact": 0.11061816041405537}, {"feature": "function_count", "label": "functions", "value": 19.0, "percentile": 0.8117647058823529, "impact": 0.022508096506305586}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": null}, {"date": "2026-10-07", "risk": 0.36154995616808644}], "trend_delta": null}, {"file_path": "tests\\type_check\\typing_app_decorators.py", "risk_score": 0.2659959202362449, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 697.0, "percentile": 0.023529411764705882, "impact": 0.2646824537673368}, {"feature": "maintainability_index", "label": "maintainability", "value": 100.0, "percentile": 0.8411764705882353, "impact": 0.08946635469086581}, {"feature": "avg_cyclomatic_complexity", "label": "avg complexity", "value": 1.0, "percentile": 0.2823529411764706, "impact": 0.019547925185089715}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": null}, {"date": "2026-10-07", "risk": 0.2659959202362449}], "trend_delta": null}, {"file_path": "tests\\type_check\\typing_error_handler.py", "risk_score": 0.2641279214974673, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 697.0, "percentile": 0.023529411764705882, "impact": 0.2628269735462205}, {"feature": "maintainability_index", "label": "maintainability", "value": 100.0, "percentile": 0.8411764705882353, "impact": 0.08898797898826483}, {"feature": "avg_cyclomatic_complexity", "label": "avg complexity", "value": 1.0, "percentile": 0.2823529411764706, "impact": 0.019456406890938804}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": null}, {"date": "2026-10-07", "risk": 0.2641279214974673}], "trend_delta": null}, {"file_path": "src\\flask\\json\\provider.py", "risk_score": 0.18819581542164363, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1546.0, "percentile": 0.1411764705882353, "impact": 0.1823983032624034}, {"feature": "recency_days", "label": "days since last change", "value": 118.0, "percentile": 0.23529411764705882, "impact": 0.0887945915408024}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 7.0, "percentile": 0.7705882352941177, "impact": 0.07550793648264353}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.6122862399475528}, {"date": "2026-10-07", "risk": 0.18819581542164363}], "trend_delta": -0.42409042452590917}, {"file_path": "src\\flask\\cli.py", "risk_score": 0.15731320848321403, "reasons": [{"feature": "loc", "label": "lines of code", "value": 1126.0, "percentile": 0.9764705882352941, "impact": 0.13985596434136302}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 18.0, "percentile": 0.9705882352941176, "impact": 0.13814413690454136}, {"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.09812801062575144}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9880876225890246}, {"date": "2022-02-22", "risk": 0.8856446542696034}, {"date": "2024-06-15", "risk": 0.6174167853571354}, {"date": "2026-10-07", "risk": 0.15731320848321403}], "trend_delta": -0.8307744141058105}, {"file_path": "examples\\celery\\src\\task_app\\__init__.py", "risk_score": 0.15564352821494878, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1335.0, "percentile": 0.11176470588235295, "impact": 0.15278587356595977}, {"feature": "recency_days", "label": "days since last change", "value": 68.0, "percentile": 0.18235294117647058, "impact": 0.07953585604181064}, {"feature": "maintainability_index", "label": "maintainability", "value": 100.0, "percentile": 0.8411764705882353, "impact": 0.05732174469817984}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.426867225636328}, {"date": "2026-10-07", "risk": 0.15564352821494878}], "trend_delta": -0.2712236974213792}, {"file_path": "examples\\celery\\src\\task_app\\views.py", "risk_score": 0.046145102403804504, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1335.0, "percentile": 0.11176470588235295, "impact": 0.04539354158474694}, {"feature": "maintainability_index", "label": "maintainability", "value": 100.0, "percentile": 0.8411764705882353, "impact": 0.018323495864886793}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.4911843278564485}, {"date": "2026-10-07", "risk": 0.046145102403804504}], "trend_delta": -0.445039225452644}, {"file_path": "examples\\celery\\make_celery.py", "risk_score": 0.030970569244032718, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1335.0, "percentile": 0.11176470588235295, "impact": 0.03047392680265581}, {"feature": "maintainability_index", "label": "maintainability", "value": 100.0, "percentile": 0.8411764705882353, "impact": 0.012415142871050139}, {"feature": "avg_cyclomatic_complexity", "label": "avg complexity", "value": 0.0, "percentile": 0.11764705882352941, "impact": 0.005600418694283099}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.3894075524205479}, {"date": "2026-10-07", "risk": 0.030970569244032718}], "trend_delta": -0.3584369831765152}, {"file_path": "src\\flask\\debughelpers.py", "risk_score": 0.025456567970248735, "reasons": [{"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 13.0, "percentile": 0.9117647058823529, "impact": 0.019687690821697607}, {"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.016730824500013085}, {"feature": "halstead_difficulty", "label": "Halstead difficulty", "value": 5.85, "percentile": 0.9411764705882353, "impact": 0.00973933277232351}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9367815870909297}, {"date": "2022-02-22", "risk": 0.6756197403756934}, {"date": "2024-06-15", "risk": 0.19373407423786568}, {"date": "2026-10-07", "risk": 0.025456567970248735}], "trend_delta": -0.911325019120681}, {"file_path": "examples\\celery\\src\\task_app\\tasks.py", "risk_score": 0.024406819094037448, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1335.0, "percentile": 0.11176470588235295, "impact": 0.024018023894594818}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": null}, {"date": "2024-06-15", "risk": 0.3329819713588545}, {"date": "2026-10-07", "risk": 0.024406819094037448}], "trend_delta": -0.308575152264817}, {"file_path": "src\\flask\\app.py", "risk_score": 0.023543336692013493, "reasons": [{"feature": "loc", "label": "lines of code", "value": 1625.0, "percentile": 0.9882352941176471, "impact": 0.022795888923844928}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 16.0, "percentile": 0.9411764705882353, "impact": 0.020144554594141377}, {"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.015483790248152182}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9996358204958522}, {"date": "2022-02-22", "risk": 0.9725179184167537}, {"date": "2024-06-15", "risk": 0.2233535794893361}, {"date": "2026-10-07", "risk": 0.023543336692013493}], "trend_delta": -0.9760924838038387}, {"file_path": "src\\flask\\testing.py", "risk_score": 0.01956859163485823, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.012887597965405766}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 9.0, "percentile": 0.8352941176470589, "impact": 0.01154063610780872}, {"feature": "recency_days", "label": "days since last change", "value": 84.0, "percentile": 0.21176470588235294, "impact": 0.010548540016065014}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9262113617568358}, {"date": "2022-02-22", "risk": 0.6475454192469193}, {"date": "2024-06-15", "risk": 0.1651662991819318}, {"date": "2026-10-07", "risk": 0.01956859163485823}], "trend_delta": -0.9066427701219776}, {"file_path": "src\\flask\\ctx.py", "risk_score": 0.017577078816035048, "reasons": [{"feature": "loc", "label": "lines of code", "value": 540.0, "percentile": 0.8941176470588236, "impact": 0.011265509622986825}, {"feature": "age_days", "label": "age (days)", "value": 2781.0, "percentile": 0.4176470588235294, "impact": 0.010111452044120667}, {"feature": "recency_days", "label": "days since last change", "value": 158.0, "percentile": 0.2529411764705882, "impact": 0.008695800509004212}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9372832732123179}, {"date": "2022-02-22", "risk": 0.6008924541382527}, {"date": "2024-06-15", "risk": 0.08959686705048645}, {"date": "2026-10-07", "risk": 0.017577078816035048}], "trend_delta": -0.9197061943962828}, {"file_path": "tests\\test_json.py", "risk_score": 0.016108175803009387, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2166.0, "percentile": 0.16470588235294117, "impact": 0.014417811020817135}, {"feature": "loc", "label": "lines of code", "value": 346.0, "percentile": 0.8235294117647058, "impact": 0.007201353378947945}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 6.0, "percentile": 0.7176470588235294, "impact": 0.005790628603662473}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": 0.6830853986191039}, {"date": "2024-06-15", "risk": 0.24624607518424194}, {"date": "2026-10-07", "risk": 0.016108175803009387}], "trend_delta": -0.6669772228160945}, {"file_path": "tests\\test_session_interface.py", "risk_score": 0.015718135089177427, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2181.0, "percentile": 0.17647058823529413, "impact": 0.014012008951640164}, {"feature": "recency_days", "label": "days since last change", "value": 389.0, "percentile": 0.3352941176470588, "impact": 0.005115756436119527}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": 0.4676176874587668}, {"date": "2024-06-15", "risk": 0.06826161011569996}, {"date": "2026-10-07", "risk": 0.015718135089177427}], "trend_delta": -0.4518995523695894}, {"file_path": "src\\flask\\sessions.py", "risk_score": 0.014586346313367677, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.009622972648194582}, {"feature": "recency_days", "label": "days since last change", "value": 0.0, "percentile": 0.06470588235294118, "impact": 0.008553779434647496}, {"feature": "loc", "label": "lines of code", "value": 385.0, "percentile": 0.8588235294117647, "impact": 0.00719765946721995}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9422946109016213}, {"date": "2022-02-22", "risk": 0.6544287872793496}, {"date": "2024-06-15", "risk": 0.10142480531192445}, {"date": "2026-10-07", "risk": 0.014586346313367677}], "trend_delta": -0.9277082645882536}, {"file_path": "src\\flask\\views.py", "risk_score": 0.0125455329837532, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.008282422434489147}, {"feature": "recency_days", "label": "days since last change", "value": 56.0, "percentile": 0.13529411764705881, "impact": 0.0069845435102873785}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 7.0, "percentile": 0.7705882352941177, "impact": 0.005633562132446335}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.8511351305565107}, {"date": "2022-02-22", "risk": 0.3854561268243166}, {"date": "2024-06-15", "risk": 0.07576890297852347}, {"date": "2026-10-07", "risk": 0.0125455329837532}], "trend_delta": -0.8385895975727575}, {"file_path": "src\\flask\\templating.py", "risk_score": 0.011107378169383487, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.0073365941679487505}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.8098078862722421}, {"date": "2022-02-22", "risk": 0.3927026391762955}, {"date": "2024-06-15", "risk": 0.07458806289023502}, {"date": "2026-10-07", "risk": 0.011107378169383487}], "trend_delta": -0.7987005081028586}, {"file_path": "src\\flask\\helpers.py", "risk_score": 0.010194739228581188, "reasons": [{"feature": "loc", "label": "lines of code", "value": 679.0, "percentile": 0.9058823529411765, "impact": 0.007526077877610755}, {"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.00673589056169696}, {"feature": "max_cyclomatic_complexity", "label": "max complexity", "value": 10.0, "percentile": 0.8588235294117647, "impact": 0.006614661431612908}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9994244080701498}, {"date": "2022-02-22", "risk": 0.706992447897616}, {"date": "2024-06-15", "risk": 0.07282567062060986}, {"date": "2026-10-07", "risk": 0.010194739228581188}], "trend_delta": -0.9892296688415686}, {"file_path": "src\\flask\\json\\tag.py", "risk_score": 0.009123717455703905, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.006030454183186116}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9107486666587365}, {"date": "2022-02-22", "risk": 0.5215445075377008}, {"date": "2024-06-15", "risk": 0.15491792468155727}, {"date": "2026-10-07", "risk": 0.009123717455703905}], "trend_delta": -0.9016249492030326}, {"file_path": "src\\flask\\typing.py", "risk_score": 0.009090258507606079, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 1991.0, "percentile": 0.15294117647058825, "impact": 0.008454088468228196}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": 0.5447191378773668}, {"date": "2024-06-15", "risk": 0.12096783932013543}, {"date": "2026-10-07", "risk": 0.009090258507606079}], "trend_delta": -0.5356288793697608}, {"file_path": "src\\flask\\config.py", "risk_score": 0.007821449049102109, "reasons": [{"feature": "age_days", "label": "age (days)", "value": 2684.0, "percentile": 0.3, "impact": 0.00517200239585962}], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.893094650628816}, {"date": "2022-02-22", "risk": 0.3854841127539719}, {"date": "2024-06-15", "risk": 0.10889775769001506}, {"date": "2026-10-07", "risk": 0.007821449049102109}], "trend_delta": -0.8852732015797139}, {"file_path": "src\\flask\\wrappers.py", "risk_score": 0.004347717195375316, "reasons": [], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.7959261488236173}, {"date": "2022-02-22", "risk": 0.30150779298311026}, {"date": "2024-06-15", "risk": 0.06271945747357488}, {"date": "2026-10-07", "risk": 0.004347717195375316}], "trend_delta": -0.791578431628242}, {"file_path": "src\\flask\\globals.py", "risk_score": 0.004119082346148477, "reasons": [], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.6948442185796678}, {"date": "2022-02-22", "risk": 0.1774434535423411}, {"date": "2024-06-15", "risk": 0.029862864590191267}, {"date": "2026-10-07", "risk": 0.004119082346148477}], "trend_delta": -0.6907251362335194}, {"file_path": "src\\flask\\json\\__init__.py", "risk_score": 0.003946089978629039, "reasons": [], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": 0.9462765917528706}, {"date": "2022-02-22", "risk": 0.3850227984324415}, {"date": "2024-06-15", "risk": 0.03412989776466131}, {"date": "2026-10-07", "risk": 0.003946089978629039}], "trend_delta": -0.9423305017742416}, {"file_path": "tests\\test_async.py", "risk_score": 0.003317610376773667, "reasons": [], "trend": [{"date": "2015-03-19", "risk": null}, {"date": "2017-07-10", "risk": null}, {"date": "2019-11-01", "risk": null}, {"date": "2022-02-22", "risk": 0.46348332179575114}, {"date": "2024-06-15", "risk": 0.06221063358151315}, {"date": "2026-10-07", "risk": 0.003317610376773667}], "trend_delta": -0.46016571141897744}], "dependency_edge_count": 168, "most_coupled_files": [{"file_path": "src\\flask\\__init__.py", "afferent": 53, "efferent": 0, "instability": 0.0}, {"file_path": "src\\flask\\globals.py", "afferent": 15, "efferent": 4, "instability": 0.21052631578947367}, {"file_path": "src\\flask\\app.py", "afferent": 5, "efferent": 13, "instability": 0.7222222222222222}, {"file_path": "src\\flask\\sansio\\app.py", "afferent": 7, "efferent": 11, "instability": 0.6111111111111112}, {"file_path": "src\\flask\\wrappers.py", "afferent": 8, "efferent": 5, "instability": 0.38461538461538464}, {"file_path": "src\\flask\\ctx.py", "afferent": 4, "efferent": 8, "instability": 0.6666666666666666}, {"file_path": "src\\flask\\helpers.py", "afferent": 9, "efferent": 3, "instability": 0.25}, {"file_path": "src\\flask\\templating.py", "afferent": 4, "efferent": 7, "instability": 0.6363636363636364}, {"file_path": "src\\flask\\testing.py", "afferent": 8, "efferent": 3, "instability": 0.2727272727272727}, {"file_path": "src\\flask\\cli.py", "afferent": 6, "efferent": 4, "instability": 0.4}, {"file_path": "src\\flask\\debughelpers.py", "afferent": 4, "efferent": 5, "instability": 0.5555555555555556}, {"file_path": "src\\flask\\sansio\\scaffold.py", "afferent": 5, "efferent": 4, "instability": 0.4444444444444444}, {"file_path": "src\\flask\\sessions.py", "afferent": 6, "efferent": 3, "instability": 0.3333333333333333}, {"file_path": "src\\flask\\blueprints.py", "afferent": 1, "efferent": 6, "instability": 0.8571428571428571}, {"file_path": "src\\flask\\views.py", "afferent": 4, "efferent": 3, "instability": 0.42857142857142855}, {"file_path": "src\\flask\\sansio\\blueprints.py", "afferent": 2, "efferent": 4, "instability": 0.6666666666666666}, {"file_path": "src\\flask\\typing.py", "afferent": 6, "efferent": 0, "instability": 0.0}, {"file_path": "src\\flask\\json\\__init__.py", "afferent": 4, "efferent": 1, "instability": 0.2}, {"file_path": "tests\\test_testing.py", "afferent": 0, "efferent": 5, "instability": 1.0}, {"file_path": "src\\flask\\logging.py", "afferent": 2, "efferent": 2, "instability": 0.5}, {"file_path": "src\\flask\\signals.py", "afferent": 4, "efferent": 0, "instability": 0.0}, {"file_path": "tests\\test_basic.py", "afferent": 0, "efferent": 4, "instability": 1.0}, {"file_path": "tests\\type_check\\typing_route.py", "afferent": 0, "efferent": 4, "instability": 1.0}, {"file_path": "examples\\celery\\src\\task_app\\views.py", "afferent": 0, "efferent": 3, "instability": 1.0}, {"file_path": "examples\\tutorial\\flaskr\\auth.py", "afferent": 1, "efferent": 2, "instability": 0.6666666666666666}, {"file_path": "examples\\tutorial\\flaskr\\blog.py", "afferent": 0, "efferent": 3, "instability": 1.0}, {"file_path": "examples\\tutorial\\flaskr\\db.py", "afferent": 2, "efferent": 1, "instability": 0.3333333333333333}, {"file_path": "src\\flask\\json\\provider.py", "afferent": 2, "efferent": 1, "instability": 0.3333333333333333}, {"file_path": "src\\flask\\json\\tag.py", "afferent": 2, "efferent": 1, "instability": 0.3333333333333333}, {"file_path": "tests\\test_appctx.py", "afferent": 0, "efferent": 3, "instability": 1.0}], "cyclic_groups": [["src\\flask\\blueprints.py", "src\\flask\\testing.py", "src\\flask\\logging.py", "src\\flask\\sessions.py", "src\\flask\\helpers.py", "src\\flask\\wrappers.py", "src\\flask\\ctx.py", "src\\flask\\config.py", "src\\flask\\sansio\\blueprints.py", "src\\flask\\json\\provider.py", "src\\flask\\sansio\\app.py", "src\\flask\\templating.py", "src\\flask\\sansio\\scaffold.py", "src\\flask\\debughelpers.py", "src\\flask\\app.py", "src\\flask\\globals.py", "src\\flask\\cli.py"]], "llm_szz_assessed": null, "llm_szz_fallback": null, "history_start": "2010-04-06T13:12:57", "history_end": "2026-10-07T07:02:54", "city": [{"file_path": "src\\flask\\sansio\\blueprints.py", "loc": 692, "risk_score": 0.9434562912793352}, {"file_path": "src\\flask\\sansio\\app.py", "loc": 1014, "risk_score": 0.8585974620242128}, {"file_path": "src\\flask\\sansio\\scaffold.py", "loc": 800, "risk_score": 0.8006988834874503}, {"file_path": "tests\\test_request.py", "loc": 70, "risk_score": 0.47045889067845015}, {"file_path": "tests\\type_check\\typing_route.py", "loc": 112, "risk_score": 0.36154995616808644}, {"file_path": "tests\\type_check\\typing_app_decorators.py", "loc": 32, "risk_score": 0.2659959202362449}, {"file_path": "tests\\type_check\\typing_error_handler.py", "loc": 33, "risk_score": 0.2641279214974673}, {"file_path": "src\\flask\\json\\provider.py", "loc": 215, "risk_score": 0.18819581542164363}, {"file_path": "src\\flask\\cli.py", "loc": 1126, "risk_score": 0.15731320848321403}, {"file_path": "examples\\celery\\src\\task_app\\__init__.py", "loc": 39, "risk_score": 0.15564352821494878}, {"file_path": "examples\\celery\\src\\task_app\\views.py", "loc": 38, "risk_score": 0.046145102403804504}, {"file_path": "examples\\celery\\make_celery.py", "loc": 4, "risk_score": 0.030970569244032718}, {"file_path": "src\\flask\\debughelpers.py", "loc": 179, "risk_score": 0.025456567970248735}, {"file_path": "examples\\celery\\src\\task_app\\tasks.py", "loc": 23, "risk_score": 0.024406819094037448}, {"file_path": "src\\flask\\app.py", "loc": 1625, "risk_score": 0.023543336692013493}, {"file_path": "src\\flask\\testing.py", "loc": 298, "risk_score": 0.01956859163485823}, {"file_path": "src\\flask\\ctx.py", "loc": 540, "risk_score": 0.017577078816035048}, {"file_path": "tests\\test_json.py", "loc": 346, "risk_score": 0.016108175803009387}, {"file_path": "tests\\test_session_interface.py", "loc": 28, "risk_score": 0.015718135089177427}, {"file_path": "src\\flask\\sessions.py", "loc": 385, "risk_score": 0.014586346313367677}, {"file_path": "src\\flask\\views.py", "loc": 191, "risk_score": 0.0125455329837532}, {"file_path": "src\\flask\\templating.py", "loc": 212, "risk_score": 0.011107378169383487}, {"file_path": "src\\flask\\helpers.py", "loc": 679, "risk_score": 0.010194739228581188}, {"file_path": "src\\flask\\json\\tag.py", "loc": 327, "risk_score": 0.009123717455703905}, {"file_path": "src\\flask\\typing.py", "loc": 87, "risk_score": 0.009090258507606079}, {"file_path": "src\\flask\\config.py", "loc": 367, "risk_score": 0.007821449049102109}, {"file_path": "src\\flask\\wrappers.py", "loc": 257, "risk_score": 0.004347717195375316}, {"file_path": "src\\flask\\globals.py", "loc": 77, "risk_score": 0.004119082346148477}, {"file_path": "src\\flask\\json\\__init__.py", "loc": 170, "risk_score": 0.003946089978629039}, {"file_path": "tests\\test_async.py", "loc": 145, "risk_score": 0.003317610376773667}, {"file_path": "src\\flask\\logging.py", "loc": 79, "risk_score": 0.0028113383516779208}, {"file_path": "examples\\javascript\\js_example\\__init__.py", "loc": 5, "risk_score": 0.002775049280588335}, {"file_path": "src\\flask\\__init__.py", "loc": 39, "risk_score": 0.0021156306897423404}, {"file_path": "examples\\tutorial\\flaskr\\__init__.py", "loc": 48, "risk_score": 0.001990938770946316}, {"file_path": "src\\flask\\signals.py", "loc": 17, "risk_score": 0.001683447195574279}, {"file_path": "examples\\tutorial\\flaskr\\db.py", "loc": 56, "risk_score": 0.0012797189003963612}, {"file_path": "examples\\tutorial\\flaskr\\auth.py", "loc": 116, "risk_score": 0.0011529159677294495}, {"file_path": "tests\\test_json_tag.py", "loc": 86, "risk_score": 0.0011272238744507064}, {"file_path": "examples\\tutorial\\flaskr\\blog.py", "loc": 125, "risk_score": 0.0009246579478747598}, {"file_path": "examples\\javascript\\tests\\test_js_example.py", "loc": 27, "risk_score": 0.000911218204733677}, {"file_path": "src\\flask\\blueprints.py", "loc": 128, "risk_score": 0.0008767220668785727}, {"file_path": "tests\\test_blueprints.py", "loc": 1115, "risk_score": 0.0007827868389782903}, {"file_path": "tests\\test_basic.py", "loc": 1974, "risk_score": 0.0007153393247691639}, {"file_path": "src\\flask\\__main__.py", "loc": 3, "risk_score": 0.0005638952736734984}, {"file_path": "examples\\javascript\\js_example\\views.py", "loc": 18, "risk_score": 0.0005583244483527473}, {"file_path": "examples\\tutorial\\tests\\test_blog.py", "loc": 83, "risk_score": 0.0005010113575054375}, {"file_path": "examples\\tutorial\\tests\\test_auth.py", "loc": 69, "risk_score": 0.00041763343076908966}, {"file_path": "tests\\test_converters.py", "loc": 42, "risk_score": 0.0003855759256334165}, {"file_path": "tests\\test_cli.py", "loc": 703, "risk_score": 0.0003523633501025068}, {"file_path": "tests\\test_templating.py", "loc": 532, "risk_score": 0.00033996708560673935}, {"file_path": "tests\\test_config.py", "loc": 250, "risk_score": 0.00030812360974114136}, {"file_path": "tests\\test_appctx.py", "loc": 259, "risk_score": 0.00020714173203852473}, {"file_path": "examples\\tutorial\\tests\\conftest.py", "loc": 62, "risk_score": 0.00018548285508754}, {"file_path": "tests\\test_views.py", "loc": 271, "risk_score": 0.00011249199279059874}, {"file_path": "tests\\test_testing.py", "loc": 398, "risk_score": 0.00011192012200473944}, {"file_path": "examples\\javascript\\tests\\conftest.py", "loc": 15, "risk_score": 0.00010567439445888028}, {"file_path": "tests\\conftest.py", "loc": 112, "risk_score": 9.791567440401468e-05}, {"file_path": "examples\\tutorial\\tests\\test_db.py", "loc": 29, "risk_score": 8.857390002615046e-05}, {"file_path": "examples\\tutorial\\tests\\test_factory.py", "loc": 12, "risk_score": 7.551777331802453e-05}, {"file_path": "tests\\test_apps\\cliapp\\factory.py", "loc": 13, "risk_score": 7.248695459922243e-05}, {"file_path": "tests\\test_subclassing.py", "loc": 21, "risk_score": 6.682991666227824e-05}, {"file_path": "tests\\test_logging.py", "loc": 98, "risk_score": 6.374979203026643e-05}, {"file_path": "tests\\test_reqctx.py", "loc": 249, "risk_score": 5.452820400870513e-05}, {"file_path": "tests\\test_apps\\helloworld\\hello.py", "loc": 8, "risk_score": 4.911957701764387e-05}, {"file_path": "tests\\test_apps\\cliapp\\importerrorapp.py", "loc": 5, "risk_score": 4.8602268737189253e-05}, {"file_path": "tests\\test_apps\\helloworld\\wsgi.py", "loc": 1, "risk_score": 4.714895842231438e-05}, {"file_path": "tests\\test_apps\\subdomaintestmodule\\__init__.py", "loc": 3, "risk_score": 3.6657170865927606e-05}, {"file_path": "tests\\test_instance_config.py", "loc": 111, "risk_score": 3.0467203868367766e-05}, {"file_path": "tests\\test_apps\\cliapp\\multiapp.py", "loc": 4, "risk_score": 2.7292281323058004e-05}, {"file_path": "tests\\test_apps\\cliapp\\app.py", "loc": 3, "risk_score": 2.7223505529836234e-05}, {"file_path": "tests\\test_apps\\blueprintapp\\__init__.py", "loc": 9, "risk_score": 2.5640163488484627e-05}, {"file_path": "tests\\test_apps\\cliapp\\inner1\\inner2\\flask.py", "loc": 3, "risk_score": 2.329496586520769e-05}, {"file_path": "tests\\test_apps\\cliapp\\inner1\\__init__.py", "loc": 3, "risk_score": 2.329496586520769e-05}, {"file_path": "tests\\test_apps\\cliapp\\inner1\\inner2\\__init__.py", "loc": 0, "risk_score": 2.3116713281888168e-05}, {"file_path": "tests\\test_user_error_handler.py", "loc": 295, "risk_score": 1.935219496199836e-05}, {"file_path": "tests\\test_signals.py", "loc": 181, "risk_score": 1.8136761205729435e-05}, {"file_path": "tests\\test_regression.py", "loc": 30, "risk_score": 1.265379119513479e-05}, {"file_path": "examples\\tutorial\\flaskr\\schema.sql", "loc": 21, "risk_score": 1.1533294879944941e-05}, {"file_path": "examples\\tutorial\\tests\\data.sql", "loc": 9, "risk_score": 1.118431190854993e-05}, {"file_path": "tests\\test_helpers.py", "loc": 377, "risk_score": 8.65780909449636e-06}, {"file_path": "tests\\test_apps\\blueprintapp\\apps\\admin\\__init__.py", "loc": 20, "risk_score": 5.263422110241841e-06}, {"file_path": "tests\\test_apps\\blueprintapp\\apps\\frontend\\__init__.py", "loc": 14, "risk_score": 5.176244957075126e-06}, {"file_path": "tests\\test_apps\\cliapp\\__init__.py", "loc": 0, "risk_score": 4.864306591728571e-06}, {"file_path": "tests\\test_apps\\blueprintapp\\apps\\__init__.py", "loc": 0, "risk_score": 5.619107080066765e-07}, {"file_path": "docs\\conf.py", "loc": 101, "risk_score": 2.6665437114026653e-07}]} |