Skip to content

weighted distribution functionality doesn't seem to work properly #250

@Amirk97

Description

@Amirk97

So I have set out a simple distribution function as below:

@vsc.constraint
def change_rand(self): 
    vsc.dist(self.enable_change, [
        vsc.weight(0, 95),
        vsc.weight(1, 5)])

but the randomized values don't seem to obey the weighted constraint that I was expecting, just by eyeballing the results things seem to be off. I have attached my log file for the mentioned variable.

f.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions