Let a dashboard be read against runs instead of the live engine
This commit is contained in:
@@ -125,6 +125,16 @@ export async function downloadArtifact(digest: string, name: string) {
|
||||
URL.revokeObjectURL(url)
|
||||
}
|
||||
|
||||
/**
|
||||
* Why a finished run can have nothing to draw.
|
||||
*
|
||||
* A cache hit restores what a node returned, not the values it emitted along
|
||||
* the way, so a run whose training node was reused has a result and no curve.
|
||||
* Said out loud rather than left as an empty chart, which reads as a fault.
|
||||
*/
|
||||
export const NO_CURVE =
|
||||
"No curve was recorded. A node restored from the cache replays no emissions, so a run that reused an earlier one draws nothing here — its outputs are still on the result."
|
||||
|
||||
/** A run id, short enough for a table cell. The tail is the random half. */
|
||||
export const shortId = (id: string) => id.slice(-8)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user