Startrekzky opened a new issue, #3806:
URL: https://github.com/apache/incubator-devlake/issues/3806

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   There're five PR metrics to measure the velocity of the engineering process, 
which are:
   - [PR cycle time](https://devlake.apache.org/docs/next/Metrics/PRCycleTime)
   - [PR coding time](https://devlake.apache.org/docs/next/Metrics/PRCodingTime)
   - [PR pickup time](https://devlake.apache.org/docs/next/Metrics/PRPickupTime)
   - [PR review time](https://devlake.apache.org/docs/next/Metrics/PRReviewTime)
   - [PR deploy time](https://devlake.apache.org/docs/next/Metrics/PRDeployTime)
   
   DevLake precalculates the results of these metrics and stores them to 
table.pull_requests. However, the names of these fields are:
   - change_timespan
   - coding_timespan
   - review_lag
   - review_timespan
   - deploy_timespan
   
   ### What do you expect to happen
   
   1. Update these `fields` to make them consistent with the metric names:
      - pr_cycle_time
      - pr_coding_time
      - pr_pickup_time
      - pr_review_time
      - pr_deploy_time
   2. Update the doc of 
[table.pull_requests](https://devlake.apache.org/docs/next/DataModels/DevLakeDomainLayerSchema#pull_requests)
   
   ### How to reproduce
   
   N/A
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to