diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e601c36a..dce6256c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,6 +7,8 @@ on: branches: [main] tags: ["*"] pull_request: + issue_comment: + types: [created] concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. diff --git a/src/AIAPC2020/run_aiapc.jl b/src/AIAPC2020/run_aiapc.jl index 643c7b00..db6744b0 100644 --- a/src/AIAPC2020/run_aiapc.jl +++ b/src/AIAPC2020/run_aiapc.jl @@ -107,7 +107,8 @@ function run_aiapc(; for i = 1:n_parameter_iterations println("Parameter iteration $i of $n_parameter_iterations") - file_name = joinpath(folder_name, savename((parameter_iteration = i, suffix = "csv"))) + file_name = + joinpath(folder_name, savename((parameter_iteration = i, suffix = "csv"))) exp_list_ = AIAPCSummary[] exp_list = @showprogress pmap( run_and_extract, @@ -124,6 +125,6 @@ function run_aiapc(; exp_df = vcat(exp_df...) CSV.write(folder_name * ".csv", exp_df) - rm(folder_name, recursive=true) # Remove folder after merging and writing to CSV + rm(folder_name, recursive = true) # Remove folder after merging and writing to CSV return exp_df end diff --git a/src/DDDC2023/run_dddc.jl b/src/DDDC2023/run_dddc.jl index 4f764b0d..39bb2da9 100644 --- a/src/DDDC2023/run_dddc.jl +++ b/src/DDDC2023/run_dddc.jl @@ -17,7 +17,7 @@ function run_dddc(; n_parameter_iterations = 1, max_iter = Int(1e9), convergence_threshold = Int(1e5), - n_grid_increments = 100, + n_grid_increments = 100, version = "v0.0.0", start_timestamp = now(), batch_size = 1, @@ -41,7 +41,7 @@ function run_dddc(; competition_solution_dict = Dict(d_ => CompetitionSolution(competition_params_dict[d_]) for d_ in [:high, :low]) - + α = Float64(0.15) β = Float64(4e-1) δ = 0.95 diff --git a/viz/a1_viz.jl b/viz/a1_viz.jl index d7aeaaf8..146a3e99 100644 --- a/viz/a1_viz.jl +++ b/viz/a1_viz.jl @@ -16,11 +16,14 @@ using Statistics job_id = "7799305" -csv_files = filter!(x -> occursin(Regex("data/SLURM_ARRAY_JOB_ID=$(job_id).*.csv"), x), readdir("data", join = true)) +csv_files = filter!( + x -> occursin(Regex("data/SLURM_ARRAY_JOB_ID=$(job_id).*.csv"), x), + readdir("data", join = true), +) df_ = DataFrame.(CSV.File.(csv_files)) -for i in 1:length(df_) +for i = 1:length(df_) df_[i][!, "metadata"] .= csv_files[i] end df = vcat(df_...)