Comments (3)
Hi @aerodynamica, thanks for using PR Metrics and for filing this issue.
Unfortunately, I'm unable to reproduce it. When I try to reproduce it, I find that if the PR is Medium or larger, the message correctly specifies the base size. And if the PR is Small or Extra Small, the message doesn't contain a size.
Could you verify that you've completed a re-run of PR Metrics after any change to the PR, in case the results you provided are originating from an older run of the task? Afterwards, if you continue to encounter the issue, could you provide any additional details that might help to diagnose what is different on your system.
from pr-metrics.
For a configuration with base-size = 50 and growth-factor = 2, you have the following sizes as a function of the number of lines changed:
0-49 lines: XS
50-99 lines: S
100-199 lines: M
200-399 lines: L
etc.
Now if you have a pull request with 70 lines of code changed, there will be no message. This is correct as the pull request is small (<100 lines).
But if you have a pull request with 140 lines of code changed, the message will be
❌ Try to keep pull requests smaller than 50 lines...
This is not correct, it should be
❌ Try to keep pull requests smaller than 100 lines...
from pr-metrics.
Thanks for clarifying @aerodynamica. I'll look to bring in a fix for this in the next release.
from pr-metrics.
Related Issues (20)
- GitHub Actions support
- Azure DevOps Server packaged with outdated agent and can not use this task HOT 13
- Changes are not detected - Invalid metrics HOT 2
- This repo is missing important files
- TypeError – stack: "TypeError: Cannot read property 'length' of null HOT 2
- Azure Devops token error HOT 7
- Files are wrongfully counted as test files HOT 1
- Allow for the large pull request message to be optional HOT 1
- Allow selecting the compare branch HOT 10
- TODO: Remove System.AccessToken support after a transition period has elapsed
- Request line change info from Azure DevOps and GitHub HOT 2
- Request for ignoring white spaces while computing diff count. HOT 4
- Could not access sufficient Git history HOT 5
- Request: Make PR comment table horizontal vs vertical HOT 1
- Can't get PR Metrics to work on Azure Devops Server (not cloud) HOT 10
- Cannot read property 'forEach' of null - Azure DevOps error HOT 2
- Option to skip PR title changes HOT 4
- file-matching-patterns only respects first match pattern HOT 2
- Show dashes (-) instead of 0 in the table HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pr-metrics.