-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmonitor.html
82 lines (78 loc) · 2.48 KB
/
monitor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html>
<head>
<!-- These don't work in Jupyter, and I'm not sure why. -->
<style>
th, td {
text-align: center;
vertical-align: middle;
}
h3 {
color: #7393B3;
text-align: center;
}
</style>
<meta http-equiv="refresh" content="2">
</head>
<body>
<div class="container">
<!-- Show what's currently running -->
<h3>Utilization</h3>
<table class='table' style="width:100%">
<thead><tr>
<th>Simulation</th>
<th>Training</th>
<th>Inference</th>
</tr></thead>
<tbody>
<tr>
<td style="background-color:$sim_color">$sim_count</td>
<td style="background-color:$tri_color">$tri_count</td>
<td style="background-color:$inf_color">$inf_count</td>
</tr>
</tbody>
</table>
<!-- Rolling list of the best molecules -->
<h3 style='align: center'>Molecules</h3>
<table class='table' style='text-align: center;'>
<thead><tr>
<th>Best</th>
<th>Recent</th>
<th></th>
<th></th>
</tr></thead>
<tbody>
<tr>
<td style="border: 4px solid;">$best_mol</td>
<td>$recent_mol_0</td>
<td>$recent_mol_1</td>
<td>$recent_mol_2</td>
<td>$recent_mol_3</td>
<td>$recent_mol_4</td>
<td>$recent_mol_5</td>
<td>$recent_mol_6</td>
<td>$recent_mol_7</td>
<td>$recent_mol_8</td>
<td>$recent_mol_9</td>
<td>$recent_mol_10</td>
</tr>
</tbody>
</table>
<!-- A measure of the science problem being solved -->
<h3>Solution Quality</h3>
<table class='table' style="width:100%">
<thead><tr>
<th>Number Evaluated</th>
<th>Top Molecules Found</th>
<th>Top Found Recently</th>
</tr></thead>
<tbody>
<tr>
<td>$total_eval</td>
<td>$total_success</td>
<td>$recent_success</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>