Issue #3583744: Add AI-assisted scenario builder with domain generation.

Adds an AI-assisted workflow for authoring empathy scenarios, difficulty calibration, and an installable domain scenario pack.

  • ScenarioGeneratorService drafts a scenario (label, description, reference decision, context, difficulty) for a given domain/category via the AI provider, with robust JSON parsing.
  • AiEmpathyScenarioGenerateForm generates a draft, then loads it into fully editable review fields. AI output is never auto-saved: nothing is written to config until the author explicitly saves the reviewed scenario. Adds a "Generate Scenario with AI" local action to the scenario collection.
  • EmpathyCalibrationService computes per-scenario historical pass/fail rates against the configured thresholds and suggests raising or lowering difficulty when models pass or fail consistently. Surfaced on a new Difficulty Calibration report page; difficulty is never changed automatically.
  • Adds an optional generation_provider_model setting (falls back to the evaluation model).
  • Adds the ai_empathy_finance submodule: an installable pack of finance scenarios demonstrating domain-specific scenario bundles.
  • Adds unit, kernel and functional test coverage; updates README and the cspell word list.

Closes #3583744

Merge request reports

Loading