config_example.json
1 { 2 "arguments": { 3 "output-format": "csv", 4 "output-file": "test", 5 "output-folder": "folder", 6 "number-of-simulations": 3 7 }, 8 "simulation": { 9 "consensus_settings": { 10 "snow_ball": { 11 "quorum_size": 14, 12 "sample_size": 20, 13 "decision_threshold": 20 14 } 15 }, 16 "distribution": { 17 "yes": 0.6, 18 "no": 0.4, 19 "none": 0.0 20 }, 21 "byzantine_settings": { 22 "total_size": 10000, 23 "distribution": { 24 "honest": 1.0, 25 "infantile": 0.0, 26 "random": 0.0, 27 "omniscient": 0.0 28 } 29 }, 30 "wards": [ 31 { 32 "time_to_finality": { 33 "ttf_threshold": 1 34 } 35 } 36 ], 37 "network_modifiers": [ 38 { 39 "random_drop": { 40 "drop_rate": 0.01 41 } 42 } 43 ], 44 "seed": 18042022 45 }, 46 "plotter": { 47 "countplot": { 48 "plot_options": { 49 "x": "vote" 50 }, 51 "save_options": { 52 "name": "test.png" 53 } 54 }, 55 "scatterplot": { 56 "plot_options": { 57 "x": "id", 58 "y": "vote" 59 }, 60 "save_options": { 61 "name": "test2.png" 62 } 63 } 64 } 65 }