UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

47 lines 1.37 kB
/** * Feedback Tracker — record before/after quality scores and accuracy * * Tracks quality score deltas from feedback iterations, calculates * accuracy (% positive deltas), and false positive rate. * Persists to `.aiwg/metrics/feedback/`. * * @module quality/feedback-tracker * @issue #148 */ export interface FeedbackRecord { id: string; artifactPath: string; agent: string; scoreBefore: number; scoreAfter: number; delta: number; improved: boolean; timestamp: string; category?: string; } export interface AccuracyMetrics { totalRecords: number; positiveDeltas: number; negativeDeltas: number; zeroDeltas: number; accuracy: number; falsePositiveRate: number; averageDelta: number; medianDelta: number; } export declare class FeedbackTracker { private feedbackDir; private records; private nextId; constructor(projectPath: string); recordFeedback(artifactPath: string, agent: string, scoreBefore: number, scoreAfter: number, category?: string): Promise<FeedbackRecord>; calculateAccuracy(options?: { agent?: string; category?: string; }): AccuracyMetrics; getAgentAccuracy(): Map<string, AccuracyMetrics>; load(): Promise<void>; private persist; getAllRecords(): FeedbackRecord[]; } //# sourceMappingURL=feedback-tracker.d.ts.map