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

Weight random test content with word frequency data #2

Open
max-niederman opened this issue Mar 15, 2021 · 0 comments
Open

Weight random test content with word frequency data #2

max-niederman opened this issue Mar 15, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@max-niederman
Copy link
Owner

Currently, when elements are selected from a language file, each word is given equal weight; however, in reality, some words are much more common than others. Weighting each word by how often it's used would result in more realistic test content.

This shouldn't be too difficult to implement since rand already has a method to choose random elements with weights, but it will require changing the format of the language file.

@max-niederman max-niederman added the enhancement New feature or request label Mar 15, 2021
max-niederman pushed a commit that referenced this issue Nov 28, 2021
removed advanced1000 option
@max-niederman max-niederman added this to the v2 milestone Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant