Software-Improvement-Group / sigridci

Sigrid CI: Measure and improve your code, continuously
https://docs.sigrid-says.com
38 stars 37 forks source link

Allow a target of "not worse" #97

Open dennis-sig opened 2 years ago

dennis-sig commented 2 years ago

Requested/proposed by a client to @SebGondron. This type of suggestion fits well with our boy scout rule storyline, and it's a very pragmatic solution for systems that are very large and/or old and/or use older technologies.

JohanVT commented 1 year ago

We are currently switching from FTP upload to SigridCI for several scientific/computational/modeling applications, using a mix of technologies (Fortran, C#, Python, Ruby, and more) within the same project.

I decided to set the targetquality to 0 because the results of other values feel too random. The "not worse" target would be very helpful!

Assuming "not worse" is determined for existing code by comparing the results of the same sources. For new source files it's probably best to keep using the targetquality?

MichielCuijpers commented 1 year ago

thanks @JohanVT