257 Commits

Author SHA1 Message Date
Sudipta Basak
299323f655
Adding missing sample count in missing samples plot textbox 2024-05-16 06:07:40 +00:00
Sudipta Basak
804fdcdee3
fixed old heatmap bug 2024-05-16 05:13:24 +00:00
Sudipta Basak
7dfc0c099c
Added textbox in heatmap plots 2024-05-16 05:09:13 +00:00
Sudipta Basak
732589185c
Creating separate plots for each varying params 2024-05-15 13:19:03 +00:00
Sudipta Basak
ea689f2283
Updated seaborn version to fix a warning 2024-03-20 17:21:38 +00:00
Arunima Chaudhuri
ebb41a84d1 Added heatmaps of netDegree vs failureRate on Missing Samples
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-19 23:11:15 +00:00
Sudipta Basak
1dae18a022
Added heatmaps of netDegree vs maliciousNodes on Missing Samples 2024-03-19 22:03:03 +00:00
Sudipta Basak
42356a8a39
plotNWDegVsNodeOnRuntime() function fixed return condition 2024-03-19 20:58:35 +00:00
Sudipta Basak
1d14f9eab3
Corrected plot textbox 2024-03-19 13:27:46 +00:00
Sudipta Basak
7c769f800b
Segment Size field in plot textbox & Implemented Heatmap of NetDegree vs NoOfNodes on Simulation Runtime 2024-03-18 22:58:53 +00:00
Sudipta Basak
1303229026
Plot attrbs name fix 2024-03-14 20:19:23 +00:00
Csaba Kiraly
6c43023ce9
Merge pull request #59 from codex-storage/config-scheduler
Expose more scheduler and forwarding related configuration options
2024-03-12 23:26:20 +01:00
Csaba Kiraly
ea8996f1f2
rename forwardOnRepair to forwardWhenLineReceived
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-12 23:16:52 +01:00
Csaba Kiraly
22ee856e2f
Merge pull request #61 from codex-storage/fix-RowColumn-count
Fix the verification of rows and columns assigned
2024-03-12 15:24:11 +01:00
Arunima Chaudhuri
bbe5f08edb increase fontsize & add K, N dimensions to textbox
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-09 16:11:42 +05:30
Arunima Chaudhuri
ea064dd51a fix warnings
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-07 18:42:00 +05:30
Arunima Chaudhuri
312ff6a1d2 fix warnings on ecdfRestore row col Count
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-07 18:25:36 +05:30
Leonardo Bautista-Gomez
22de053aee Fix the verification of rows and columns assigned 2024-03-07 12:01:07 +01:00
Arunima Chaudhuri
49354e2ba9 Modify text box positioning to appear outside plots
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-05 16:08:48 +05:30
Csaba Kiraly
bd5789e2e0
Merge branch 'develop' into config-scheduler
# Conflicts:
#	DAS/node.py
#	smallConf.py

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 17:50:17 +01:00
Csaba Kiraly
03bfe0a8aa
Merge branch 'develop' into published-copies
# Conflicts:
#	smallConf.py
2024-03-04 17:29:28 +01:00
Csaba Kiraly
4a015538af
Merge branch 'maliciousNode' into develop
# Conflicts:
#	DAS/shape.py
2024-03-04 17:25:24 +01:00
Csaba Kiraly
04b43b67d1
fixup results file name
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 16:40:18 +01:00
Csaba Kiraly
5e0afdd233
Merge branch 'node-and-validator' into develop
# Conflicts:
#	DAS/node.py
#	DAS/shape.py
#	DAS/simulator.py
#	smallConf.py
2024-03-04 11:54:25 +01:00
Csaba Kiraly
23f22eb4d5
expose scheduler related configs in config.py
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 10:19:14 +01:00
Csaba Kiraly
fab1dff617
add queueAllOnInit
instead of using a dynamic scheduler, the bolck builder can queue
up everything for sending at the beginning.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 10:18:51 +01:00
Csaba Kiraly
71394768cc
add forwardOnRepair
If not forwarding on receive, nodes can forward when a whole line
is available.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 10:18:44 +01:00
Csaba Kiraly
2ff4bf4825
add forwardOnReceive
Normally, nodes would queue messages for forwarding to mesh
neighbors right on receive

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 10:18:38 +01:00
Csaba Kiraly
b22a096cbc
set number of copies of rows/columns published
Sets how many copies are sent out by the block producer over
rows and over columns.
Note, previously this was set to match netDegree in both
dimensions. We keep this default.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 10:17:46 +01:00
Arunima Chaudhuri
2add749fb5 clean code of graphs
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-03 18:34:16 +05:30
Arunima Chaudhuri
d92468b69b correct index
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-03 02:25:07 +05:30
Arunima Chaudhuri
b0bfa2d20f
Merge branch 'develop' into maliciousNode 2024-03-03 02:15:52 +05:30
Arunima Chaudhuri
08883e560f add plt.text
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-02 13:10:25 +00:00
Arunima Chaudhuri
62a2116434 add ecdf, boxen, box plots for restore row & col
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-02 13:05:24 +00:00
Arunima Chaudhuri
1893cc7bd0 comment out bar plots & box plots
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-01 20:11:49 +01:00
Arunima Chaudhuri
bf064e40f3 Updated ECDF plots to plot data classwise
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-01 19:55:21 +01:00
Csaba Kiraly
911ee6b6e4
fix validator progress counter
if custody is based on the requirements of underlying individual
validators, we can get detailed data on how many validated.
Otherwise, we can only use the weighted average.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-01 10:46:24 +01:00
Arunima Chaudhuri
14dc9543d7 correcting class ration in graphs
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-29 20:09:46 +01:00
Csaba Kiraly
a634aa07e0
add config.validatorBasedCustody
the overall number of row/columns taken into custody by a node is determined by
a base number (custody) and a class specific multiplier (validatorsPerNode).
We support two models:
 - validatorsBasedCustody: each validator has a unique subset of size custody,
   and custody is the union of these. I.e. VPN is a "probabilistic multiplier"
 - !validatorsBasedCustody: VPN is interpreted as a simple custody multiplier

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-29 14:28:13 +01:00
Arunima Chaudhuri
575c55480f add boxen & ecdf plots
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-28 22:14:55 +05:30
Leonardo Bautista-Gomez
3292d70c1a Fix shape nbCols and nbRows 2024-02-27 21:55:46 +01:00
Leonardo Bautista-Gomez
a1f43578db Change row and column custody. Rename blockSizeR and blockSizeC 2024-02-27 21:35:51 +01:00
Leonardo Bautista-Gomez
d1d81a23cf Change chi to custody 2024-02-27 20:37:38 +01:00
Sudipta Basak
7c33fec8da
Added Box Plot for Messages Sent by Each Node 2024-02-21 12:54:02 +01:00
Sudipta Basak
11afac03b9
Added box plot for messages received & samples received by nodes 2024-02-21 12:26:38 +01:00
Sudipta Basak
be0ce303c6
Added New Plot 'No. of Repaired Samples by each Node' 2024-02-19 23:20:53 +01:00
Csaba Kiraly
36d098cea3
Merge branch 'visual'
New visualizer module with updated plots, and plotting after each run.
2024-02-19 13:53:15 +01:00
Arunima Chaudhuri
4ef2617674 correct class label in graph
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-19 14:29:23 +05:30
Arunima Chaudhuri
d81a8c2537 fix label
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-18 22:51:19 +05:30
Arunima Chaudhuri
7e388ba8ca Merge branch 'maliciousNode' of https://github.com/status-im/das-research into maliciousNode 2024-02-18 22:16:24 +05:30