small changes

This commit is contained in:
2025-08-19 09:47:39 -05:00
parent da80dd3932
commit d0329090ac
5 changed files with 43 additions and 34 deletions

2
.gitignore vendored
View File

@@ -2,3 +2,5 @@
.DS_Store .DS_Store
output output
__pycache__ __pycache__
.ipynb_checkpoints

0
__init__.py Normal file
View File

File diff suppressed because one or more lines are too long

View File

@@ -94,7 +94,6 @@ def shuffle_benchmark(
full_path = Path(file_path) / file_name full_path = Path(file_path) / file_name
if not overwrite and full_path.exists(): if not overwrite and full_path.exists():
print(f"file exists {file_path}") print(f"file exists {file_path}")
with open(full_path, "r") as fp: with open(full_path, "r") as fp:
runs = fp.readline() runs = fp.readline()
runs = runs.split(',') runs = runs.split(',')

View File

@@ -44,5 +44,4 @@ class Evilkode:
return EvilOutput(possible_nkodes=[list(el) for el in self.possible_nkode], iterations=idx+1) return EvilOutput(possible_nkodes=[list(el) for el in self.possible_nkode], iterations=idx+1)
for jdx, props in enumerate(obs.property_list): for jdx, props in enumerate(obs.property_list):
self.possible_nkode[jdx] = props.intersection(self.possible_nkode[jdx]) self.possible_nkode[jdx] = props.intersection(self.possible_nkode[jdx])
raise Exception("error in Evilkode, observations stopped yielding") raise Exception("error in Evilkode, observations stopped yielding")