MCPcopy Create free account
hub / github.com/bruno686/VisPlay / __init__

Method __init__

configuration_utils.py:1444–1456  ·  view source on GitHub ↗
(
        self,
        greenlist_ratio: Optional[float] = 0.25,
        bias: Optional[float] = 2.0,
        hashing_key: Optional[int] = 15485863,
        seeding_scheme: Optional[str] = "lefthash",
        context_width: Optional[int] = 1,
    )

Source from the content-addressed store, hash-verified

1442 """
1443
1444 def __init__(
1445 self,
1446 greenlist_ratio: Optional[float] = 0.25,
1447 bias: Optional[float] = 2.0,
1448 hashing_key: Optional[int] = 15485863,
1449 seeding_scheme: Optional[str] = "lefthash",
1450 context_width: Optional[int] = 1,
1451 ):
1452 self.greenlist_ratio = greenlist_ratio
1453 self.bias = bias
1454 self.hashing_key = hashing_key
1455 self.seeding_scheme = seeding_scheme
1456 self.context_width = context_width
1457
1458 def validate(self):
1459 watermark_missing_arg_msg = (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected