cos_learn_extract
Analyze task outcomes to detect recurring patterns like domain rework, skill correlation, and complexity mismatch, then store them with confidence scores based on occurrence thresholds.
Instructions
Scan task outcomes to discover recurring patterns.
Detects domain_rework, skill_correlation, and complexity_mismatch patterns. Inserts new patterns into learned_patterns with calculated confidence.
Args: min_occurrences: Minimum occurrences to consider a pattern (default 3).
Returns: str: JSON with extracted patterns list and analysis stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_occurrences | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |