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

Features/locale weights #145

Merged
merged 1 commit into from
Jan 28, 2019

Conversation

crankycoder
Copy link
Contributor

The top10_dict.json file for the LocaleRecommender now includes weights for each of the GUIDs.

LocaleRecommender was previously using hard coded weights of 1.0 for each GUID.

This patch properly uses the weights in the JSON file. Support to presort the JSON data has been added to the LazyS3 JSON loader as well.

@coveralls
Copy link

coveralls commented Jan 26, 2019

Coverage Status

Coverage increased (+0.1%) to 89.303% when pulling e0b850c on crankycoder:features/locale_weights into c875791 on mozilla:master.

* Reworked the LazyS3 loader to accept an optional transform function to
  modify the JSON on load.
* Dropped dead testcase and clarified name for another testcase.
@crankycoder crankycoder merged commit fd4a3c4 into mozilla:master Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants