MCPcopy
hub / github.com/virattt/dexter / refresh

Method refresh

src/evals/components/eval-stats.ts:45–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 private refresh() {
46 const elapsed = this.startTime === null ? '0s' : formatElapsed(this.startTime);
47 this.statsText.setText(
48 `${theme.success(`✓ ${this.correct} correct`)} ${theme.error(
49 `✗ ${this.incorrect} incorrect`,
50 )} ${theme.muted(`⏱ ${elapsed}`)}`,
51 );
52 }
53
54 private ensureTimer() {
55 if (this.timer) {

Callers 2

setStatsMethod · 0.95
ensureTimerMethod · 0.95

Calls 3

formatElapsedFunction · 0.85
setTextMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected