labelMap top-level constant

Map<String, String> const labelMap

Label map for cleaning up category names (matching Python reference).

Implementation

const Map<String, String> labelMap = {
  // Goal categories
  'debug_investigate': 'Debug/Investigate',
  'implement_feature': 'Implement Feature',
  'fix_bug': 'Fix Bug',
  'write_script_tool': 'Write Script/Tool',
  'refactor_code': 'Refactor Code',
  'configure_system': 'Configure System',
  'create_pr_commit': 'Create PR/Commit',
  'analyze_data': 'Analyze Data',
  'understand_codebase': 'Understand Codebase',
  'write_tests': 'Write Tests',
  'write_docs': 'Write Docs',
  'deploy_infra': 'Deploy/Infra',
  'warmup_minimal': 'Cache Warmup',
  // Success factors
  'fast_accurate_search': 'Fast/Accurate Search',
  'correct_code_edits': 'Correct Code Edits',
  'good_explanations': 'Good Explanations',
  'proactive_help': 'Proactive Help',
  'multi_file_changes': 'Multi-file Changes',
  'handled_complexity': 'Multi-file Changes',
  'good_debugging': 'Good Debugging',
  // Friction types
  'misunderstood_request': 'Misunderstood Request',
  'wrong_approach': 'Wrong Approach',
  'buggy_code': 'Buggy Code',
  'user_rejected_action': 'User Rejected Action',
  'neomage_got_blocked': 'Neomage Got Blocked',
  'user_stopped_early': 'User Stopped Early',
  'wrong_file_or_location': 'Wrong File/Location',
  'excessive_changes': 'Excessive Changes',
  'slow_or_verbose': 'Slow/Verbose',
  'tool_failed': 'Tool Failed',
  'user_unclear': 'User Unclear',
  'external_issue': 'External Issue',
  // Satisfaction labels
  'frustrated': 'Frustrated',
  'dissatisfied': 'Dissatisfied',
  'likely_satisfied': 'Likely Satisfied',
  'satisfied': 'Satisfied',
  'happy': 'Happy',
  'unsure': 'Unsure',
  'neutral': 'Neutral',
  'delighted': 'Delighted',
  // Session types
  'single_task': 'Single Task',
  'multi_task': 'Multi Task',
  'iterative_refinement': 'Iterative Refinement',
  'exploration': 'Exploration',
  'quick_question': 'Quick Question',
  // Outcomes
  'fully_achieved': 'Fully Achieved',
  'mostly_achieved': 'Mostly Achieved',
  'partially_achieved': 'Partially Achieved',
  'not_achieved': 'Not Achieved',
  'unclear_from_transcript': 'Unclear',
  // Helpfulness
  'unhelpful': 'Unhelpful',
  'slightly_helpful': 'Slightly Helpful',
  'moderately_helpful': 'Moderately Helpful',
  'very_helpful': 'Very Helpful',
  'essential': 'Essential',
};