dosubot[bot] commented on issue #8293: URL: https://github.com/apache/incubator-devlake/issues/8293#issuecomment-2657455515
<!-- Answer --> The issue you're encountering seems to be related to how skipped tasks are classified in the Azure DevOps plugin of the DevLake codebase. Currently, skipped tasks are classified under the `JobResult` enumeration with the value `Skipped`, and in the conversion logic, they are mapped to `devops.CICDResult.RESULT_DEFAULT` <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/python/plugins/azuredevops/azuredevops/models.py)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/python/plugins/azuredevops/azuredevops/streams/jobs.py)</sup>. This classification might be causing them to be interpreted incorrectly in the DORA metrics calculation, potentially leading to them being treated as failures. To address this, you might consider modifying the logic that maps skipped tasks to ensure they are not classified as failures or included in the metrics calculation. This would involve adjusting the conversion logic to handle skipped tasks appropriately, possibly by excluding them from the metrics aggregation process. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=other) | [Bug Report](https://app.dosu.dev/response-feedback/f82f68c0-caef-4876-b9e0-1043e4981b10?feedback_type=bug_report)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org