nomos-simulations/scripts
Youngjoon Lee c600ebd304
Update mix python script for new log format (#53)
* Update mix python script for new log format

* remove unused imports
2024-11-21 15:52:27 +09:00
..
README.md Add README for mix simulation and scripts (#56) 2024-11-18 15:37:00 +09:00
emission.py Add mix emission analysis (#55) 2024-11-18 10:31:27 +09:00
latency.py Update mix python script for new log format (#53) 2024-11-21 15:52:27 +09:00
mixlog.py Add mix emission analysis (#55) 2024-11-18 10:31:27 +09:00
requirements.txt Add mix emission analysis (#55) 2024-11-18 10:31:27 +09:00

README.md

Nomos Blend Simulation Result Analysis

First of all, run the Nomos Blend simulation by following the instruction.

Latency Analysis

python3 latency.py <log_path>

This script calculates the minimum, average, median, and maximum latency taken by data messages to reach the final blend node.

Anonymity Analysis

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

python3 emission.py --log-path <log_path> --plot-png-path <plot_png_path>

This script draws a scatter plot of emission events from all nodes to see how many messages (data or cover) were emitted at the same time window.