Skip to content

Commit 8cc6674

Browse files
authored
Update randomizeop.py
1 parent 940cdcf commit 8cc6674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kaleidoscope/operators/randomizeop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run(self, source: Dataset) -> Dataset: # noqa: D102
8282
"tracking_id",
8383
source.attrs.get(
8484
"uuid",
85-
f"{uuid.uuid3(uuid.NAMESPACE_URL, self._args.source_file.resolve().as_uri())}",
85+
f"{uuid.uuid5(uuid.NAMESPACE_URL, self._args.source_file.resolve().as_uri())}",
8686
),
8787
)
8888
target: Dataset = Dataset(
@@ -162,7 +162,7 @@ def config(self) -> dict[str : dict[str:Any]]:
162162
config = json.load(r)
163163
return config
164164

165-
def entropy(self, name: str, uuid: str, n: int = 4) -> list[int]:
165+
def entropy(self, name: str, uuid: str, n: int = 2) -> list[int]:
166166
"""
167167
Returns the entropy of the seed sequence used for a given variable.
168168

0 commit comments

Comments
 (0)