Commit Graph

326 Commits

Author SHA1 Message Date
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
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 a2d6fd2deb
Merge pull request #58 from codex-storage/published-copies
Allow setting number of published copies in config file
2024-03-04 17:30:31 +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 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
Csaba Kiraly 5b41cecb44
enable lazy eval in config
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>

# Conflicts:
#	DAS/validator.py
2024-03-04 10:15:49 +01:00
Arunima Chaudhuri 169ffd8ef9
Merge pull request #54 from codex-storage/maliciousNode
Malicious node
2024-03-03 19:09:28 +05:30
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
Csaba Kiraly 2b69a3ae35
Merge pull request #53 from codex-storage/independent-dimensions
Independent dimensions
2024-02-19 11:30:28 +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 6d60ffbf46
Merge branch 'develop' into maliciousNode 2024-02-18 22:18:08 +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 2335b468e3
Merge pull request #57 from sudiptab2100/patch-1
Independent Dimensions - Fixed results string in shape.py
2024-02-18 21:31:10 +05:30
Sudipta Basak 88f8d1f1c4
README.md Fix 2024-02-18 16:31:10 +01:00
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 3db9eda5ea
smallConf: changing evenLineDistribution to False
Changing default here, since a generic version of even line distribution
is not yet implemented.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-06 12:12:56 +01:00
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
Csaba Kiraly d782e9c5ab
fixup: renaming 2024-02-06 11:28:06 +01:00
Csaba Kiraly 7ed4413624
not all nodes sample in both dimensions
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-05 14:22:30 +01:00
Csaba Kiraly 5951a90056
renaming Validator object to Node
In the SubnetDas model Nodes behave as previous validators,
getting samples (whole columns) from GossipSub.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-05 14:22:29 +01:00
Arunima Chaudhuri 7ed3d8c690 Debugged to ensure accurate results
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-02 23:27:38 +05:30
Csaba Kiraly cc51b2ba45
fix plotting if row/column sizes differ
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-01-30 14:20:28 +01:00
Arunima Chaudhuri 2fc4a963fb add graphs for number of rows and columns repaired
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-01-29 19:50:01 +05:30