manuelzander / iota_simulation Goto Github PK
View Code? Open in Web Editor NEWA Multi-Agent Simulation Framework and Analysis of the IOTA Tangle - Python implementation and PDF of M.Sc. thesis, Imperial College London
License: MIT License
A Multi-Agent Simulation Framework and Analysis of the IOTA Tangle - Python implementation and PDF of M.Sc. thesis, Imperial College London
License: MIT License
Ran on these, core program works fine.
Hello, Manuel,
I am Luciano, master student from the University of Sao Paulo, Brazil. I saw this project you've made, and I found it really interesting.
I have one doubt: reading you master thesis, I've found lots of images of some metrics of the simulator. How did you do them? I ask this question because, when we run the core.py script in the repo, it only returns us the number of tips vs time plot and the plot of the Tangle graph during the time. There are some other ones, such as probabilities to attach to a subtangle branch while simulating the parasite chain attack, that I could not find in the repo.
Regards
Luciano Augusto Campagnoli da Silva
Latest version is 2.2 and works fine.
I get the same index out of range error in 5 tests, all on self.no_of_transactions = self.config[0][0]
.
Error:
'PARAMETERS'
E'PARAMETERS'
E'PARAMETERS'
E'PARAMETERS'
E'PARAMETERS'
E
======================================================================
ERROR: test_calculation_conf_conf (tests.test_basic.AfterSimulationWeightedRandomWalkTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/theo/iota_simulation/tests/test_basic.py", line 35, in setUp
self.simu = Multi_Agent_Simulation(100, 10, 2, 0.005, 1, distances, "weighted")
File "/Users/theo/iota_simulation/simulation/simulation_multi_agent.py", line 27, in __init__
self.no_of_transactions = self.config[0][0]
IndexError: list index out of range
======================================================================
ERROR: test_calculation_cum_weight (tests.test_basic.AfterSimulationWeightedRandomWalkTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/theo/iota_simulation/tests/test_basic.py", line 35, in setUp
self.simu = Multi_Agent_Simulation(100, 10, 2, 0.005, 1, distances, "weighted")
File "/Users/theo/iota_simulation/simulation/simulation_multi_agent.py", line 27, in __init__
self.no_of_transactions = self.config[0][0]
IndexError: list index out of range
======================================================================
ERROR: test_calculation_exit_probabilities (tests.test_basic.AfterSimulationWeightedRandomWalkTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/theo/iota_simulation/tests/test_basic.py", line 35, in setUp
self.simu = Multi_Agent_Simulation(100, 10, 2, 0.005, 1, distances, "weighted")
File "/Users/theo/iota_simulation/simulation/simulation_multi_agent.py", line 27, in __init__
self.no_of_transactions = self.config[0][0]
IndexError: list index out of range
======================================================================
ERROR: test_simulation_run (tests.test_basic.SimulationSetupAndRunTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/theo/iota_simulation/tests/test_basic.py", line 17, in setUp
self.simu = Multi_Agent_Simulation(100, 10, 2, 0.005, 1, distances, "weighted")
File "/Users/theo/iota_simulation/simulation/simulation_multi_agent.py", line 27, in __init__
self.no_of_transactions = self.config[0][0]
IndexError: list index out of range
======================================================================
ERROR: test_simulation_setup (tests.test_basic.SimulationSetupAndRunTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/theo/iota_simulation/tests/test_basic.py", line 17, in setUp
self.simu = Multi_Agent_Simulation(100, 10, 2, 0.005, 1, distances, "weighted")
File "/Users/theo/iota_simulation/simulation/simulation_multi_agent.py", line 27, in __init__
self.no_of_transactions = self.config[0][0]
IndexError: list index out of range
----------------------------------------------------------------------
Ran 5 tests in 0.002s
FAILED (errors=5)
Add these two requirements not installed by your makefile:
Pip's install of pygraphviz is currently broken (doesn't install dependencies correctly). This breaks your makefile.
Simple fix: add the following to your readme before make
brew install graphviz
pip3 install pygraphviz
The makefile works fine after running these.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.