auto-optimize 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- auto_optimize/__init__.py +3 -0
- auto_optimize/__main__.py +5 -0
- auto_optimize/cli.py +651 -0
- auto_optimize/skills/auto-optimize-code/LICENSE +21 -0
- auto_optimize/skills/auto-optimize-code/SKILL.md +251 -0
- auto_optimize/skills/auto-optimize-code/VERSION +1 -0
- auto_optimize/skills/auto-optimize-code/references/algorithm.md +182 -0
- auto_optimize/skills/auto-optimize-code/references/changes.md +146 -0
- auto_optimize/skills/auto-optimize-code/references/cli.md +206 -0
- auto_optimize/skills/auto-optimize-code/references/dashboard.md +203 -0
- auto_optimize/skills/auto-optimize-code/references/documents.md +55 -0
- auto_optimize/skills/auto-optimize-code/references/extending.md +87 -0
- auto_optimize/skills/auto-optimize-code/references/external-validation.md +98 -0
- auto_optimize/skills/auto-optimize-code/references/glossary.md +134 -0
- auto_optimize/skills/auto-optimize-code/references/idea-miner.md +108 -0
- auto_optimize/skills/auto-optimize-code/references/issue-bugs.md +182 -0
- auto_optimize/skills/auto-optimize-code/references/layout.md +300 -0
- auto_optimize/skills/auto-optimize-code/references/main-session.md +45 -0
- auto_optimize/skills/auto-optimize-code/references/measuring.md +208 -0
- auto_optimize/skills/auto-optimize-code/references/pr-optimization.md +127 -0
- auto_optimize/skills/auto-optimize-code/references/pr-tests.md +254 -0
- auto_optimize/skills/auto-optimize-code/references/promotion.md +133 -0
- auto_optimize/skills/auto-optimize-code/references/reading-a-search.md +65 -0
- auto_optimize/skills/auto-optimize-code/references/repo-mode.md +224 -0
- auto_optimize/skills/auto-optimize-code/references/resume.md +81 -0
- auto_optimize/skills/auto-optimize-code/references/shared-knowledge.md +114 -0
- auto_optimize/skills/auto-optimize-code/references/step0-interview.md +298 -0
- auto_optimize/skills/auto-optimize-code/references/step1-unit-tests.md +136 -0
- auto_optimize/skills/auto-optimize-code/references/step2-baseline.md +708 -0
- auto_optimize/skills/auto-optimize-code/references/step3-rounds.md +350 -0
- auto_optimize/skills/auto-optimize-code/references/step4-final.md +121 -0
- auto_optimize/skills/auto-optimize-code/references/step5-ship.md +220 -0
- auto_optimize/skills/auto-optimize-code/references/step6-finish.md +67 -0
- auto_optimize/skills/auto-optimize-code/references/subagent.md +467 -0
- auto_optimize/skills/auto-optimize-code/references/symptoms.md +67 -0
- auto_optimize/skills/auto-optimize-code/references/writing-briefs.md +117 -0
- auto_optimize/skills/auto-optimize-code/scripts/attribution.py +156 -0
- auto_optimize/skills/auto-optimize-code/scripts/autoopt.py +12863 -0
- auto_optimize/skills/auto-optimize-code/scripts/check_seeding.py +334 -0
- auto_optimize/skills/auto-optimize-code/scripts/cold.py +90 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/README.md +165 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/autoopt_monitor.py +850 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/gpu_scan.py +954 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/monitor_writer.py +684 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/scan.py +1030 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/static/dashboard.css +775 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/static/dashboard.js +3652 -0
- auto_optimize/skills/auto-optimize-code/scripts/dashboard/static/index.html +191 -0
- auto_optimize/skills/auto-optimize-code/scripts/issue_body.py +2118 -0
- auto_optimize/skills/auto-optimize-code/scripts/lint_text.py +448 -0
- auto_optimize/skills/auto-optimize-code/scripts/opt_pr_body.py +894 -0
- auto_optimize/skills/auto-optimize-code/scripts/opt_pr_tables.py +367 -0
- auto_optimize/skills/auto-optimize-code/scripts/paired.py +188 -0
- auto_optimize/skills/auto-optimize-code/scripts/preflight.py +280 -0
- auto_optimize/skills/auto-optimize-code/scripts/probe_run.py +72 -0
- auto_optimize/skills/auto-optimize-code/scripts/publish.py +385 -0
- auto_optimize/skills/auto-optimize-code/scripts/run_iteration.py +1382 -0
- auto_optimize/skills/auto-optimize-code/scripts/ship.py +1193 -0
- auto_optimize/skills/auto-optimize-code/scripts/stages.py +651 -0
- auto_optimize/skills/auto-optimize-code/scripts/tests_pr_body.py +1267 -0
- auto_optimize/skills/auto-optimize-code/scripts/tests_pr_push.py +426 -0
- auto_optimize/skills/auto-optimize-code/scripts/tests_pr_tables.py +779 -0
- auto_optimize-1.0.0.dist-info/METADATA +610 -0
- auto_optimize-1.0.0.dist-info/RECORD +67 -0
- auto_optimize-1.0.0.dist-info/WHEEL +4 -0
- auto_optimize-1.0.0.dist-info/entry_points.txt +2 -0
- auto_optimize-1.0.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,775 @@
|
|
|
1
|
+
/* dashboard.css -- the auto-optimize-code monitor.
|
|
2
|
+
*
|
|
3
|
+
* Dark only. Every rule is scoped under .autoopt-root, this dashboard's root
|
|
4
|
+
* class, so two dashboards in one Lab page cannot restyle each other.
|
|
5
|
+
* Sections are delimited by `==== SECTION: <name> ====`. */
|
|
6
|
+
|
|
7
|
+
/* ==== SECTION: tokens ==== */
|
|
8
|
+
|
|
9
|
+
.autoopt-root {
|
|
10
|
+
color-scheme: dark;
|
|
11
|
+
|
|
12
|
+
--bg: #0f0d17;
|
|
13
|
+
--panel: #171423;
|
|
14
|
+
--panel-2: #1e1a2d;
|
|
15
|
+
--line: #2c2641;
|
|
16
|
+
--line-soft: #231e35;
|
|
17
|
+
--track: #201b30;
|
|
18
|
+
--text: #ece8f6;
|
|
19
|
+
--text-dim: #9b93ba;
|
|
20
|
+
--text-faint: #6d6589;
|
|
21
|
+
|
|
22
|
+
/* The hues at full strength: emphasis only (the headline or
|
|
23
|
+
frontier value, the frontier line, selection, this run's GPU, done).
|
|
24
|
+
Pink is never a categorical slot: it is the number the search exists
|
|
25
|
+
to move. */
|
|
26
|
+
--pink: #ff4fa3;
|
|
27
|
+
--cyan: #00e5ff;
|
|
28
|
+
--purple: #a06bff;
|
|
29
|
+
--orange: #ff9f43;
|
|
30
|
+
--green: #57d9a3;
|
|
31
|
+
--yellow: #ffd166;
|
|
32
|
+
|
|
33
|
+
--good: var(--green);
|
|
34
|
+
--warn: var(--orange);
|
|
35
|
+
--bad: #ff5c7a;
|
|
36
|
+
/* Muted tones for a verdict grouping's bulk (verdictColour). */
|
|
37
|
+
--good-muted: var(--green-muted);
|
|
38
|
+
--warn-muted: var(--orange-muted);
|
|
39
|
+
--bad-muted: #c87988;
|
|
40
|
+
|
|
41
|
+
/* Muted versions (about 45% of the saturation) for the bulk: ordinary
|
|
42
|
+
categorical groups and traces. */
|
|
43
|
+
--cyan-muted: #5fb8c4;
|
|
44
|
+
--pink-muted: #c77a9f;
|
|
45
|
+
--purple-muted: #9585c4;
|
|
46
|
+
--orange-muted: #c9a075;
|
|
47
|
+
--green-muted: #7fb39a;
|
|
48
|
+
--yellow-muted: #c9b27d;
|
|
49
|
+
|
|
50
|
+
/* Categorical slots, in assignment order, then the catch-all. No pink. */
|
|
51
|
+
--cat-0: var(--cyan-muted);
|
|
52
|
+
--cat-1: var(--purple-muted);
|
|
53
|
+
--cat-2: var(--orange-muted);
|
|
54
|
+
--cat-3: var(--green-muted);
|
|
55
|
+
/* Four more for the idea miner's eight categories:
|
|
56
|
+
shape already carries an iteration's status here, so a category needs
|
|
57
|
+
its own hue rather than the rule's shape past four. Matched to
|
|
58
|
+
the muted four's saturation and lightness, and clear of pink (emphasis)
|
|
59
|
+
and the reds (verdicts). */
|
|
60
|
+
--blue-muted: #779ccf;
|
|
61
|
+
--olive-muted: #b4b766;
|
|
62
|
+
--lime-muted: #88b672;
|
|
63
|
+
--orchid-muted: #b986c1;
|
|
64
|
+
--blue: #4c90f0;
|
|
65
|
+
--olive: #ebf04c;
|
|
66
|
+
--lime: #83f04c;
|
|
67
|
+
--orchid: #db4cf0;
|
|
68
|
+
/* Two more for IO and ALGORITHM: a clay brown and a grey
|
|
69
|
+
steel blue, clear of pink, the reds and the eight above. */
|
|
70
|
+
--clay-muted: #b98a76;
|
|
71
|
+
--steel-muted: #8fa3b8;
|
|
72
|
+
--clay: #f08a5c;
|
|
73
|
+
--steel: #7fb0e0;
|
|
74
|
+
--cat-8: var(--clay-muted);
|
|
75
|
+
--cat-9: var(--steel-muted);
|
|
76
|
+
--cat-4: var(--blue-muted);
|
|
77
|
+
--cat-5: var(--olive-muted);
|
|
78
|
+
--cat-6: var(--lime-muted);
|
|
79
|
+
--cat-7: var(--orchid-muted);
|
|
80
|
+
--cat-other: #7b7399;
|
|
81
|
+
/* The catch-all at full strength, for an emphasised catch-all point. */
|
|
82
|
+
--cat-other-strong: #b5aed0;
|
|
83
|
+
/* ROOT, the baseline's own category: a light neutral, clear of the
|
|
84
|
+
catch-all grey and of every hue. */
|
|
85
|
+
--cat-root: #d9d4ea;
|
|
86
|
+
--cat-root-strong: #ffffff;
|
|
87
|
+
|
|
88
|
+
/* An iteration's code change in GitHub's diff colours (its dark theme's
|
|
89
|
+
foregrounds): lines and files added, deleted, and files modified. */
|
|
90
|
+
--diff-add: #3fb950;
|
|
91
|
+
--diff-del: #f85149;
|
|
92
|
+
--diff-mod: #d29922;
|
|
93
|
+
--diff-add-bg: rgba(46, 160, 67, 0.15);
|
|
94
|
+
--diff-add-gutter: rgba(46, 160, 67, 0.30);
|
|
95
|
+
--diff-del-bg: rgba(248, 81, 73, 0.15);
|
|
96
|
+
--diff-del-gutter: rgba(248, 81, 73, 0.30);
|
|
97
|
+
/* The kind of a detail row, as a capitalised label: a gate, an observer,
|
|
98
|
+
a seed. Muted hues, clear of green and red, which read as verdicts. */
|
|
99
|
+
--tag-gate: var(--yellow-muted);
|
|
100
|
+
--tag-obs: var(--cyan-muted);
|
|
101
|
+
--tag-seed: var(--purple-muted);
|
|
102
|
+
|
|
103
|
+
/* Line traces past the four slots take these before repeating; marker
|
|
104
|
+
shape cannot separate lines. */
|
|
105
|
+
--line-4: var(--yellow-muted);
|
|
106
|
+
--line-5: var(--cat-other);
|
|
107
|
+
|
|
108
|
+
/* Heatmap scales. Sequential dark to cyan; diverging orange (below the
|
|
109
|
+
reference) to cyan (above), centred on zero or a named reference. */
|
|
110
|
+
--seq-0: var(--panel);
|
|
111
|
+
--seq-1: #2f5a66;
|
|
112
|
+
--seq-2: var(--cyan-muted);
|
|
113
|
+
--seq-3: var(--cyan);
|
|
114
|
+
--div-low: var(--orange);
|
|
115
|
+
--div-low-muted: var(--orange-muted);
|
|
116
|
+
--div-mid: var(--panel);
|
|
117
|
+
--div-high-muted: var(--cyan-muted);
|
|
118
|
+
--div-high: var(--cyan);
|
|
119
|
+
|
|
120
|
+
/* A baseline or reference series: grey, and drawn
|
|
121
|
+
as `x` markers so it cannot be read as the catch-all group. */
|
|
122
|
+
--baseline: var(--text-faint);
|
|
123
|
+
|
|
124
|
+
/* Task states, all flat: running is done's cyan at 45% over the track,
|
|
125
|
+
two values of one hue. `skipped` is muted so a settled decision never
|
|
126
|
+
reads as in progress, and clears --track by a 148 max-channel
|
|
127
|
+
difference so a fully skipped bar is not empty. */
|
|
128
|
+
--done: var(--cyan);
|
|
129
|
+
--running: color-mix(in srgb, var(--cyan) 45%, var(--track));
|
|
130
|
+
--failed: var(--bad);
|
|
131
|
+
--skipped: #8f78c4;
|
|
132
|
+
|
|
133
|
+
/* Chrome-only surfaces. The topbar may be decorative; nothing below it
|
|
134
|
+
is (no gradients, glows or shadows on data or panels). */
|
|
135
|
+
--topbar-top: #1c1830;
|
|
136
|
+
--topbar-bottom: #151222;
|
|
137
|
+
--panel-3: #28223c;
|
|
138
|
+
--tip-bg: #0c0a13;
|
|
139
|
+
--hover-wash: rgba(255, 255, 255, .08);
|
|
140
|
+
|
|
141
|
+
/* Logo glyphs that are not edits. */
|
|
142
|
+
--glyph: #8d85a8;
|
|
143
|
+
--glyph-hypothetical: #6f6790;
|
|
144
|
+
|
|
145
|
+
--radius: 12px;
|
|
146
|
+
|
|
147
|
+
/* The spacing scale. Every padding, margin and gap is one of these (or a
|
|
148
|
+
negative of one). Text keeps --space-3 from a vertical hairline and
|
|
149
|
+
--space-2 from a horizontal one; a hairline-divided instrument pads
|
|
150
|
+
--space-3 on both sides of each divider (--space-4 for the sidebar). */
|
|
151
|
+
--space-0: 2px;
|
|
152
|
+
--space-1: 4px;
|
|
153
|
+
--space-2: 8px;
|
|
154
|
+
--space-3: 12px;
|
|
155
|
+
--space-4: 16px;
|
|
156
|
+
--space-5: 24px;
|
|
157
|
+
--space-6: 32px;
|
|
158
|
+
--gap: var(--space-0);
|
|
159
|
+
|
|
160
|
+
/* The containing block for the absolutely positioned tooltip, which is
|
|
161
|
+
placed in this element's coordinates. */
|
|
162
|
+
position: relative;
|
|
163
|
+
background: var(--bg);
|
|
164
|
+
color: var(--text);
|
|
165
|
+
font: 13px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
166
|
+
-webkit-font-smoothing: antialiased;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.autoopt-root, .autoopt-root * { box-sizing: border-box; }
|
|
170
|
+
.autoopt-root [hidden] { display: none !important; }
|
|
171
|
+
|
|
172
|
+
.autoopt-root h1 { font-size: 16px; font-weight: 650; margin: 0; letter-spacing: -0.01em; }
|
|
173
|
+
.autoopt-root h2 { font-size: 14px; font-weight: 650; margin: 0; letter-spacing: -0.01em; }
|
|
174
|
+
.autoopt-root h3 { font-size: 12px; font-weight: 650; margin: 0; color: var(--text-dim); }
|
|
175
|
+
.autoopt-root p { margin: var(--space-0) 0 0; }
|
|
176
|
+
.autoopt-root .muted { color: var(--text-faint); }
|
|
177
|
+
.autoopt-root .dim { color: var(--text-dim); }
|
|
178
|
+
.autoopt-root .num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
179
|
+
.autoopt-root code, .autoopt-root .mono {
|
|
180
|
+
font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
181
|
+
font-size: 11.5px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* ==== SECTION: chrome ==== */
|
|
185
|
+
|
|
186
|
+
.autoopt-root .topbar {
|
|
187
|
+
position: sticky; top: 0; z-index: 30;
|
|
188
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
189
|
+
gap: var(--space-4); padding: var(--space-3) var(--space-4);
|
|
190
|
+
background: linear-gradient(180deg, var(--topbar-top), var(--topbar-bottom));
|
|
191
|
+
border-bottom: 1px solid var(--line);
|
|
192
|
+
}
|
|
193
|
+
.autoopt-root .topbar-id { min-width: 0; }
|
|
194
|
+
.autoopt-root .topbar-id code { color: var(--text-faint); display: block;
|
|
195
|
+
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
196
|
+
.autoopt-root .topbar-controls { display: flex; align-items: center; gap: var(--space-2); flex: 0 0 auto; }
|
|
197
|
+
|
|
198
|
+
/* The title's gradient treatment. */
|
|
199
|
+
.autoopt-root h1.title-gradient {
|
|
200
|
+
background: linear-gradient(92deg, var(--pink), var(--cyan));
|
|
201
|
+
-webkit-background-clip: text; background-clip: text; color: transparent;
|
|
202
|
+
width: fit-content;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.autoopt-root .pulse {
|
|
206
|
+
width: 8px; height: 8px; border-radius: 50%;
|
|
207
|
+
background: var(--good); transition: background 200ms;
|
|
208
|
+
}
|
|
209
|
+
.autoopt-root .pulse[data-state="stale"] { background: var(--warn); }
|
|
210
|
+
.autoopt-root .pulse[data-state="down"] { background: var(--bad); }
|
|
211
|
+
.autoopt-root .updated b { color: var(--warn); font-weight: 650; }
|
|
212
|
+
|
|
213
|
+
/* Ghost: view toggles and panel controls. */
|
|
214
|
+
.autoopt-root button.ghost {
|
|
215
|
+
font: inherit; font-size: 12px; color: var(--text-dim);
|
|
216
|
+
background: transparent; border: 1px solid var(--line);
|
|
217
|
+
border-radius: 6px; padding: var(--space-0) var(--space-2); cursor: pointer;
|
|
218
|
+
}
|
|
219
|
+
.autoopt-root button.ghost:hover { background: var(--panel-2); color: var(--text); }
|
|
220
|
+
.autoopt-root button.ghost.small { padding: 0 var(--space-2); font-size: 11px; }
|
|
221
|
+
.autoopt-root button.ghost[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); }
|
|
222
|
+
|
|
223
|
+
.autoopt-root select {
|
|
224
|
+
font: inherit; font-size: 12px; color: var(--text);
|
|
225
|
+
background: var(--panel-2); border: 1px solid var(--line);
|
|
226
|
+
border-radius: 6px; padding: var(--space-0) var(--space-2); max-width: 240px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* ==== SECTION: shell ==== */
|
|
230
|
+
|
|
231
|
+
.autoopt-root .shell {
|
|
232
|
+
display: grid; grid-template-columns: minmax(0, 1fr) 302px;
|
|
233
|
+
gap: var(--space-4); padding: var(--space-4) var(--space-4) var(--space-6);
|
|
234
|
+
align-items: start;
|
|
235
|
+
}
|
|
236
|
+
@media (max-width: 1080px) {
|
|
237
|
+
.autoopt-root .shell { grid-template-columns: minmax(0, 1fr); }
|
|
238
|
+
.autoopt-root aside { position: static; }
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.autoopt-root main { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
|
|
242
|
+
.autoopt-root section { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
|
|
243
|
+
.autoopt-root .section-head { display: flex; align-items: baseline;
|
|
244
|
+
justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
|
|
245
|
+
.autoopt-root .section-head p { font-size: 11.5px; }
|
|
246
|
+
|
|
247
|
+
/* Sections are separated by space and a hairline under each head. Every
|
|
248
|
+
block of content under a head is a filled panel with --space-3 inside
|
|
249
|
+
each edge, so no text sits on the first or last pixel of its box.
|
|
250
|
+
A scroller (the GPU row, the log) sits inside a `.panel`
|
|
251
|
+
rather than being one, so its content scrolls inside the padding instead
|
|
252
|
+
of under the border. Anything drawn inside a panel that paints its own background
|
|
253
|
+
(Plotly, sticky table and log headers, the density's floor) paints
|
|
254
|
+
--panel, not --bg. */
|
|
255
|
+
.autoopt-root .section-head { border-bottom: 1px solid var(--line-soft); padding-bottom: var(--space-2); }
|
|
256
|
+
.autoopt-root .card, .autoopt-root .summary, .autoopt-root .panel,
|
|
257
|
+
.autoopt-root .stat-card {
|
|
258
|
+
background: var(--panel); border: 1px solid var(--line-soft);
|
|
259
|
+
border-radius: 10px; padding: var(--space-3);
|
|
260
|
+
}
|
|
261
|
+
.autoopt-root .card { margin: 0; min-width: 0; }
|
|
262
|
+
.autoopt-root figcaption {
|
|
263
|
+
font-size: 12.5px; font-weight: 650; color: var(--text-dim);
|
|
264
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
265
|
+
gap: var(--space-3); margin-bottom: var(--space-2); flex-wrap: wrap;
|
|
266
|
+
}
|
|
267
|
+
.autoopt-root .figcaption-aside {
|
|
268
|
+
display: flex; gap: var(--space-2); align-items: center; font-weight: 400; flex-wrap: wrap;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* A chart's headline number sits under its title in the font, as
|
|
272
|
+
HTML, never as a monospace Plotly annotation. */
|
|
273
|
+
.autoopt-root .panel-headline {
|
|
274
|
+
font-size: 12.5px; color: var(--text-dim); font-variant-numeric: tabular-nums;
|
|
275
|
+
margin: 0 0 var(--space-2); line-height: 1.3;
|
|
276
|
+
}
|
|
277
|
+
.autoopt-root .panel-headline b { color: var(--text); font-weight: 650; }
|
|
278
|
+
/* The separator between the reported values, large enough to read as one. */
|
|
279
|
+
.autoopt-root .panel-headline .sep {
|
|
280
|
+
font-size: 15px; line-height: 0; vertical-align: -1px;
|
|
281
|
+
margin: 0 var(--space-2); color: var(--text-dim);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.autoopt-root .empty {
|
|
285
|
+
color: var(--text-faint); font-size: 11.5px; padding: var(--space-5);
|
|
286
|
+
text-align: center; border: 1px dashed var(--line); border-radius: 8px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.autoopt-root footer { padding: 0 var(--space-4) var(--space-5); font-size: 10.5px; color: var(--text-faint); }
|
|
290
|
+
.autoopt-root footer.credit { padding-top: 0; }
|
|
291
|
+
.autoopt-root footer.credit a { color: var(--text-faint) !important; }
|
|
292
|
+
.autoopt-root footer.credit a:hover { color: var(--cyan) !important; }
|
|
293
|
+
|
|
294
|
+
/* ==== SECTION: summary ==== */
|
|
295
|
+
|
|
296
|
+
.autoopt-root .summary { display: flex; gap: 0; align-items: stretch; flex-wrap: wrap; }
|
|
297
|
+
/* The hero and the tiles are one hairline-divided row: --space-3 on both
|
|
298
|
+
sides of every divider. */
|
|
299
|
+
.autoopt-root .hero { margin: 0; padding: 0 var(--space-3) 0 0; min-width: 168px; }
|
|
300
|
+
.autoopt-root .hero figcaption {
|
|
301
|
+
font-size: 11px; font-weight: 500; color: var(--text-faint);
|
|
302
|
+
margin-bottom: 0; display: block;
|
|
303
|
+
}
|
|
304
|
+
.autoopt-root .hero-value { font-size: 42px; font-weight: 650; line-height: 1.05; letter-spacing: -0.03em; }
|
|
305
|
+
.autoopt-root .hero-sub { font-size: 11.5px; color: var(--text-faint); }
|
|
306
|
+
|
|
307
|
+
.autoopt-root .tiles { display: flex; gap: var(--space-3) 0; flex-wrap: wrap; flex: 1; }
|
|
308
|
+
/* A tile opening a wrapped row (markRowStarts): no divider, same indent. */
|
|
309
|
+
.autoopt-root .tile[data-row-start="true"] { border-left-color: transparent; }
|
|
310
|
+
.autoopt-root .tile {
|
|
311
|
+
padding: 0 var(--space-3); min-width: 104px;
|
|
312
|
+
border-left: 1px solid var(--line-soft);
|
|
313
|
+
}
|
|
314
|
+
.autoopt-root .tile .label { font-size: 10.5px; color: var(--text-faint); }
|
|
315
|
+
.autoopt-root .tile .value { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
|
|
316
|
+
.autoopt-root .tile .delta { font-size: 10.5px; color: var(--text-dim); }
|
|
317
|
+
.autoopt-root .tile[data-tone="pink"] .value { color: var(--pink); }
|
|
318
|
+
.autoopt-root .tile[data-tone="good"] .value { color: var(--good); }
|
|
319
|
+
.autoopt-root .tile[data-tone="bad"] .value { color: var(--bad); }
|
|
320
|
+
|
|
321
|
+
/* ==== SECTION: sidebar ==== */
|
|
322
|
+
|
|
323
|
+
.autoopt-root aside {
|
|
324
|
+
display: flex; flex-direction: column; gap: 0;
|
|
325
|
+
position: sticky; top: 56px;
|
|
326
|
+
gap: var(--space-3);
|
|
327
|
+
}
|
|
328
|
+
/* Each group is a panel (see the shell section). */
|
|
329
|
+
.autoopt-root .stat-card h3 { margin-bottom: var(--space-2); text-transform: uppercase; letter-spacing: .05em; font-size: 10px; }
|
|
330
|
+
.autoopt-root .stat-row {
|
|
331
|
+
display: flex; align-items: baseline; justify-content: space-between;
|
|
332
|
+
gap: var(--space-2); font-size: 11.5px; padding: var(--space-0) 0;
|
|
333
|
+
}
|
|
334
|
+
.autoopt-root .stat-row .key { color: var(--text-faint); min-width: 0;
|
|
335
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
336
|
+
.autoopt-root .stat-row .val { color: var(--text); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
|
|
337
|
+
.autoopt-root .stat-row .val.good { color: var(--good); }
|
|
338
|
+
.autoopt-root .stat-row .val.warn { color: var(--warn); }
|
|
339
|
+
.autoopt-root .stat-row .val.bad { color: var(--bad); }
|
|
340
|
+
.autoopt-root .stat-row .val.pink { color: var(--pink); }
|
|
341
|
+
.autoopt-root .stat-note { font-size: 10.5px; color: var(--text-faint); margin-top: var(--space-2); line-height: 1.35; }
|
|
342
|
+
|
|
343
|
+
.autoopt-root .bar-list { display: flex; flex-direction: column; gap: var(--space-1); }
|
|
344
|
+
.autoopt-root .bar-row { display: grid; grid-template-columns: 78px 1fr 34px; gap: var(--space-2); align-items: center; font-size: 11px; }
|
|
345
|
+
.autoopt-root .bar-row .key { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
346
|
+
.autoopt-root .bar-row .bar { height: 8px; border-radius: 2px; background: var(--text-faint); }
|
|
347
|
+
.autoopt-root .bar-row .n { text-align: right; color: var(--text-faint); font-variant-numeric: tabular-nums; }
|
|
348
|
+
|
|
349
|
+
/* ==== SECTION: chips-and-legend ==== */
|
|
350
|
+
|
|
351
|
+
.autoopt-root .chips { display: flex; gap: var(--space-1); flex-wrap: wrap; }
|
|
352
|
+
.autoopt-root .chip {
|
|
353
|
+
display: inline-flex; align-items: center; gap: var(--space-1);
|
|
354
|
+
padding: var(--space-0) var(--space-2); border-radius: 999px; font-size: 11px;
|
|
355
|
+
border: 1px solid var(--line); color: var(--text-dim);
|
|
356
|
+
background: var(--panel-2); cursor: default; font-family: inherit;
|
|
357
|
+
}
|
|
358
|
+
.autoopt-root button.chip { cursor: pointer; }
|
|
359
|
+
.autoopt-root .chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
|
|
360
|
+
.autoopt-root .chip b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
361
|
+
/* A category chip (categoryChips): the body emphasises, the end dot hides. */
|
|
362
|
+
.autoopt-root .chip-main, .autoopt-root .chip .eye {
|
|
363
|
+
display: inline-flex; align-items: center; gap: var(--space-1); padding: 0;
|
|
364
|
+
border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
|
|
365
|
+
}
|
|
366
|
+
.autoopt-root .chip-main { color: var(--text-dim); }
|
|
367
|
+
.autoopt-root .chip .eye { font-size: 9px; color: var(--text-faint); padding-left: var(--space-0); }
|
|
368
|
+
.autoopt-root .chip .eye:hover { color: var(--text); }
|
|
369
|
+
.autoopt-root .chip[data-emphasised="true"] { border-color: currentColor; }
|
|
370
|
+
.autoopt-root .chip[data-emphasised="true"] .chip-main { color: var(--text); }
|
|
371
|
+
.autoopt-root .chip[data-hidden="true"] { opacity: .45; }
|
|
372
|
+
|
|
373
|
+
.autoopt-root .legend { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: 0; }
|
|
374
|
+
.autoopt-root .legend-item { display: flex; align-items: center; gap: var(--space-1); font-size: 11px; color: var(--text-dim); }
|
|
375
|
+
.autoopt-root .swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: 0 0 auto; }
|
|
376
|
+
.autoopt-root .swatch.round { border-radius: 50%; }
|
|
377
|
+
.autoopt-root .swatch.hollow { background: none !important; border: 1.5px solid currentColor; border-radius: 50%; }
|
|
378
|
+
|
|
379
|
+
/* ==== SECTION: plots ==== */
|
|
380
|
+
|
|
381
|
+
.autoopt-root .plot { width: 100%; height: 300px; }
|
|
382
|
+
.autoopt-root .plot.tall { height: 380px; }
|
|
383
|
+
.autoopt-root .plot.short { height: 168px; }
|
|
384
|
+
.autoopt-root .plot-scales { display: flex; gap: var(--space-1); justify-content: flex-end; margin-top: var(--space-0); }
|
|
385
|
+
.autoopt-root .plot-scales button {
|
|
386
|
+
font: inherit; font-size: 10px; line-height: 1;
|
|
387
|
+
padding: var(--space-0) var(--space-1); border-radius: 5px; cursor: pointer;
|
|
388
|
+
background: transparent; color: var(--text-faint); border: 1px solid var(--line);
|
|
389
|
+
}
|
|
390
|
+
.autoopt-root .plot-scales button:hover { color: var(--text-dim); }
|
|
391
|
+
.autoopt-root .plot-scales button[aria-pressed="true"] {
|
|
392
|
+
color: var(--bg); background: var(--cyan); border-color: var(--cyan);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/* A reorderable panel: only the grip starts a drag, because Plotly owns the
|
|
396
|
+
pointer over the plot, where a drag is a lasso. */
|
|
397
|
+
.autoopt-root .reorder-grid {
|
|
398
|
+
display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: var(--space-4);
|
|
399
|
+
}
|
|
400
|
+
.autoopt-root .reorder-card { position: relative; transition: opacity 120ms; }
|
|
401
|
+
.autoopt-root .reorder-card figcaption { gap: var(--space-2); justify-content: flex-start; }
|
|
402
|
+
.autoopt-root .grip {
|
|
403
|
+
cursor: grab; color: var(--text-faint); font-size: 15px; line-height: 1;
|
|
404
|
+
padding: var(--space-0) var(--space-1); margin: calc(-1 * var(--space-0)); user-select: none; border-radius: 4px;
|
|
405
|
+
}
|
|
406
|
+
.autoopt-root .grip:hover { background: var(--panel-2); }
|
|
407
|
+
.autoopt-root .grip:active { cursor: grabbing; }
|
|
408
|
+
.autoopt-root .reorder-card[data-dragging="true"] { opacity: .35; }
|
|
409
|
+
.autoopt-root .reorder-card[data-drop="before"] { box-shadow: inset 3px 0 0 var(--cyan); }
|
|
410
|
+
.autoopt-root .reorder-card[data-drop="after"] { box-shadow: inset -3px 0 0 var(--cyan); }
|
|
411
|
+
|
|
412
|
+
/* ==== SECTION: tables ==== */
|
|
413
|
+
|
|
414
|
+
.autoopt-root .table-scroll { overflow: auto; max-height: 260px; }
|
|
415
|
+
.autoopt-root table { border-collapse: collapse; width: 100%; font-size: 11.5px; }
|
|
416
|
+
.autoopt-root thead th {
|
|
417
|
+
position: sticky; top: 0; z-index: 1; background: var(--panel);
|
|
418
|
+
text-align: left; font-weight: 700; color: var(--text-faint);
|
|
419
|
+
font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em;
|
|
420
|
+
padding: var(--space-1) var(--space-2); white-space: nowrap; border-bottom: 1px solid var(--line);
|
|
421
|
+
}
|
|
422
|
+
.autoopt-root tbody td {
|
|
423
|
+
padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--line-soft);
|
|
424
|
+
white-space: nowrap; color: var(--text);
|
|
425
|
+
}
|
|
426
|
+
.autoopt-root tbody td.num { font-family: ui-monospace, Menlo, monospace; }
|
|
427
|
+
.autoopt-root tbody tr:hover { background: var(--panel-2); }
|
|
428
|
+
.autoopt-root tbody tr:last-child td { border-bottom: 0; }
|
|
429
|
+
|
|
430
|
+
/* The data-table: search, count, paging, sortable headers. */
|
|
431
|
+
.autoopt-root .table-controls { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-2); }
|
|
432
|
+
.autoopt-root .table-controls input[type="search"] {
|
|
433
|
+
font: inherit; font-size: 12px; color: var(--text); background: transparent;
|
|
434
|
+
border: 0; border-bottom: 1px solid var(--line); padding: var(--space-0); min-width: 220px;
|
|
435
|
+
}
|
|
436
|
+
.autoopt-root .table-controls input[type="search"]:focus { outline: none; border-bottom-color: var(--cyan); }
|
|
437
|
+
.autoopt-root .table-count { margin-left: auto; font-size: 11px; }
|
|
438
|
+
.autoopt-root .table-foot { display: flex; gap: var(--space-3); align-items: center; justify-content: center; padding: var(--space-2) 0; font-size: 11px; }
|
|
439
|
+
.autoopt-root #run-table thead th { cursor: pointer; user-select: none; }
|
|
440
|
+
.autoopt-root #run-table thead th .arrow { color: var(--cyan); font-size: 9px; }
|
|
441
|
+
.autoopt-root #run-table .table-scroll { max-height: 420px; position: relative; }
|
|
442
|
+
.autoopt-root #run-table td[data-tone="bad"] { color: var(--bad) !important; }
|
|
443
|
+
.autoopt-root #run-table td.note { max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
|
|
444
|
+
.autoopt-root #run-table tbody tr[data-selected="true"] td { color: var(--cyan) !important; }
|
|
445
|
+
/* The clicked point's rows: an outline, drawn inside the row so it is not
|
|
446
|
+
clipped by the scroll box and does not shift the columns. */
|
|
447
|
+
.autoopt-root #run-table tbody tr[data-pinned="true"] td {
|
|
448
|
+
box-shadow: inset 0 1px 0 var(--pink), inset 0 -1px 0 var(--pink);
|
|
449
|
+
}
|
|
450
|
+
.autoopt-root #run-table tbody tr[data-pinned="true"] td:first-child {
|
|
451
|
+
box-shadow: inset 1px 1px 0 var(--pink), inset 0 -1px 0 var(--pink);
|
|
452
|
+
}
|
|
453
|
+
.autoopt-root #run-table tbody tr[data-pinned="true"] td:last-child {
|
|
454
|
+
box-shadow: inset -1px 1px 0 var(--pink), inset 0 -1px 0 var(--pink);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* ==== SECTION: tooltip ==== */
|
|
458
|
+
|
|
459
|
+
/* Canvas and HTML-panel tooltips. Plotly hover labels are styled in
|
|
460
|
+
plotLayout() to match: monospace, aligned label/value block. */
|
|
461
|
+
.autoopt-root .tip {
|
|
462
|
+
position: absolute; z-index: 40; pointer-events: none;
|
|
463
|
+
background: var(--tip-bg); border: 1px solid var(--line);
|
|
464
|
+
border-radius: 7px; padding: var(--space-2) var(--space-3);
|
|
465
|
+
font: 11px/1.45 ui-monospace, Menlo, Consolas, monospace;
|
|
466
|
+
white-space: pre; color: var(--text-dim); max-width: 360px;
|
|
467
|
+
opacity: 0; transition: opacity 90ms;
|
|
468
|
+
}
|
|
469
|
+
.autoopt-root .tip.show { opacity: 1; }
|
|
470
|
+
.autoopt-root .tip .head { color: var(--text); font-weight: 650; }
|
|
471
|
+
.autoopt-root .tip .edit { color: var(--pink); }
|
|
472
|
+
|
|
473
|
+
/* ==== SECTION: gpu ==== */
|
|
474
|
+
|
|
475
|
+
/* One row however many GPUs there are, scrolling rather than wrapping. The
|
|
476
|
+
native scrollbar is an overlay with no reserved height, so `.dragbar`
|
|
477
|
+
replaces it; without it the cards past the edge cannot be reached. */
|
|
478
|
+
.autoopt-root .gpu-cards {
|
|
479
|
+
display: grid; grid-auto-flow: column;
|
|
480
|
+
grid-auto-columns: minmax(150px, 1fr); gap: 0;
|
|
481
|
+
overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
|
|
482
|
+
}
|
|
483
|
+
.autoopt-root .gpu-cards::-webkit-scrollbar { display: none; }
|
|
484
|
+
/* The last reading, kept while nvidia-smi is slow or failing; the host
|
|
485
|
+
summary says how old it is. */
|
|
486
|
+
.autoopt-root .gpu-cards[data-stale="true"] .gpu-card { opacity: 0.5; }
|
|
487
|
+
.autoopt-root .dragbar {
|
|
488
|
+
height: 8px; margin-top: var(--space-1); border-radius: 999px;
|
|
489
|
+
background: var(--track); cursor: grab; position: relative;
|
|
490
|
+
}
|
|
491
|
+
.autoopt-root .dragbar[data-dragging="true"] { cursor: grabbing; }
|
|
492
|
+
.autoopt-root .dragbar .thumb {
|
|
493
|
+
position: absolute; top: 0; height: 100%; min-width: 24px;
|
|
494
|
+
border-radius: 999px; background: var(--line);
|
|
495
|
+
}
|
|
496
|
+
.autoopt-root .dragbar:hover .thumb { background: var(--text-faint); }
|
|
497
|
+
|
|
498
|
+
/* Separated by hairlines, not boxed; this run's GPU carries a 2px cyan rule
|
|
499
|
+
across its top. */
|
|
500
|
+
.autoopt-root .gpu-card {
|
|
501
|
+
border-left: 1px solid var(--line-soft); border-top: 2px solid transparent;
|
|
502
|
+
padding: var(--space-2) var(--space-3); min-width: 0;
|
|
503
|
+
}
|
|
504
|
+
.autoopt-root .gpu-card:first-child { border-left: 0; padding-left: 0; }
|
|
505
|
+
.autoopt-root .gpu-card[data-state="ours"] { border-top-color: var(--cyan); }
|
|
506
|
+
.autoopt-root .gpu-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-1); min-width: 0; }
|
|
507
|
+
.autoopt-root .gpu-title {
|
|
508
|
+
font-weight: 650; font-size: 11.5px; flex: 1 1 auto; min-width: 0;
|
|
509
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
510
|
+
}
|
|
511
|
+
.autoopt-root .gpu-util { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
|
|
512
|
+
/* Stacked, not a wrapping row, so every card is the same height. */
|
|
513
|
+
.autoopt-root .gpu-stats {
|
|
514
|
+
display: flex; flex-direction: column; font-size: 10px;
|
|
515
|
+
color: var(--text-faint); margin-top: 0; line-height: 1.45;
|
|
516
|
+
}
|
|
517
|
+
.autoopt-root .gpu-stats span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
518
|
+
.autoopt-root .gpu-spark {
|
|
519
|
+
display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1);
|
|
520
|
+
align-items: center; margin: var(--space-2) 0 var(--space-0);
|
|
521
|
+
}
|
|
522
|
+
.autoopt-root .spark { position: relative; height: 26px; }
|
|
523
|
+
.autoopt-root .spark svg { display: block; }
|
|
524
|
+
.autoopt-root .spark .mark {
|
|
525
|
+
position: absolute; width: 4px; height: 4px;
|
|
526
|
+
margin: calc(-1 * var(--space-0)) 0 0 calc(-1 * var(--space-0));
|
|
527
|
+
border-radius: 50%; background: var(--text-dim);
|
|
528
|
+
}
|
|
529
|
+
.autoopt-root .spark-last { font-size: 10px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
|
|
530
|
+
.autoopt-root .gpu-proc { font-size: 10.5px; color: var(--text-dim); border-top: 1px solid var(--line-soft); padding-top: var(--space-2); margin-top: var(--space-2); }
|
|
531
|
+
.autoopt-root .gpu-proc.muted { color: var(--text-faint); }
|
|
532
|
+
.autoopt-root .gpu-proc .row { display: flex; justify-content: space-between; gap: var(--space-2); min-width: 0; }
|
|
533
|
+
.autoopt-root .gpu-proc .row > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
534
|
+
.autoopt-root .gpu-proc code { color: var(--text); }
|
|
535
|
+
/* `nowrap` and `flex: 0 0 auto`, or the badge wraps inside a 150 px card and
|
|
536
|
+
squeezes the title to "GP…". */
|
|
537
|
+
.autoopt-root .badge {
|
|
538
|
+
font-size: 9.5px; padding: 0 var(--space-1); border-radius: 999px;
|
|
539
|
+
border: 1px solid var(--line); color: var(--text-faint);
|
|
540
|
+
white-space: nowrap; flex: 0 0 auto;
|
|
541
|
+
}
|
|
542
|
+
.autoopt-root .badge[data-state="ours"] { border-color: var(--cyan); color: var(--cyan); }
|
|
543
|
+
.autoopt-root .badge[data-state="leased"] { border-color: var(--purple); color: var(--purple); }
|
|
544
|
+
.autoopt-root .badge[data-state="busy"] { border-color: var(--warn); color: var(--warn); }
|
|
545
|
+
|
|
546
|
+
/* ==== SECTION: lineage-tree ==== */
|
|
547
|
+
|
|
548
|
+
.autoopt-root .lineage-wrap { display: flex; gap: var(--space-3); align-items: stretch; }
|
|
549
|
+
/* A fixed viewport that scrolls, rather than a diagram squeezed to fit. */
|
|
550
|
+
/* --tree-height is set by dragging the handle under the tree (dashboard.js,
|
|
551
|
+
treeResize); double-clicking it removes the property, back to 430px. */
|
|
552
|
+
.autoopt-root .lineage-holder {
|
|
553
|
+
flex: 1; min-width: 0; overflow: auto; max-height: var(--tree-height, 430px);
|
|
554
|
+
}
|
|
555
|
+
/* Scrollbars that stay out of the way: thin, invisible until the pointer is
|
|
556
|
+
over the scroller, and then a faint thumb on no track. */
|
|
557
|
+
.autoopt-root .lineage-holder, .autoopt-root .lineage-map {
|
|
558
|
+
scrollbar-width: thin; scrollbar-color: transparent transparent;
|
|
559
|
+
transition: scrollbar-color 120ms;
|
|
560
|
+
}
|
|
561
|
+
.autoopt-root .lineage-holder:hover, .autoopt-root .lineage-map:hover {
|
|
562
|
+
scrollbar-color: color-mix(in srgb, var(--text-faint) 45%, transparent) transparent;
|
|
563
|
+
}
|
|
564
|
+
/* The drag handle: a hairline that thickens on hover. */
|
|
565
|
+
.autoopt-root .tree-resize {
|
|
566
|
+
height: 10px; margin: var(--space-1) 0; cursor: ns-resize; position: relative; z-index: 1;
|
|
567
|
+
display: flex; align-items: center; justify-content: center; touch-action: none;
|
|
568
|
+
}
|
|
569
|
+
.autoopt-root .tree-resize::before {
|
|
570
|
+
content: ''; width: 44px; height: 3px; border-radius: 2px;
|
|
571
|
+
background: var(--line); transition: background 120ms, width 120ms;
|
|
572
|
+
}
|
|
573
|
+
.autoopt-root .tree-resize:hover::before, .autoopt-root .tree-resize[data-dragging="true"]::before {
|
|
574
|
+
background: var(--text-faint); width: 72px;
|
|
575
|
+
}
|
|
576
|
+
.autoopt-root .lineage-holder svg { display: block; }
|
|
577
|
+
.autoopt-root .lineage-edge { fill: none; stroke-width: 1.4px; transition: opacity 90ms; }
|
|
578
|
+
.autoopt-root .lineage-node { cursor: pointer; transition: opacity 90ms; }
|
|
579
|
+
.autoopt-root .lineage-node text {
|
|
580
|
+
font-size: 10px; fill: var(--text-dim); text-anchor: middle;
|
|
581
|
+
font-variant-numeric: tabular-nums; pointer-events: none;
|
|
582
|
+
}
|
|
583
|
+
.autoopt-root .lineage-rowlabel { font-size: 10px; fill: var(--text-faint); }
|
|
584
|
+
.autoopt-root .lineage-node[data-dim="true"], .autoopt-root .lineage-edge[data-dim="true"] { opacity: .15; }
|
|
585
|
+
/* Hovering shows one ancestry and pushes the rest back. */
|
|
586
|
+
.autoopt-root svg[data-hovering="true"] [data-node-id]:not([data-on-path="true"]) { opacity: .1; }
|
|
587
|
+
.autoopt-root svg[data-hovering="true"] .lineage-edge[data-on-path="true"] { stroke-width: 2.4px; stroke-opacity: 1; }
|
|
588
|
+
.autoopt-root .lineage-map {
|
|
589
|
+
flex: 0 0 auto; width: 70px; max-height: var(--tree-height, 430px); overflow-y: auto;
|
|
590
|
+
display: flex; flex-direction: column; gap: var(--space-0);
|
|
591
|
+
border-left: 1px solid var(--line-soft); padding-left: var(--space-3);
|
|
592
|
+
}
|
|
593
|
+
.autoopt-root .lineage-level {
|
|
594
|
+
display: flex; flex-direction: column; align-items: center; gap: 0;
|
|
595
|
+
padding: var(--space-1) 0; border: 0; background: none; cursor: pointer; font: inherit;
|
|
596
|
+
}
|
|
597
|
+
.autoopt-root .lineage-level:hover .n { color: var(--cyan); }
|
|
598
|
+
.autoopt-root .lineage-level .dot { width: 11px; height: 11px; border-radius: 50%; }
|
|
599
|
+
.autoopt-root .lineage-level .n { font-size: 10px; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
600
|
+
.autoopt-root .lineage-level .lbl { font-size: 8.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .04em; }
|
|
601
|
+
|
|
602
|
+
/* ==== SECTION: expandable-log ==== */
|
|
603
|
+
|
|
604
|
+
/* A fixed viewport that scrolls: a search reaches thousands of entries. */
|
|
605
|
+
.autoopt-root .log {
|
|
606
|
+
display: flex; flex-direction: column; max-height: 480px; overflow-y: auto;
|
|
607
|
+
scrollbar-width: thin;
|
|
608
|
+
}
|
|
609
|
+
.autoopt-root .log-header, .autoopt-root .log-row {
|
|
610
|
+
display: grid; grid-template-columns: var(--log-cols); gap: 0 var(--space-3);
|
|
611
|
+
align-items: baseline; min-width: 0;
|
|
612
|
+
}
|
|
613
|
+
.autoopt-root .log-header {
|
|
614
|
+
position: sticky; top: 0; z-index: 1; background: var(--panel);
|
|
615
|
+
/* The entries' 3px rule plus their padding, so the columns align. */
|
|
616
|
+
padding: 0 0 var(--space-1) calc(3px + var(--space-3)); border-bottom: 1px solid var(--line);
|
|
617
|
+
font-size: 9.5px; font-weight: 700; color: var(--text-faint);
|
|
618
|
+
text-transform: uppercase; letter-spacing: .07em;
|
|
619
|
+
}
|
|
620
|
+
.autoopt-root .log-header .num, .autoopt-root .log-row .num { text-align: right; }
|
|
621
|
+
/* No box: a left rule in the category's colour and a hairline under each. */
|
|
622
|
+
.autoopt-root .log-entry {
|
|
623
|
+
border-left: 3px solid var(--cat-other); border-bottom: 1px solid var(--line-soft);
|
|
624
|
+
padding: var(--space-1) 0 var(--space-1) var(--space-3); cursor: pointer;
|
|
625
|
+
}
|
|
626
|
+
.autoopt-root .log-entry:hover { background: var(--hover-wash); }
|
|
627
|
+
.autoopt-root .log-row .m {
|
|
628
|
+
font-size: 11.5px; color: var(--text-dim); white-space: nowrap;
|
|
629
|
+
overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums;
|
|
630
|
+
}
|
|
631
|
+
.autoopt-root .log-row .m:first-child { color: var(--text); font-weight: 650; font-family: ui-monospace, Menlo, monospace; }
|
|
632
|
+
.autoopt-root .log-row .m:last-child { color: var(--text); }
|
|
633
|
+
.autoopt-root .log-entry[data-faded="true"] { opacity: .35; }
|
|
634
|
+
.autoopt-root .log-detail { margin: var(--space-2) 0 var(--space-1); cursor: auto; }
|
|
635
|
+
.autoopt-root .log-detail.pairs {
|
|
636
|
+
display: grid; gap: var(--space-1) var(--space-5);
|
|
637
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
638
|
+
}
|
|
639
|
+
.autoopt-root .log-detail .pair { display: flex; justify-content: space-between; gap: var(--space-2); font-size: 11px; }
|
|
640
|
+
.autoopt-root .log-detail .k { color: var(--text-faint); }
|
|
641
|
+
.autoopt-root .log-detail .v { color: var(--text); font-family: ui-monospace, Menlo, monospace; text-align: right; }
|
|
642
|
+
|
|
643
|
+
/* ==== SECTION: autoopt ==== */
|
|
644
|
+
|
|
645
|
+
/* The lineage of the whole search. */
|
|
646
|
+
.autoopt-root .tree-wrap { display: block; }
|
|
647
|
+
.autoopt-root .tree-holder { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
|
|
648
|
+
.autoopt-root .tree-col { min-width: 0; }
|
|
649
|
+
.autoopt-root .tally-key {
|
|
650
|
+
display: inline-block; font-size: 9px; padding: 0 var(--space-1); border-radius: 5px;
|
|
651
|
+
border: 1px dashed var(--line); color: var(--text-dim);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/* Gain per step: signed values with four significant figures need a wider
|
|
655
|
+
value column than a count. */
|
|
656
|
+
.autoopt-root .gain-list .bar-row { grid-template-columns: 40px 1fr 76px; }
|
|
657
|
+
|
|
658
|
+
/* External validation: one small multiple per measure over rounds. The
|
|
659
|
+
section head says, before any number, that it is not a gate. */
|
|
660
|
+
.autoopt-root .validation-grid {
|
|
661
|
+
display: grid; gap: var(--space-4);
|
|
662
|
+
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
663
|
+
}
|
|
664
|
+
.autoopt-root .validation-grid .empty { grid-column: 1 / -1; }
|
|
665
|
+
.autoopt-root .not-a-gate { color: var(--text); font-weight: 650; }
|
|
666
|
+
|
|
667
|
+
/* An open log entry's README, above its key/value detail. */
|
|
668
|
+
.autoopt-root .log-desc { margin-top: var(--space-2); font-size: 12px; color: var(--text-dim); max-width: 78ch; white-space: normal; }
|
|
669
|
+
.autoopt-root .log-desc .log-h { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; margin-top: var(--space-2); }
|
|
670
|
+
.autoopt-root .log-desc .log-p { margin: var(--space-1) 0 0; line-height: 1.45; }
|
|
671
|
+
.autoopt-root .log-desc .log-p.muted { color: var(--text-faint); }
|
|
672
|
+
.autoopt-root .log-desc .log-more { margin-top: var(--space-2); }
|
|
673
|
+
.autoopt-root .log-diffstat { display: flex; flex-wrap: wrap; gap: var(--space-2); font: 11px/1.45 ui-monospace, Menlo, monospace; color: var(--text-faint); font-variant-numeric: tabular-nums; }
|
|
674
|
+
.autoopt-root .diff-add { color: var(--diff-add); }
|
|
675
|
+
.autoopt-root .diff-del { color: var(--diff-del); }
|
|
676
|
+
.autoopt-root .diff-mod { color: var(--diff-mod); }
|
|
677
|
+
.autoopt-root .k-tag { font-weight: 600; letter-spacing: .04em; }
|
|
678
|
+
.autoopt-root .k-tag.k-gate { color: var(--tag-gate); }
|
|
679
|
+
.autoopt-root .k-tag.k-obs { color: var(--tag-obs); }
|
|
680
|
+
.autoopt-root .k-tag.k-seed { color: var(--tag-seed); }
|
|
681
|
+
|
|
682
|
+
/* ==== SECTION: diff ==== */
|
|
683
|
+
|
|
684
|
+
.autoopt-root #diff-card[hidden] { display: none; }
|
|
685
|
+
.autoopt-root .diff-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); padding: var(--space-2) var(--space-3); color: var(--text-dim); }
|
|
686
|
+
.autoopt-root .diff-summary .diff-idea { color: var(--text); }
|
|
687
|
+
.autoopt-root .diff-file { border-top: 1px solid var(--line-soft); }
|
|
688
|
+
.autoopt-root .diff-file > summary { display: flex; align-items: baseline; gap: var(--space-2); padding: var(--space-1) var(--space-3); cursor: pointer; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text); }
|
|
689
|
+
.autoopt-root .diff-path { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
690
|
+
.autoopt-root .diff-status { color: var(--text-faint); width: 1.2em; }
|
|
691
|
+
.autoopt-root .diff-note { padding: var(--space-1) var(--space-3) var(--space-2); color: var(--text-faint); }
|
|
692
|
+
.autoopt-root .diff-scroll { overflow-x: auto; }
|
|
693
|
+
/* The Lab overrides below make every table `auto` layout and every cell
|
|
694
|
+
transparent with `!important`; the diff table undoes that for itself, at
|
|
695
|
+
a higher specificity. */
|
|
696
|
+
.autoopt-root .diff-table { width: 100% !important; min-width: 640px; table-layout: fixed !important; border-collapse: collapse; font-family: ui-monospace, Menlo, monospace; font-size: 12px !important; line-height: 1.5; }
|
|
697
|
+
.autoopt-root .diff-table tbody td { padding: 0 var(--space-2); vertical-align: top; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text) !important; font-size: 12px !important; border-bottom: 0 !important; text-align: left !important; }
|
|
698
|
+
.autoopt-root .diff-table tbody td.num { text-align: right !important; color: var(--text-faint) !important; user-select: none; padding: 0 var(--space-1); }
|
|
699
|
+
.autoopt-root .diff-table tbody td.hunk { color: var(--text-faint) !important; background: var(--panel-2) !important; }
|
|
700
|
+
.autoopt-root .diff-table tbody td.del { background: var(--diff-del-bg) !important; }
|
|
701
|
+
.autoopt-root .diff-table tbody td.add { background: var(--diff-add-bg) !important; }
|
|
702
|
+
.autoopt-root .diff-table tbody td.num.del { background: var(--diff-del-gutter) !important; }
|
|
703
|
+
.autoopt-root .diff-table tbody td.num.add { background: var(--diff-add-gutter) !important; }
|
|
704
|
+
.autoopt-root .diff-table tbody td.side { border-left: 1px solid var(--line-soft) !important; }
|
|
705
|
+
|
|
706
|
+
/* ==== SECTION: jupyterlab-overrides ==== */
|
|
707
|
+
|
|
708
|
+
/* Lab injects theme CSS after this file and out-specifies it by an element
|
|
709
|
+
selector, so neither order nor specificity is reliable; `!important` is
|
|
710
|
+
deterministic and stays confined to the mount. Each entry undoes a real
|
|
711
|
+
breakage: a fixed table layout collapses columns and overlaps `nowrap`
|
|
712
|
+
cells, row striping paints over the surface, `code` becomes a chip. */
|
|
713
|
+
.autoopt-root table {
|
|
714
|
+
table-layout: auto !important; width: 100% !important;
|
|
715
|
+
margin: 0 !important; border: 0 !important; color: inherit !important;
|
|
716
|
+
font-size: 11.5px !important;
|
|
717
|
+
}
|
|
718
|
+
.autoopt-root thead th {
|
|
719
|
+
background: var(--panel) !important; color: var(--text-faint) !important;
|
|
720
|
+
border: 0 !important; border-bottom: 1px solid var(--line) !important;
|
|
721
|
+
text-align: left !important; text-transform: uppercase !important;
|
|
722
|
+
font-size: 9.5px !important; font-weight: 700 !important;
|
|
723
|
+
}
|
|
724
|
+
.autoopt-root tbody tr { background: transparent !important; }
|
|
725
|
+
.autoopt-root tbody tr:hover { background: var(--panel-2) !important; }
|
|
726
|
+
.autoopt-root tbody td {
|
|
727
|
+
background: transparent !important; color: var(--text) !important;
|
|
728
|
+
border: 0 !important; border-bottom: 1px solid var(--line-soft) !important;
|
|
729
|
+
text-align: left !important; font-size: 11.5px !important;
|
|
730
|
+
}
|
|
731
|
+
.autoopt-root th.num, .autoopt-root td.num { text-align: right !important; }
|
|
732
|
+
.autoopt-root code {
|
|
733
|
+
background: none !important; padding: 0 !important; border: 0 !important;
|
|
734
|
+
color: inherit !important; font-size: 11.5px !important;
|
|
735
|
+
line-height: inherit !important;
|
|
736
|
+
}
|
|
737
|
+
.autoopt-root a { color: var(--cyan) !important; text-decoration: none !important; }
|
|
738
|
+
.autoopt-root img, .autoopt-root svg { max-width: none !important; }
|
|
739
|
+
/* Lab sets `height: auto` on svg, which rescales the sparkline's viewBox
|
|
740
|
+
with the card's width and drops a 0% line into the row beneath. */
|
|
741
|
+
.autoopt-root .spark svg { height: 26px !important; }
|
|
742
|
+
.autoopt-root canvas { max-width: 100% !important; }
|
|
743
|
+
.autoopt-root pre { margin: 0 !important; background: none !important; }
|
|
744
|
+
.autoopt-root h1, .autoopt-root h2, .autoopt-root h3 {
|
|
745
|
+
border: 0 !important; padding: 0 !important; margin: 0 !important;
|
|
746
|
+
/* Lab's heading line-height squeezes a heading against its hairline. */
|
|
747
|
+
line-height: 1.3 !important;
|
|
748
|
+
}
|
|
749
|
+
.autoopt-root h2, .autoopt-root h3 { color: inherit !important; }
|
|
750
|
+
.autoopt-root button, .autoopt-root select { font-family: inherit !important; }
|
|
751
|
+
|
|
752
|
+
/* The node panel under the tree: a clicked node's whole README beside every
|
|
753
|
+
number the iteration recorded. */
|
|
754
|
+
.autoopt-root .tree-node { border-top: 1px solid var(--line-soft); margin-top: var(--space-3); padding-top: var(--space-2); }
|
|
755
|
+
.autoopt-root .tree-node[hidden] { display: none; }
|
|
756
|
+
.autoopt-root .tree-node-head { display: flex; align-items: baseline; gap: var(--space-2); }
|
|
757
|
+
.autoopt-root .tree-node-id { color: var(--text); font-weight: 650; font-family: ui-monospace, Menlo, monospace; }
|
|
758
|
+
.autoopt-root .tree-node-title { color: var(--text-dim); flex: 1; }
|
|
759
|
+
.autoopt-root .tree-node-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: var(--space-5); margin-top: var(--space-2); }
|
|
760
|
+
.autoopt-root .tree-node-detail { margin-top: 0; }
|
|
761
|
+
.autoopt-root .md { font-size: 12px; color: var(--text-dim); max-width: 92ch; }
|
|
762
|
+
.autoopt-root .md .md-h1 { font-size: 13px; color: var(--text); font-weight: 650; margin-top: var(--space-2); }
|
|
763
|
+
.autoopt-root .md .md-h { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; margin-top: var(--space-3); }
|
|
764
|
+
.autoopt-root .md .md-p { margin: var(--space-1) 0 0; line-height: 1.45; }
|
|
765
|
+
.autoopt-root .md .md-ul { margin: var(--space-1) 0 0; padding-left: var(--space-4); }
|
|
766
|
+
.autoopt-root .md .md-ul li { line-height: 1.45; }
|
|
767
|
+
.autoopt-root .md .md-li-nested { margin-left: var(--space-4); }
|
|
768
|
+
.autoopt-root .md code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--text); background: none; padding: 0; }
|
|
769
|
+
.autoopt-root .md strong { color: var(--text); font-weight: 650; }
|
|
770
|
+
.autoopt-root .md .md-pre { font: 11px/1.4 ui-monospace, Menlo, monospace; color: var(--text); white-space: pre-wrap; margin: var(--space-2) 0 0; background: none; border: none; padding: 0; }
|
|
771
|
+
.autoopt-root .md .md-table { border-collapse: collapse; margin-top: var(--space-2); font-size: 11px; }
|
|
772
|
+
.autoopt-root .md .md-table th, .autoopt-root .md .md-table td { padding: var(--space-0) var(--space-2); border: none; border-bottom: 1px solid var(--line-soft); text-align: left; background: none; }
|
|
773
|
+
.autoopt-root .md .md-table th { color: var(--text-faint); font-weight: 400; }
|
|
774
|
+
@media (max-width: 900px) { .autoopt-root .tree-node-body { grid-template-columns: 1fr; } }
|
|
775
|
+
|