diff --git a/.gitignore b/.gitignore
index b948985..026d904 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
*.swp
*.pyc
+results/*
+!results/plots.py
\ No newline at end of file
diff --git a/Frontend/Imgs/logo.png b/Frontend/Imgs/logo.png
new file mode 100644
index 0000000..6e90de2
Binary files /dev/null and b/Frontend/Imgs/logo.png differ
diff --git a/Frontend/Plots/plot1.png b/Frontend/Plots/plot1.png
new file mode 100644
index 0000000..e6ac529
Binary files /dev/null and b/Frontend/Plots/plot1.png differ
diff --git a/Frontend/Plots/plot2_10_8192.png b/Frontend/Plots/plot2_10_8192.png
new file mode 100644
index 0000000..fedae43
Binary files /dev/null and b/Frontend/Plots/plot2_10_8192.png differ
diff --git a/Frontend/Plots/plot3_70_8192.png b/Frontend/Plots/plot3_70_8192.png
new file mode 100644
index 0000000..b0f328e
Binary files /dev/null and b/Frontend/Plots/plot3_70_8192.png differ
diff --git a/Frontend/Plots/plot4_80_8192.png b/Frontend/Plots/plot4_80_8192.png
new file mode 100644
index 0000000..d42fb8c
Binary files /dev/null and b/Frontend/Plots/plot4_80_8192.png differ
diff --git a/Frontend/Plots/plot5_90_8192.png b/Frontend/Plots/plot5_90_8192.png
new file mode 100644
index 0000000..d42fb8c
Binary files /dev/null and b/Frontend/Plots/plot5_90_8192.png differ
diff --git a/Frontend/Plots/plot6_100_8192.png b/Frontend/Plots/plot6_100_8192.png
new file mode 100644
index 0000000..52942fa
Binary files /dev/null and b/Frontend/Plots/plot6_100_8192.png differ
diff --git a/Frontend/Plots/plot7_110_8192.png b/Frontend/Plots/plot7_110_8192.png
new file mode 100644
index 0000000..d42fb8c
Binary files /dev/null and b/Frontend/Plots/plot7_110_8192.png differ
diff --git a/Frontend/Plots/plot8_120_8192.png b/Frontend/Plots/plot8_120_8192.png
new file mode 100644
index 0000000..52942fa
Binary files /dev/null and b/Frontend/Plots/plot8_120_8192.png differ
diff --git a/Frontend/Plots/plot9_130_8192.png b/Frontend/Plots/plot9_130_8192.png
new file mode 100644
index 0000000..e6ac529
Binary files /dev/null and b/Frontend/Plots/plot9_130_8192.png differ
diff --git a/Frontend/Plots/plt1.png b/Frontend/Plots/plt1.png
new file mode 100644
index 0000000..85ca6e9
Binary files /dev/null and b/Frontend/Plots/plt1.png differ
diff --git a/Frontend/css/style.css b/Frontend/css/style.css
new file mode 100644
index 0000000..1f3b174
--- /dev/null
+++ b/Frontend/css/style.css
@@ -0,0 +1,85 @@
+*{
+ text-decoration: none;
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ list-style: none;
+}
+
+body{
+ display: flex;
+}
+
+.navbar{
+ width: 7vw;
+ height: 100vh;
+ padding-left: 5px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ background-color: #7f5a83;
+ background-image: linear-gradient(280deg, #3f305e 0%, #00060a 74%);
+}
+
+#logo{
+ margin-top: 25px;
+ width: 3vw;
+ opacity: 0.9;
+}
+
+.navbar-bar{
+ color: aliceblue;
+ margin-top: 15vh;
+}
+
+.navbar-bar li{
+ margin-top: 10px;
+ height: 10vh;
+ width: 7vw;
+ text-align: center;
+ line-height: 10vh;
+}
+
+.navbar li:hover, .navbar li:focus, .navbar li:active{
+ background: #eee5fdea;
+ border-top-left-radius: 50%;
+ border-bottom-left-radius: 50%;
+ cursor: pointer;
+ transition: all 0.5s ease-in-out;
+}
+
+.navbar li:hover .fa-solid{
+ color: #160f25;
+}
+
+.fa-solid{
+ color: #b9aecf;
+ opacity: 0.7;
+ cursor: pointer;
+ transition: all 0.5s ease-in-out;
+}
+
+.fa-solid:hover{
+ opacity: 1;
+ color: #160f25;
+}
+
+.content{
+ width: 93vw;
+ height: 100vh;
+ background-color: #eee5fdea;
+}
+
+.p1, .p2, .p3, .p4{
+ width: 93vw;
+ height: 100vh;
+}
+
+.p2, .p3, .p4{
+ display: none;
+}
+
+.plot1{
+ margin: auto;
+ display: block;
+}
diff --git a/Frontend/index.html b/Frontend/index.html
new file mode 100644
index 0000000..6c85859
--- /dev/null
+++ b/Frontend/index.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+ DAS Dashboard
+
+
+
+
+
+

+
+
Text2
+
Text3
+
Text4
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/script.js b/Frontend/script.js
new file mode 100644
index 0000000..123cf36
--- /dev/null
+++ b/Frontend/script.js
@@ -0,0 +1,33 @@
+let section1 = document.querySelector('.sec1');
+let section2 = document.querySelector('.sec2');
+let section3 = document.querySelector('.sec3');
+let section4 = document.querySelector('.sec4');
+let sections = [section1, section2, section3, section4];
+
+let icon1 = document.querySelector(".sec1 i");
+let icon2 = document.querySelector(".sec2 i");
+let icon3 = document.querySelector(".sec3 i");
+let icon4 = document.querySelector(".sec4 i");
+let icons = [icon1, icon2, icon3, icon4];
+
+let par1 = document.querySelector(".p1");
+let par2 = document.querySelector(".p2");
+let par3 = document.querySelector(".p3");
+let par4 = document.querySelector(".p4");
+let paragraphs = [par1, par2, par3, par4];
+
+section1.style.cssText = "background: #eee5fdea; border-top-left-radius: 50%; border-bottom-left-radius: 50%; cursor: pointer; transition: all 0.5s ease-in-out;"
+icon1.style.cssText = "opacity: 1; color: #160f25;"
+
+sections.forEach(section =>{
+ section.addEventListener("click", function(){
+ sections.forEach(s =>{
+ s.style.cssText = "background: none; border-top-left-radius: 0%; border-bottom-left-radius: 0%;"
+ icons[sections.indexOf(s)].style.cssText = "color: #b9aecf; opacity: 0.7;"
+ paragraphs[sections.indexOf(s)].style.display = "none";
+ });
+ section.style.cssText = "background: #eee5fdea; border-top-left-radius: 50%; border-bottom-left-radius: 50%; cursor: pointer; transition: all 0.5s ease-in-out;"
+ icons[sections.indexOf(section)].style.cssText = "opacity: 1; color: #160f25;"
+ paragraphs[sections.indexOf(section)].style.display = "block";
+ });
+});
\ No newline at end of file
diff --git a/heatmaps/run=0_numberValidators=256_netDegree=6_chi=4.png b/heatmaps/run=0_numberValidators=256_netDegree=6_chi=4.png
deleted file mode 100644
index b3b80a6..0000000
Binary files a/heatmaps/run=0_numberValidators=256_netDegree=6_chi=4.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=256_netDegree=6_chi=6.png b/heatmaps/run=0_numberValidators=256_netDegree=6_chi=6.png
deleted file mode 100644
index 82ba2c0..0000000
Binary files a/heatmaps/run=0_numberValidators=256_netDegree=6_chi=6.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=256_netDegree=6_chi=8.png b/heatmaps/run=0_numberValidators=256_netDegree=6_chi=8.png
deleted file mode 100644
index bf38e2c..0000000
Binary files a/heatmaps/run=0_numberValidators=256_netDegree=6_chi=8.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=384_netDegree=6_chi=4.png b/heatmaps/run=0_numberValidators=384_netDegree=6_chi=4.png
deleted file mode 100644
index 07b8d12..0000000
Binary files a/heatmaps/run=0_numberValidators=384_netDegree=6_chi=4.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=384_netDegree=6_chi=6.png b/heatmaps/run=0_numberValidators=384_netDegree=6_chi=6.png
deleted file mode 100644
index 162ef58..0000000
Binary files a/heatmaps/run=0_numberValidators=384_netDegree=6_chi=6.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=384_netDegree=6_chi=8.png b/heatmaps/run=0_numberValidators=384_netDegree=6_chi=8.png
deleted file mode 100644
index 52d8d02..0000000
Binary files a/heatmaps/run=0_numberValidators=384_netDegree=6_chi=8.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=512_netDegree=6_chi=4.png b/heatmaps/run=0_numberValidators=512_netDegree=6_chi=4.png
deleted file mode 100644
index 95e5935..0000000
Binary files a/heatmaps/run=0_numberValidators=512_netDegree=6_chi=4.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=512_netDegree=6_chi=6.png b/heatmaps/run=0_numberValidators=512_netDegree=6_chi=6.png
deleted file mode 100644
index ef8e0a0..0000000
Binary files a/heatmaps/run=0_numberValidators=512_netDegree=6_chi=6.png and /dev/null differ
diff --git a/heatmaps/run=0_numberValidators=512_netDegree=6_chi=8.png b/heatmaps/run=0_numberValidators=512_netDegree=6_chi=8.png
deleted file mode 100644
index e45ac9e..0000000
Binary files a/heatmaps/run=0_numberValidators=512_netDegree=6_chi=8.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=256_netDegree=6_chi=4.png b/heatmaps/run=1_numberValidators=256_netDegree=6_chi=4.png
deleted file mode 100644
index acd65be..0000000
Binary files a/heatmaps/run=1_numberValidators=256_netDegree=6_chi=4.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=256_netDegree=6_chi=6.png b/heatmaps/run=1_numberValidators=256_netDegree=6_chi=6.png
deleted file mode 100644
index 442704f..0000000
Binary files a/heatmaps/run=1_numberValidators=256_netDegree=6_chi=6.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=256_netDegree=6_chi=8.png b/heatmaps/run=1_numberValidators=256_netDegree=6_chi=8.png
deleted file mode 100644
index eaab5cd..0000000
Binary files a/heatmaps/run=1_numberValidators=256_netDegree=6_chi=8.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=384_netDegree=6_chi=4.png b/heatmaps/run=1_numberValidators=384_netDegree=6_chi=4.png
deleted file mode 100644
index 164eaca..0000000
Binary files a/heatmaps/run=1_numberValidators=384_netDegree=6_chi=4.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=384_netDegree=6_chi=6.png b/heatmaps/run=1_numberValidators=384_netDegree=6_chi=6.png
deleted file mode 100644
index 559d709..0000000
Binary files a/heatmaps/run=1_numberValidators=384_netDegree=6_chi=6.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=384_netDegree=6_chi=8.png b/heatmaps/run=1_numberValidators=384_netDegree=6_chi=8.png
deleted file mode 100644
index b58912a..0000000
Binary files a/heatmaps/run=1_numberValidators=384_netDegree=6_chi=8.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=512_netDegree=6_chi=4.png b/heatmaps/run=1_numberValidators=512_netDegree=6_chi=4.png
deleted file mode 100644
index ecc3324..0000000
Binary files a/heatmaps/run=1_numberValidators=512_netDegree=6_chi=4.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=512_netDegree=6_chi=6.png b/heatmaps/run=1_numberValidators=512_netDegree=6_chi=6.png
deleted file mode 100644
index 4be1913..0000000
Binary files a/heatmaps/run=1_numberValidators=512_netDegree=6_chi=6.png and /dev/null differ
diff --git a/heatmaps/run=1_numberValidators=512_netDegree=6_chi=8.png b/heatmaps/run=1_numberValidators=512_netDegree=6_chi=8.png
deleted file mode 100644
index 0318f5a..0000000
Binary files a/heatmaps/run=1_numberValidators=512_netDegree=6_chi=8.png and /dev/null differ
diff --git a/plots.py b/plots.py
deleted file mode 100644
index e3e83cb..0000000
--- a/plots.py
+++ /dev/null
@@ -1,51 +0,0 @@
-import os
-import xml.etree.ElementTree as ET
-import matplotlib.pyplot as plt
-import numpy as np
-
-#Yet to update with the execID format
-folder_path = 'results/2023-01-26_10-41-29_912'
-
-#Store data with a unique key for each (run, numberValidators, netDegree, chi) combination
-data = {}
-
-for filename in os.listdir(folder_path):
- #Loop over the xmls and store the data in variables
- if filename.endswith('.xml'):
- tree = ET.parse(os.path.join(folder_path, filename))
- root = tree.getroot()
- run = int(root.find('run').text)
- numberValidators = int(root.find('numberValidators').text)
- netDegree = int(root.find('netDegree').text)
- chi = int(root.find('chi').text)
- blockSize = int(root.find('blockSize').text)
- failureRate = int(root.find('failureRate').text)
- tta = int(root.find('tta').text)
-
- #Create a key for this combination of run, numberValidators, netDegree, and chi if it does not exist yet
- key = (run, numberValidators, netDegree, chi)
- if key not in data:
- data[key] = {'blockSizes': [], 'failureRates': [], 'ttas': []}
-
- #Append the data used for the plot
- data[key]['blockSizes'].append(blockSize)
- data[key]['failureRates'].append(failureRate)
- data[key]['ttas'].append(tta)
-
-#Store the 2D heatmaps in a folder
-heatmaps_folder = 'heatmaps'
-if not os.path.exists(heatmaps_folder):
- os.makedirs(heatmaps_folder)
-
-#Plot the heatmaps
-for key, values in data.items():
- hist, xedges, yedges = np.histogram2d(values['blockSizes'], values['failureRates'], bins=(10, 10), weights=values['ttas'])
- plt.imshow(hist, extent=[xedges[0], xedges[-1], yedges[0], yedges[-1]])
- plt.xlabel('blockSize')
- plt.ylabel('failureRate')
- plt.colorbar().set_label('tta')
- title = f"run={key[0]}, numberValidators={key[1]}, netDegree={key[2]}, chi={key[3]}"
- plt.title(title)
- filename = f"run={key[0]}_numberValidators={key[1]}_netDegree={key[2]}_chi={key[3]}.png"
- plt.savefig(os.path.join(heatmaps_folder, filename))
- plt.clf()