MCPcopy
hub / github.com/FreezingMoon/AncientBeast / Variant

Interface Variant

src/__tests__/simulation/suggester.ts:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import type { MatchResult } from './botgeria';
8import { aggregateMetrics, isSignificantlyBetter, formatMetrics, QualityMetrics } from './stats';
9export interface Variant {
10 /** Human-readable label, also used in suggestions output. */
11 label: string;
12 /** Apply the patch — returns a cleanup function that restores originals. */
13 patch(game: Record<string, unknown>): () => void;
14 /** Code snippet to emit when this variant is better than baseline. */
15 suggestion: string;
16}
17
18export const variants: Variant[] = [
19 // stalePendingActionMs — higher (more patient)

Callers 1

version.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected