MCPcopy Create free account
hub / github.com/google/agents-cli / reset

Function reset

docs/src/javascripts/lifecycle.js:823–831  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

821 animateReveal();
822 }
823 function reset() {
824 cases = JSON.parse(JSON.stringify(EVAL_CASES_INITIAL));
825 fixed = false;
826 renderCases();
827 note.textContent = "Iteration #1 — 1 case failing, 2 passing";
828 actionBtn.textContent = "Apply fix → re-run";
829 actionBtn.classList.remove("lc-btn--ghost");
830 setRevealed(1);
831 }
832 actionBtn.addEventListener("click", () => (fixed ? reset() : applyFix()));
833 }
834

Callers 1

initEvalLoopFunction · 0.85

Calls 2

renderCasesFunction · 0.85
setRevealedFunction · 0.85

Tested by

no test coverage detected