Comments (1)
Interesting. I've a question though: any idea on what could be this weight number and how it would change? As I see it, maybe it can be as simple as:
- 0 if we're doing it on a snapshot
- 1 otherwise
Because I think we're dealing with an issue of lack of information: if we want to ascribe a number to capture all the complexities of a file in a snapshot, naturally we can't take churn into account, in which case our skunk core is less precise or maybe less significant due to the lack of information.
It's more like we have one possible formula if we take the code's history into account and another formula if we don't...
One other way to think of this is analogous to the integration of a function, I believe. In math, when you integrate something over a variable, it's as if you were summing the values of the function at many points, ending up with the area under the function's curve and we could consider that our skunk score
I could try and elaborate more, but this would imply a change on how to see the skunk score: it would be the sum of the cost*penalty function over the churn.
What we'd need to define is what does churn mean for a given snapshot in order to know if this makes any sense.
from skunk.
Related Issues (20)
- [BUG] skunk_score method documentation is inaccurate
- Output to file HOT 4
- Create GitHub page for the project HOT 5
- Allow Skunk to HTML output the results it generates HOT 1
- Add a simple way to share a skunk report by setting an environment variable (SHARE=true) HOT 2
- [REQUEST] Add support for branch comparison when code coverage has changed between branches
- [REQUEST] Improve comparison interface to output improvement (or not) related to the changes in the branch HOT 1
- [BUG] Nested /test or /spec folders are not ignored HOT 1
- Skunk is running duplicated jobs for both `skunk` and `rake test`
- [REQUEST] Ruby versions compatibility HOT 5
- [BUG] Compare command is now raising an error on v0.5.0 (related to the share feature) HOT 1
- Wrong sponsorship url in the README
- [BUG] Sponsors badge looks wrong with dark theme HOT 1
- [BUG] Error when running churn check HOT 2
- execute ': undefined method `share'
- Skunk breaks when is using simplecov 0.21.2
- [BUG] Ruby 3.1.0 support HOT 1
- [BUG] Skunk has Ruby requirement < 3.1.0 which won't work when using Ruby 3.1.2 HOT 1
- [REQUEST] Skunk Score should be a "GPA score"-like letter based on a 0-100 scale
- [BUG] When comparing with other branches, output file is blank 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 skunk.