Closed rizar closed 8 years ago
Did you interrupt the tests? I guessed that they are optional in a sense that you don't have to cover everything, but it is still nice to run them to make sure that the PR doesn't break the old code.
Otherwise, it looks fine, LGTM.
I did not interrupt them, not sure what happened.
Sequence generators v2.0 were never properly finished, however it is essential to fix this bug because some code actually uses them. Methods
scores
andcosts
are supposed to receive more inputs than methodmerge
can handle. Therefore, when they callmerge
, they should select only those necessary formerge
by doingdict_subset(inputs, self.merge_names)
. Incosts
this has already been implemented, time to add it toscores
as well.Since in this repository tests and peer review are optional, I will merge this PR in the nearest future.