Show what the model knows on its own screen and let the user set it aside
The Apprendimento screen says in plain words whether the model counts, how well its probabilities hold, which clues it weighs, how the challenger is doing and what it has learned. Thresholds, set-aside and the undo of a promotion live in Impostazioni; anything that shrinks less with real money asks for the phrase. The new tests also caught a wrong column name that broke the Panoramica as soon as the first model existed. refs #66 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
14e8a872dc
commit
f69943f70a
22 files changed
+1680
-27
No files matched your search
@@ -681,7 +681,90 @@ legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-we
|
||||
.source-list li > span:first-child { display: inline-flex; }
|
||||
.source-list .muted { text-align: right; }
|
||||
|
||||
/* ---- Apprendimento (mockup 06) ---- */
|
||||
.learning-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
|
||||
.learning-state { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
|
||||
.learning-state h2 { font-size: 26px; line-height: 34px; letter-spacing: -0.015em; }
|
||||
.learning-text { color: var(--text-2); font-size: 15px; line-height: 23px; max-width: 62ch; }
|
||||
.learning-progress { width: 100%; max-width: 560px; }
|
||||
.learning-progress .usage { height: 8px; border-radius: 4px; }
|
||||
.state-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 13.5px; }
|
||||
.state-badge.on { background: var(--gain-bg); color: var(--gain); }
|
||||
.state-badge.warn { background: var(--attention-bg); color: var(--attention); }
|
||||
.learning-facts { margin: 0; display: flex; flex-direction: column; justify-content: center; }
|
||||
.learning-facts > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
|
||||
.learning-facts > div:last-child { border-bottom: 0; }
|
||||
.learning-facts dt { color: var(--text-3); font-size: 13.5px; }
|
||||
.learning-facts dd { margin: 0; }
|
||||
.learning-facts dd strong { font-size: 16px; line-height: 24px; font-weight: 650; }
|
||||
.learning-facts .learning-precision { font-size: 30px; line-height: 38px; font-weight: 650; letter-spacing: -0.02em; }
|
||||
.learning-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
|
||||
.learning-row-wide { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
|
||||
.learning-row .panel { padding: 24px 26px; display: flex; flex-direction: column; min-width: 0; }
|
||||
.learning-row .panel > h2 { margin-bottom: 4px; }
|
||||
.learning-open { align-items: start; gap: 28px; }
|
||||
.calibration { display: flex; flex-direction: column; margin-top: 12px; flex: 1; }
|
||||
.calibration-title, .calibration-foot { color: var(--text-2); font-size: 14px; }
|
||||
.calibration-foot { text-align: center; margin-right: 20%; }
|
||||
.calibration-box { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); height: 250px; margin: 14px 20% 0 0; }
|
||||
.calibration .chart-axis { display: block; }
|
||||
.calibration .base { stroke: var(--control); stroke-width: 1; }
|
||||
.calibration-x { position: relative; height: 30px; margin: 8px 20% 0 56px; color: var(--text-3); font-size: 13px; }
|
||||
.calibration-x span { position: absolute; transform: translateX(-50%); }
|
||||
.calibration .legend { margin-top: 20px; }
|
||||
.calibration-text { color: var(--text-2); margin-top: 12px; }
|
||||
.point-label { position: absolute; white-space: nowrap; font-size: 13.5px; font-weight: 650; pointer-events: none; }
|
||||
.point-label.below { transform: translate(12px, 8px); }
|
||||
.point-label.above { transform: translate(-100%, -24px); margin-left: -8px; }
|
||||
.point-label.under { transform: translate(-50%, 10px); }
|
||||
.hover-dot:hover { z-index: 2; }
|
||||
.hover-dot.quiet { opacity: 0; }
|
||||
.hover-dot.quiet:hover { opacity: 1; }
|
||||
.hover-box { display: none; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--surface); font-size: 13px; line-height: 18px; white-space: nowrap; font-weight: 500; }
|
||||
.hover-dot:hover .hover-box { display: block; }
|
||||
.weights { list-style: none; margin: 12px 0 0; padding: 0; }
|
||||
.weights li { display: grid; grid-template-columns: minmax(0, 215px) minmax(0, 1fr) 30px; gap: 16px; align-items: center; min-height: 31px; }
|
||||
.weights strong { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
|
||||
.weight-bar span { display: block; height: 11px; border-radius: 0 4px 4px 0; background: var(--text-2); min-width: 2px; }
|
||||
.weights .rest > span:first-child { color: var(--text-3); }
|
||||
.weights .rest .weight-bar span { background: var(--bench); }
|
||||
.weights-text { margin-top: auto; padding-top: 18px; }
|
||||
.versions { margin-top: 8px; }
|
||||
.versions thead td { border-bottom: 1px solid var(--rule); }
|
||||
.versions thead th { color: var(--text); font-weight: 650; font-size: 13.5px; border-bottom-color: var(--rule); }
|
||||
.versions th[scope="row"] { font-weight: 400; text-align: left; font-size: 13.5px; color: var(--text-2); }
|
||||
@media (min-width: 761px) { .versions thead th { white-space: nowrap; } }
|
||||
.learning-row .aside { margin-top: 16px; }
|
||||
.learning-row .aside strong { color: var(--text); }
|
||||
.learning-row .panel > .chart-table, .learning-row .panel > form { margin-top: 14px; }
|
||||
.learning-watch .panel-head { margin-bottom: 8px; }
|
||||
.learning-watch .aside { margin-top: auto; }
|
||||
.status-pill.gain { color: var(--gain); }
|
||||
.watch-list { list-style: none; margin: 0 0 14px; padding: 0; }
|
||||
.watch-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-inner); color: var(--text-2); }
|
||||
.watch-list .icon { margin-top: 2px; color: var(--text-3); }
|
||||
.watch-list .ok .icon { color: var(--gain); }
|
||||
.watch-list .warn, .watch-list .warn .icon { color: var(--attention); }
|
||||
.weekly { margin: 0 0 16px; padding-top: 14px; border-top: 1px solid var(--rule-inner); }
|
||||
.weekly-box { display: grid; grid-template-columns: minmax(0, 1fr) 76px; height: 84px; margin: 12px 0 4px 6px; }
|
||||
.weekly svg .bench { fill: none; stroke: var(--bench); stroke-width: 1; }
|
||||
.weekly svg .equity { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; }
|
||||
.weekly .end-dot { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
|
||||
.weekly-side { position: relative; font-size: 13px; }
|
||||
.weekly-side strong, .weekly-side span { position: absolute; left: 14px; line-height: 15px; white-space: nowrap; }
|
||||
.weekly-side strong { transform: translateY(-60%); font-weight: 650; }
|
||||
.weekly-side span { color: var(--text-3); transform: translateY(-20%); font-size: 12.5px; }
|
||||
.weekly-x { display: flex; justify-content: space-between; margin: 10px 76px 0 6px; }
|
||||
.found { list-style: none; margin: 0; padding: 0; }
|
||||
.found li { display: flex; flex-direction: column; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
|
||||
.found li:last-child { border-bottom: 0; }
|
||||
.found strong { font-weight: 650; }
|
||||
.found-detail { color: var(--text-2); }
|
||||
.found .attention { font-size: 13px; }
|
||||
.learning-open .plain h3 { margin: 18px 0 4px; }
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.learning-row, .learning-row-wide { grid-template-columns: minmax(0, 1fr); }
|
||||
.overview-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.overview-row-wide, .journal-columns, .news-columns { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
@@ -787,4 +870,14 @@ legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-we
|
||||
.news-panel > .panel-head .segmented { display: flex; width: 100%; }
|
||||
.news-panel > .panel-head .segmented a { flex: 1 1 0; text-align: center; padding: 8px 6px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
|
||||
.news-columns, .news-side { gap: 14px; }
|
||||
.learning-head { grid-template-columns: minmax(0, 1fr); }
|
||||
.learning-state h2 { font-size: 22px; line-height: 28px; }
|
||||
.learning-row { gap: 14px; }
|
||||
.learning-row .panel { padding: 18px; }
|
||||
.calibration-box { margin-right: 0; grid-template-columns: 42px minmax(0, 1fr); }
|
||||
.calibration-x { margin-right: 0; margin-left: 42px; }
|
||||
.calibration-foot { margin-right: 0; }
|
||||
.calibration .legend { flex-direction: row; }
|
||||
.weights li { grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 26px; gap: 10px; }
|
||||
.chart-table summary { min-height: 44px; display: flex; align-items: center; }
|
||||
}
|
||||
Reference in new issue
Block a user