{
  "description": "Configurable scoring weights for quality evaluation system",
  "version": "1.0",
  "last_updated": "2025-10-10",

  "composite_weights": {
    "description": "Weights for calculating composite score from dimension scores",
    "technical_quality": 0.35,
    "creativity_score": 0.35,
    "spec_compliance": 0.30,
    "note": "Weights must sum to 1.0"
  },

  "technical_dimension_weights": {
    "description": "Sub-dimension weights within technical quality (sum to 100)",
    "code_quality": 25,
    "architecture": 25,
    "performance": 25,
    "robustness": 25
  },

  "creativity_dimension_weights": {
    "description": "Sub-dimension weights within creativity score (sum to 100)",
    "originality": 25,
    "innovation": 25,
    "uniqueness": 25,
    "aesthetic": 25
  },

  "compliance_dimension_weights": {
    "description": "Sub-dimension weights within spec compliance (sum to 100)",
    "requirements_met": 40,
    "naming_conventions": 20,
    "structure_adherence": 20,
    "quality_standards": 20
  },

  "scoring_thresholds": {
    "description": "Score thresholds for quality level categorization",
    "exceptional": {
      "min": 90,
      "label": "Exceptional",
      "description": "Excellence across all dimensions"
    },
    "excellent": {
      "min": 80,
      "label": "Excellent",
      "description": "Strong performance in all areas"
    },
    "good": {
      "min": 70,
      "label": "Good",
      "description": "Solid performance, meets expectations well"
    },
    "adequate": {
      "min": 60,
      "label": "Adequate",
      "description": "Meets basic requirements"
    },
    "needs_improvement": {
      "min": 50,
      "label": "Needs Improvement",
      "description": "Below expectations, significant weaknesses"
    },
    "insufficient": {
      "min": 0,
      "label": "Insufficient",
      "description": "Does not meet standards"
    }
  },

  "ranking_percentiles": {
    "description": "Percentile cutoffs for ranking segments",
    "exemplary": {
      "percentile": 80,
      "label": "Exemplary (Top 20%)",
      "description": "Top tier iterations demonstrating excellence"
    },
    "proficient": {
      "percentile": 50,
      "label": "Proficient (30th-50th percentile)",
      "description": "Above average quality"
    },
    "adequate": {
      "percentile": 20,
      "label": "Adequate (50th-80th percentile)",
      "description": "Meets expectations"
    },
    "developing": {
      "percentile": 0,
      "label": "Developing (Bottom 20%)",
      "description": "Learning opportunities for improvement"
    }
  },

  "alternative_weight_profiles": {
    "description": "Pre-defined alternative weight configurations for different priorities",

    "technical_focus": {
      "description": "Emphasize technical excellence over creativity",
      "composite_weights": {
        "technical_quality": 0.50,
        "creativity_score": 0.25,
        "spec_compliance": 0.25
      }
    },

    "creative_focus": {
      "description": "Emphasize creative innovation over technical",
      "composite_weights": {
        "technical_quality": 0.25,
        "creativity_score": 0.50,
        "spec_compliance": 0.25
      }
    },

    "compliance_focus": {
      "description": "Emphasize spec adherence for standardization",
      "composite_weights": {
        "technical_quality": 0.30,
        "creativity_score": 0.25,
        "spec_compliance": 0.45
      }
    },

    "balanced_equal": {
      "description": "Equal weight to all three dimensions",
      "composite_weights": {
        "technical_quality": 0.333,
        "creativity_score": 0.333,
        "spec_compliance": 0.334
      }
    },

    "innovation_priority": {
      "description": "For exploratory projects prioritizing innovation",
      "composite_weights": {
        "technical_quality": 0.20,
        "creativity_score": 0.60,
        "spec_compliance": 0.20
      }
    },

    "production_ready": {
      "description": "For production code requiring reliability",
      "composite_weights": {
        "technical_quality": 0.50,
        "creativity_score": 0.15,
        "spec_compliance": 0.35
      }
    }
  },

  "evaluation_strictness": {
    "description": "Global strictness setting affects score calibration",
    "current": "balanced",
    "options": {
      "lenient": {
        "description": "More forgiving scoring, encourages experimentation",
        "score_adjustment": "+5 to +10 points across dimensions"
      },
      "balanced": {
        "description": "Standard scoring, fair and consistent",
        "score_adjustment": "No adjustment"
      },
      "strict": {
        "description": "Rigorous scoring, high standards",
        "score_adjustment": "-5 to -10 points across dimensions"
      }
    }
  },

  "minimum_score_requirements": {
    "description": "Optional minimum scores per dimension to pass",
    "enabled": false,
    "technical_quality_min": 60,
    "creativity_score_min": 60,
    "spec_compliance_min": 60,
    "note": "If enabled, iterations below minimums receive reduced composite score"
  },

  "bonus_multipliers": {
    "description": "Optional score bonuses for exceptional multi-dimensional quality",
    "enabled": false,
    "triple_threat_bonus": {
      "description": "Bonus when all three dimensions exceed threshold",
      "threshold": 85,
      "bonus_points": 5,
      "reasoning": "Reward balanced excellence across all dimensions"
    },
    "perfect_compliance_bonus": {
      "description": "Bonus for perfect spec compliance",
      "threshold": 100,
      "bonus_points": 3,
      "reasoning": "Reward meticulous attention to requirements"
    }
  },

  "quality_trend_tracking": {
    "description": "Settings for tracking quality improvement over waves",
    "enabled": true,
    "track_wave_over_wave_improvement": true,
    "improvement_target_per_wave": 5,
    "note": "Target is mean composite score increase per wave in infinite mode"
  },

  "usage_instructions": {
    "how_to_apply": "Load this config when running /project:infinite-quality",
    "override_weights": "Specify custom config path as 4th parameter",
    "example_command": "/project:infinite-quality specs/example_spec.md output/ 10 config/custom_weights.json",
    "validation": "System validates weights sum correctly before use"
  },

  "notes": [
    "Default configuration balances technical, creative, and compliance equally",
    "Adjust weights based on project priorities and goals",
    "Alternative profiles provide common configurations",
    "All weights are expressed as decimals (0.0 to 1.0) or percentages (0 to 100)",
    "System will validate configuration before applying",
    "Custom configurations can be created by copying and modifying this file"
  ]
}
