10clouds / 10minions-vscode

Your Army of GPT-4 Powered Coding Buddies (Boost Your Productivity)
https://marketplace.visualstudio.com/items?itemName=10Clouds.10minions
MIT License
2 stars 0 forks source link

Refactor config.ts code test is failing #175

Closed maciejt10c closed 1 year ago

maciejt10c commented 1 year ago

it is hard to identify what is happening for sure it takes incorrect code to replace: it takes

export const STAGES = [
  {
    name: "Starting ...",
    weight: 10,
    execution: stageStarting,
  },
  {
    name: "Understanding ...",
    weight: 50,
    execution: stageClassifyTask,
  },
  {
    name: "Conceptualising ...",
    weight: 100,
    execution: stageCreateModification,
  },
  {
    name: "Preparing Changes ...",
    weight: 80,
    execution: stageCreateModificationProcedure,
  },
  {
    name: "Finishing ...",
    weight: 10,
    execution: stageFinishing,
  },
];

but it should be

export const STAGES = [
  {
    name: "Starting ...",
    weight: 10,
    execution: stageStarting,
  },
  {
    name: "Understanding ...",
    weight: 50,
    execution: stageClassifyTask,
  },
  {
    name: "Conceptualising ...",
    weight: 100,
    execution: stageCreateModification,
  },
  {
    name: "Preparing Changes ...",
    weight: 80,
    execution: stageCreateModificationProcedure,
  },
  /*{
    name: "Applying Changes ...",
    weight: 10,
    execution: stageApplyModificationProcedure,
  },
  {
    name: "Preparing Changes (retry) ...",
    weight: 40,
    execution: stageCreateModificationProcedure,
  },
  {
    name: "Applying Changes (retry) ...",
    weight: 10,
    execution: stageApplyModificationProcedure,
  },
  {
    name: "Applying changes as comment (fall back) ...",
    weight: 10,
    execution: stageFallingBackToComment,
  },*/
  {
    name: "Finishing ...",
    weight: 10,
    execution: stageFinishing,
  },
];