mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-07-21 18:33:22 -07:00
348c8ed7b2
- Add UserFeedback type (rating 1-10, reason, went well, went poorly) - Collector parses ## User Feedback table from overview.md - Aggregator computes avg_user_rating and feedback_count per cohort - CLI offers interactive feedback collection with pipe-safe escaping - Finalize prompt collects optional feedback as Step 5 (before archival) - Analysis/improvement prompts reference avg_user_rating metric target
20 lines
730 B
TypeScript
20 lines
730 B
TypeScript
// Public API for plan2code-metrics
|
|
export { collectRun, collectPromptVersions } from './collector.js';
|
|
export { aggregate, loadAggregated, loadRunFiles, importRun } from './aggregator.js';
|
|
export { runAnalysis } from './analyzer.js';
|
|
export { generateImprovement, validateEdit, parseProposalFromResponse } from './improver.js';
|
|
export { reviewAndApply } from './applier.js';
|
|
export { invokeLLM, AGENTS } from './invoke-llm.js';
|
|
export type { AgentType, InvokeLLMOptions } from './invoke-llm.js';
|
|
export { runCLI } from './cli.js';
|
|
export { METRIC_TARGETS } from './types.js';
|
|
export type {
|
|
RunMetrics,
|
|
UserFeedback,
|
|
PromptVersions,
|
|
PromptEdit,
|
|
PromptProposal,
|
|
AggregatedMetrics,
|
|
CohortMetrics,
|
|
} from './types.js';
|