Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match scoring #3

Closed
johnmhoran opened this issue Oct 28, 2017 · 2 comments
Closed

Match scoring #3

johnmhoran opened this issue Oct 28, 2017 · 2 comments
Assignees

Comments

@johnmhoran
Copy link
Member

johnmhoran commented Oct 28, 2017

When we have a matching set of files in deltacode, we need to have some way of scoring or weighing a match.

This will also come into play more when we start to incorporate license and copyright changes.

This score will ultimately take the place of modified string in our match object.

@steven-esser
Copy link
Contributor

A simple way to start is just by adding a new 'score' field to our Delta object.

After that, you can define a new function under the Delta object that computes the score, or update this field some other way.

Even though we do not do explicit calculations right now, we can hardcode score values for our different Delta categories as a start.

@steven-esser
Copy link
Contributor

This has been handled in other tickets.

@steven-esser steven-esser moved this from To do to Done in 1.1.0 Release Apr 2, 2018
@steven-esser steven-esser removed this from Done in 1.1.0 Release Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants