MCPcopy Index your code
hub / github.com/google/agents-cli / applyFix

Function applyFix

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

Source from the content-addressed store, hash-verified

808 }
809
810 function applyFix() {
811 cases = cases.map((c) =>
812 c.id === "no_runbook_match_should_escalate"
813 ? Object.assign({}, c, { passing: true, reason: undefined })
814 : c
815 );
816 fixed = true;
817 renderCases();
818 note.textContent = "Iteration #2 — all rubrics satisfied";
819 actionBtn.textContent = "↺ Replay the fix loop";
820 actionBtn.classList.add("lc-btn--ghost");
821 animateReveal();
822 }
823 function reset() {
824 cases = JSON.parse(JSON.stringify(EVAL_CASES_INITIAL));
825 fixed = false;

Callers 1

initEvalLoopFunction · 0.85

Calls 2

renderCasesFunction · 0.85
animateRevealFunction · 0.85

Tested by

no test coverage detected