Skip to main content

Module feedback

Module feedback 

Source
Expand description

Evolution feedback collection and evaluation system (EVO-1).

Structs§

CoreMetrics
DecisionInput
Input for recording a decision. The agent converts its ExecutionFeedback to this.
JudgementSummary
RuleHistoryEntry
ToolExecDetail

Enums§

EvolutionJudgement
FeedbackSignal
User feedback signal for the last decision.

Functions§

build_latest_judgement
compute_core_metrics_for_date
compute_effectiveness
compute_egl
System-wide EGL based on global metrics for the current day.
compute_egl_for_rule
EGL (Evolutionary Grade Level) captures a single, combined score of “goodness” of a given rule or agent behavior. EGL = (first_success_rate * A) - (avg_replans * B) - (user_correction_rate * C) where A, B, C are configurable weights. A higher EGL indicates better performance.
compute_tool_sequence_key
Build a compact tool-sequence key from tools_detail (at most 3 tools joined by →). Used to group decisions by “what tool pattern was used” rather than raw task description. Example: [weather] → “weather”; [http-request, write_output] → “http-request→write_output”.
count_decisions_with_task_desc
Diagnostic: count unprocessed decisions with/without task_description. Evolution requires task_description to learn from decisions.
count_unprocessed_decisions
ensure_evolution_tables
fetch_latest_metrics
insert_decision
log_evolution_event
open_evolution_db
query_rule_history
update_daily_metrics
update_last_decision_feedback