Skip to content

Weight random test content with word frequency data #2

@max-niederman

Description

@max-niederman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions