SimulationsFramework/shared/config_example.json

65 lines
1.1 KiB
JSON

{
"arguments": {
"output-format": "csv",
"output-file": "test",
"output-folder": "folder",
"number-of-simulations": 3
},
"simulation": {
"consensus_settings": {
"snow_ball": {
"quorum_size": 14,
"sample_size": 20,
"decision_threshold": 20
}
},
"distribution": {
"yes": 0.6,
"no": 0.4,
"none": 0.0
},
"byzantine_settings": {
"total_size": 10000,
"distribution": {
"honest": 1.0,
"infantile": 0.0,
"random": 0.0,
"omniscient": 0.0
}
},
"wards": [
{
"time_to_finality": {
"ttf_threshold": 1
}
}
],
"network_modifiers": [
{
"random_drop": {
"drop_rate": 0.01
}
}
],
"seed": 18042022
},
"plotter": {
"countplot": {
"plot_options": {
"x": "vote"
},
"save_options": {
"name": "test.png"
}
},
"scatterplot": {
"plot_options": {
"x": "id",
"y": "vote"
},
"save_options": {
"name": "test2.png"
}
}
}
}