Leonardo Bautista-Gomez
d2a653b07c
Remove plotting config
2023-03-30 14:11:12 +02:00
Leonardo Bautista-Gomez
1ae4352dad
Fix merge remote-tracking branch 'origin/develop' into addDiagnostics
2023-03-30 14:06:17 +02:00
Leonardo Bautista-Gomez
699a912991
Merge branch 'develop' into addDiagnostics
2023-03-30 13:56:09 +02:00
Leonardo Bautista-Gomez
4b7bf81cee
Remove stop condition fix
2023-03-30 13:52:40 +02:00
Leonardo Bautista-Gomez
98423d29c0
Typos and sets
2023-03-30 13:49:01 +02:00
Csaba Kiraly
1b4a225114
Merge pull request #35 from status-im/issue-29
...
Solving Issue 29 partially. Still remains the problems of stop condition.
2023-03-30 13:46:00 +02:00
Leo
7719f84a10
Switch from time steps to miliseconds ( #30 )
...
Switch from time steps to miliseconds
2023-03-30 13:41:50 +02:00
Leonardo Bautista-Gomez
296c4fb762
Rows and columns to sets
2023-03-30 13:36:48 +02:00
Leonardo Bautista-Gomez
795bb1d10d
Move set to simulator for future diagnostic purposes
2023-03-30 13:15:42 +02:00
Leonardo Bautista-Gomez
b5390b9f1b
Remove traffic statsi. Rebase to traffic progress.
2023-03-30 11:43:02 +02:00
Leonardo Bautista-Gomez
41e8399159
Add Tx and Rx stats to resultsi. Rebase to traffic progress.
2023-03-30 11:40:50 +02:00
Leonardo Bautista-Gomez
9800161ac9
Switch from time steps to miliseconds. Rebase to traffic progress.
2023-03-30 11:35:44 +02:00
Leo
57b0ee89f7
Merge pull request #32 from status-im/measure-progress
...
Measure and save progress and traffic statistics.
2023-03-30 11:18:19 +02:00
Csaba Kiraly
98db10f7a6
Add more documentation
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-30 00:13:33 +02:00
Leonardo Bautista-Gomez
e285890fa7
Fixes allocation bug, remove duplicates in rowIDs and columnIDs, add diagnostics when the block is not available. Add number of steps without progress to stop condition.
2023-03-29 16:42:09 +02:00
Csaba Kiraly
cb0a3ea1ba
fixup: avoid warning on mean if empty
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-29 16:36:40 +02:00
Csaba Kiraly
9f3089c232
rowIDs and columnIDs are sets
...
Fixes issue 29, where multiple instances of an ID in rowIDs
created a topology with nodes with a huge degree.
This huge degree then created lots of duplicates, eating up available
bandwidth.
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-29 15:54:44 +02:00
Csaba Kiraly
f85cdb401b
fix line allocation when evenLineDistribution=True
...
vector should have chi elements for each validator
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-29 15:49:52 +02:00
Csaba Kiraly
75a9b484e9
fixup: close plot to release memory
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 23:28:12 +02:00
Csaba Kiraly
04ad03f175
fixup: avoid warning on mean if empty
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 23:27:49 +02:00
Csaba Kiraly
dc51727b32
plot progress per run
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 23:16:05 +02:00
Csaba Kiraly
eb4f451303
save progress and traffic statistics to XML
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 23:15:44 +02:00
Csaba Kiraly
23af30e381
add generalized metrics collection
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 22:29:22 +02:00
Csaba Kiraly
7e4074938a
add duplicate statistics
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 22:29:22 +02:00
Csaba Kiraly
6616cc799f
move traffic stats calculation to observer
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 22:29:20 +02:00
Csaba Kiraly
119777787e
add progress meters to observer
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 22:28:30 +02:00
Csaba Kiraly
037c4cd67a
count number of validators having all rows/columns
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 22:28:30 +02:00
Csaba Kiraly
bcf3098e9f
Merge pull request #28 from status-im/cleanup
...
Code cleanup
2023-03-27 11:41:19 +02:00
Csaba Kiraly
3795948564
fix requirements.txt
2023-03-27 11:37:23 +02:00
Csaba Kiraly
ec6ed7c1e8
dump results to XML after each run
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
894009b414
Validator node: add nodeClass property
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
ff93161b8d
set vpn in validator
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
122f6a8348
remove resetShape
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
6e4b37a3d2
adding log level TRACE
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
af124c0755
simplify code
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
952d191ccd
remove unused golden data
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:22 +02:00
Csaba Kiraly
954d40e758
use new simulator object instead of reset
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
# Conflicts:
# study.py
2023-03-27 11:37:21 +02:00
Csaba Kiraly
d38b8074f4
use main
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-27 11:37:21 +02:00
Csaba Kiraly
c7a3fb1c52
Merge pull request #26 from status-im/fix-uniformDistribution
...
Fixing the global random uniform distribution
2023-03-24 16:46:42 +01:00
Leonardo Bautista-Gomez
680817b97b
Remove global randomness parameter for validator
2023-03-23 20:10:27 +01:00
Leonardo Bautista-Gomez
3642083f22
Fixing the global random uniform distribution of topics across validators
2023-03-21 15:16:19 +01:00
Csaba Kiraly
263558b5a0
Merge pull request #25 from status-im/fix-visualizer
...
Fix visualizer to loop over all parameters
2023-03-21 12:50:08 +01:00
Leonardo Bautista-Gomez
125ba2ad4a
Fix visualizer to loop over all parameters
2023-03-21 10:41:52 +01:00
Leo
fd532a6f17
Merge pull request #22 from status-im/twoClasses
...
Two classes
2023-03-20 21:01:28 +01:00
Csaba Kiraly
64fcbff0ef
warn if no nodes for a row/column
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-20 19:36:42 +01:00
Csaba Kiraly
353efec141
fixup: use vpn1 and vpn2 correctly
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-16 20:38:58 +01:00
Csaba Kiraly
c366c05616
handle overlap for multiple validators per node correctly
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-16 20:38:57 +01:00
Csaba Kiraly
5613996547
fixup: make validatorsPerNode and bandwidth consistent
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-16 20:38:57 +01:00
Csaba Kiraly
9d9612fd34
rename numberValidators to numberNodes
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-16 20:38:53 +01:00
Csaba Kiraly
065086f88c
configure using validatorsPerNode1/2 instead of chi1/2
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-03-16 20:00:52 +01:00