(
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,
)
| 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 = ( |
nothing calls this directly
no outgoing calls
no test coverage detected