Skip to content

Implement weights "pruning" logic  #116

@pirj

Description

@pirj

By this point, we should have an extension point for custom pruning logic.

We need another class that implements weights based on pruning logic.

E.g. with:

# crystalball.yml
weights:
 - ["/app/models/*", 10]
 - ["/app/controllers/*", 5]
 - ["/app/mailers/*", 1]

Crystalball should fill examples limit to closest possible ratio as in weights.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestan issue that asks for a feature which is not supported yethelp wanted

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions