From 0c87256b5631d9d0e4a9d00cf50e72fb79c1fd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr> Date: Mon, 17 Jul 2023 11:03:59 +0200 Subject: [PATCH] fill in the file src/users/user_description_file_template.json for documentation, issue #18 --- src/users/user_description_file_template.json | 50 +++++++++++++++---- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/src/users/user_description_file_template.json b/src/users/user_description_file_template.json index 26887a4..36bbe20 100644 --- a/src/users/user_description_file_template.json +++ b/src/users/user_description_file_template.json @@ -1,26 +1,32 @@ { "core_limit_per_user": 100, // optional, default: infinite - "dm_window": [2764800, 3110400], // if there are 'dm_' users + // For DMUsers; + "dm_window": [2764800, 3110400], "log_user_stats": true, "log_folder": "/home/mael/ownCloud/workspace/exp_batsim/out/demand_response/DMDegrad_may1_2_3", + // For DMUserMultiBEhavior: + "seed" : -3, + "red_windows" : [[200000, 300000], [400000, 450000]], // either red or yellow must be defined + "yellow_windows" : [[5000, 10000]], // must not overlap with red_window + "users": [ { - "name": "bob", - "category": "routine_greedy", + "name": "alice", + "category": "dicho_intersubmission_time", "param": { "first_sumbit": 0, "end_submit": 10000, - "delay_between_sumbit": 1000, - "initial_nb_job": 2 + "initial_delay": 1000 } }, { - "name": "alice", - "category": "dicho_intersubmission_time", + "name": "bob", + "category": "routine_greedy", "param": { "first_sumbit": 0, "end_submit": 10000, - "initial_delay": 1000 + "delay_between_sumbit": 1000, + "initial_nb_job": 2 } }, { @@ -79,10 +85,34 @@ } }, { - "name": "jolene", + "name": "jolyne", + "category": "dm_user_multi_behavior", + "param": { + "input_json": "jolyne.json", + "red_prob_rigid_multi_core" : 0.2, + "red_prob_degrad_multi_core" : 0.2, + "red_prob_reconfig_multi_core" : 0.2, + "red_prob_renonce_multi_core" : 0.2, + "red_prob_see_you_later_multi_core": 0.0, + + "red_prob_rigid_mono_core" : 0.25, + "red_prob_degrad_mono_core" : 0.25, + "red_prob_renonce_mono_core" : 0.25, + "red_prob_see_you_later_mono_core": 0.25, + + "yellow_prob_degrad_multi_core" : 0.3, + "yellow_prob_reconfig_multi_core" : 0.3, + "yellow_prob_rigid_multi_core" : 0.3, + + "yellow_prob_degrad_mono_core" : 0.5, + "yellow_prob_rigid_mono_core" : 0.5 + } + }, + { + "name": "kalvin", "category": "feedback_user_think_time_only", "param": { - "input_json": "jolene.json" + "input_json": "kalvin.json" } } ] -- GitLab