dosubot[bot] commented on issue #8542: URL: https://github.com/apache/incubator-devlake/issues/8542#issuecomment-3201046708
<!-- Answer --> Yes, that's correct. pr_coding_time will only show a value if there's a time gap between the first commit in the branch and the creation of the MR. If you create a branch, make a first commit, continue working (making additional commits and pushing them), and then open the MR later, pr_coding_time will reflect the time between that first commit and the MR creation. If all commits are pushed right before opening the MR, or if the first commit and MR creation happen at nearly the same time, pr_coding_time will be zero or missing. This is a limitation of how DevLake calculates coding time—it relies on Git timestamps and can't infer time spent coding locally before the first push [reference](https://github.com/apache/incubator-devlake/discussions/8440). _Written by @dosu, approved by dosu-customer-success_ <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3c0bd274-cec7-44b4-baad-2af431754aa2?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8542) -- 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