Skip to content

Commit

Permalink
change logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alex28sh committed Sep 22, 2024
1 parent 333f960 commit fb0d652
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion verified_cogen/experiments/incremental_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ def main():
args.temperature,
)
runner = ValidatingRunner(
wrapping=InvariantRunner(llm, logger, verifier, log_tries),
wrapping=InvariantRunner(llm, logger, verifier),
language=language,
log_tries=log_tries
)
display_name = rename_file(file)
marker_name = str(file.relative_to(directory))
Expand Down
5 changes: 3 additions & 2 deletions verified_cogen/runners/validating.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pathlib
from typing import Optional
from verified_cogen.runners import Runner
from verified_cogen.runners.languages.language import Language
Expand All @@ -9,8 +10,8 @@ class ValidatingRunner(Runner):
language: Language
prg: Optional[str] = None

def __init__(self, wrapping: Runner, language: Language):
super().__init__(wrapping.llm, wrapping.logger, wrapping.verifier)
def __init__(self, wrapping: Runner, language: Language, log_tries : Optional[pathlib.Path] = None):
super().__init__(wrapping.llm, wrapping.logger, wrapping.verifier, log_tries)
self.wrapped_runner = wrapping
self.language = language

Expand Down

0 comments on commit fb0d652

Please sign in to comment.