fabricatio_improve.models.problem
A class representing a problem-solution pair identified during a review process.
Classes
Represents a problem identified during review. |
|
Represents a proposed solution to a problem. |
|
Represents a problem-solution pair identified during a review process. |
Module Contents
- class fabricatio_improve.models.problem.Problem(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAble,fabricatio_core.models.generic.WithBriefingRepresents a problem identified during review.
- description: str = None
The cause of the problem, including the root cause, the context, and the impact, make detailed enough for engineer to understand the problem and its impact.
- class fabricatio_improve.models.problem.Solution(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAble,fabricatio_core.models.generic.WithBriefingRepresents a proposed solution to a problem.
- description: str = None
Description of the solution, including a detailed description of the execution steps, and the mechanics, principle or fact.
- execute_steps: List[str]
A list of steps to execute to implement the solution, which is expected to be able to finally solve the corresponding problem, and which should be an Idiot-proof tutorial.
- class fabricatio_improve.models.problem.ProblemSolutions(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAbleRepresents a problem-solution pair identified during a review process.
- solutions: List[Solution]
A collection of potential solutions, spread the thought, add more solution as possible.Do not leave this as blank
- model_post_init(context: Any, /) None
Initialize the problem-solution pair with a problem and a list of solutions.
- update_from_inner(other: Self) Self
Update the current instance with another instance’s attributes.
- async edit_problem() Self
Interactively edit the problem description.
- async edit_solutions() Self
Interactively edit the list of potential solutions.