Coder Social home page Coder Social logo

Comments (3)

muiriswoulfe avatar muiriswoulfe commented on May 22, 2024

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.

aerodynamica avatar aerodynamica commented on May 22, 2024

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.

muiriswoulfe avatar muiriswoulfe commented on May 22, 2024

Thanks for clarifying @aerodynamica. I'll look to bring in a fix for this in the next release.

from pr-metrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.