Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor QuickScoreConfig to extend BaseConfig
Add useSkipReduction() method and emptyQueryScore to the config. Move constants into config object so they can be overridden. Use emptyQueryScore = 0 with the default config. Rename config() to createConfig(). Create a config from the configOptions in createScorer(). Fix zero score tests. Remove babel key from package.json. Add babel-plugin-external-helpers to avoid duplicate class call checks. Update eslintrc.
- Loading branch information
1 parent
8343fe9
commit 074b364
Showing
8 changed files
with
129 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.