Commit Graph

251 Commits

Author SHA1 Message Date
Arunima Chaudhuri 04004ed1fb make the changes on study level
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-29 21:49:57 +00:00
Arunima Chaudhuri d591c1724f Implement stop and resume functionality
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-27 20:38:47 +00:00
Arunima Chaudhuri c4db8e408e store config shape in pickle files
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-27 11:22:56 +00:00
Arunima Chaudhuri 705ab8a962 Implemented state saving and completion check using pickle files
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-24 21:00:18 +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
Arunima Chaudhuri 94b9f4bdae add expectd line in graph&rem evenLineDist in conf
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-18 22:16:16 +05:30
Sudipta Basak 6acf8a8285 fixed columns array size 2024-02-18 14:22:57 +01:00
Sudipta Basak 00c3b3fe54 plot textBox attribute value fixed 2024-02-17 12:40:17 +01:00
Sudipta Basak e6b33cb542
Fixed results string in shape.py 2024-02-16 15:42:52 +05:30
Arunima Chaudhuri 7875023ef0 Independent dimensions
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-15 23:48:30 +05:30
Csaba Kiraly 5a249fe238
adding individual Validator objects behind Node
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-06 11:28:15 +01:00