Skip to content

Commit 26d84be

Browse files
committed
Include all problems in synth experiments
1 parent 2b5cc38 commit 26d84be

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

experiments/SynthBN/scripts/synth_biodivine.jl

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,11 @@ include(srcdir("synth_process.jl"))
1212
include(srcdir("evaluator.jl"))
1313
include(srcdir("create_problem.jl"))
1414

15-
to_include = ["001", "002", "003"]
1615

17-
res = collect_results(
18-
datadir("sims", "biodivine_split");
19-
rinclude = [Regex("id=$n") for n in to_include],
20-
)
16+
res = collect_results(datadir("sims", "biodivine_split");)
2117
res.ID = ((x -> x[end-1]["id"]) parse_savename).(res.path)
2218
rename!(res, :path => "Trajectory Path")
23-
mg_df = collect_results(
24-
datadir("src_parsed", "biodivine_benchmark_as_metagraphs");
25-
rinclude = [Regex("$n") for n in to_include],
26-
)
19+
mg_df = collect_results(datadir("src_parsed", "biodivine_benchmark_as_metagraphs");)
2720
mg_df.ID = ((x -> parse(Int, x)) (x -> x[1]) splitext basename).(mg_df.path)
2821
rename!(mg_df, :path => "Model Path")
2922

@@ -33,10 +26,10 @@ synth_params = Dict(
3326
"seed" => 42,
3427
"max_depth" => 6,
3528
"id" => res.ID,
36-
"n_trajectories" => collect(10:10:100),
29+
"n_trajectories" => collect(10:20:110),
3730
"iterator_type" => [BFSIterator],
3831
"grammar_builder" => [build_dnf_grammar],
39-
"max_iterations" => 5_000_000,
32+
"max_iterations" => 1_000_000,
4033
)
4134

4235
function synth_one_vertex(save_data)

0 commit comments

Comments
 (0)