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

Per language tree manager settings #1257

Open
andreaskoepf opened this issue Feb 6, 2023 · 0 comments
Open

Per language tree manager settings #1257

andreaskoepf opened this issue Feb 6, 2023 · 0 comments
Labels

Comments

@andreaskoepf
Copy link
Collaborator

andreaskoepf commented Feb 6, 2023

Recently additional languages were added to the system. The current tree manager settings keeps 100 trees active which is a reasonable number for languages like English. For languages with few contributors this number is probably too high with the consequence that it will take a long time until trees reach their goal size, go through ranking and get the ready_for_export state.

Here is a snapshot of the language distribution of (non-synthetic) messages in the system ~2023-02-06 09:00 UTC:

 lang  | count 
-------+-------
 vi    |     9
 hu    |    10
 de    |  1410
 ja    |   105
 ko    |     4
 fr    |   699
 zh    |    97
 en    | 15118
 es    |   741
 pt-BR |   213
 ru    |  1056

Current goal_tree_size is set to 12 messages, i.e. to complete 100 trees 1200 messages are necessary. A simple solution would be to specify certain settings like the number of active trees per language. We could for example use 25 as default and specify higher values for the most active languages. The configuration parameters of the tree manager can be found in config.py#L8-L142.

(If you have ideas for an algorithm to dynamically adjusts the max_active_trees value please let us know. Please also consider side-effects like less diverse tasks/less fun for contributors when the tree count is getting too low.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant