Skip to content

Commit

Permalink
reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alex28sh committed Sep 22, 2024
1 parent fb0d652 commit 6365146
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion verified_cogen/experiments/incremental_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def main():
runner = ValidatingRunner(
wrapping=InvariantRunner(llm, logger, verifier),
language=language,
log_tries=log_tries
log_tries=log_tries,
)
display_name = rename_file(file)
marker_name = str(file.relative_to(directory))
Expand Down
7 changes: 6 additions & 1 deletion verified_cogen/runners/validating.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ class ValidatingRunner(Runner):
language: Language
prg: Optional[str] = None

def __init__(self, wrapping: Runner, language: Language, log_tries : Optional[pathlib.Path] = None):
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 6365146

Please sign in to comment.