Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Acto to utilize examples when generating test values #395

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions acto/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
if "monkey_patch" in config:
del config["monkey_patch"]
config = OperatorConfig.model_validate(config)

logger.info("Acto started with [%s]", sys.argv)
logger.info("Operator config: %s", config)

Expand All @@ -137,7 +138,6 @@
workdir_path=args.workdir_path,
operator_config=config,
cluster_runtime="KIND",
preload_images_=None,
context_file=context_cache,
helper_crd=args.helper_crd,
num_workers=args.num_workers,
Expand All @@ -147,13 +147,12 @@
is_reproduce=False,
input_model=DeterministicInputModel,
apply_testcase_f=apply_testcase_f,
delta_from=None,
focus_fields=config.focus_fields,
)
generation_time = datetime.now()
logger.info("Acto initialization finished in %s", generation_time - start_time)
if not args.learn:
acto.run(modes=["normal"])
acto.run()

Check warning on line 155 in acto/__main__.py

View workflow job for this annotation

GitHub Actions / coverage-report

Missing coverage

Missing coverage on line 155
normal_finish_time = datetime.now()
logger.info("Acto normal run finished in %s", normal_finish_time - start_time)
logger.info("Start post processing steps")
Expand Down
Loading
Loading