As a non technical product owner I realized so far that the nature of ML tasks is a bit different than front or backend tasks. I've been struggling to write a definition of done for ML tasks. so far we separated the research/prototype phase from implementation on the product. even though it helped a bit to understand if something is feasible at all or how it is going to get implemented one problem which remained unsolved was how long the implementation is going to take. and we have a necessity on time to market and cant afford to have forever ongoing tasks. How can I write appropriate definition of done for ML tasks which will consider the nature of its work and doesn't have a open ending?
4Why are you, as a Product Owner, trying to write the Definition of Done? The first place to look is an organizational standard for what it means to be Done. Beyond this, it is the responsibility of the whole Scrum Team. Where are the Developers and Scrum Master in helping to define what makes sense for a Definition of Done today?– Thomas Owens ♦Jan 11 at 16:52
@ThomasOwens thank you for your response. maybe I didn't deliver what I wanted in my question. what I'm really looking for is to find a practice to recommend to them so they can write it themselves. I know I don't have enough expertise to help them but I'm sure there must be a way to empower them. if you have any recommendation that can help specifically an ML specialist or a ML base team to define definition of done or definition of ready for their technical task id be more than thankful to hear from you.– EvaaJan 13 at 9:28
What problems is the team having in crafting a Definition of Done? Does everyone understand what a Definition of Done is and what value it adds? I've never had a team that struggled to craft a Definition of Done once everyone understood what it was and why having one helps.– Thomas Owens ♦Jan 13 at 17:32
Currently, you likely lack sufficiently-thin vertical slices for your Increments. Without that, it will be hard to define a meaningful Definition of Done or perform proper dependency planning.– Todd A. Jacobs ♦Jan 15 at 9:58
What a "Definition of Done" Should Accomplish
Ideally, a good Definition of Done has three related goals:
- Encapsulate the baseline criteria and routine activities required for each Increment to be successfully delivered.
- A clear description of how each specific Increment will be evaluated, allowing the team to plan against the evaluation criteria during Sprint Planning, and continuously assess their progress towards the Sprint Goal throughout the remainder of the Sprint.
- Ensure the Scrum Team remains aligned on delivering a potentially-shippable Increment at the end of each Sprint.
If the team isn't planning with testable criteria in mind then they are unlikely to deliver a coherent Increment that is fit for purpose. Even if you aren't practicing test-first development, you should at least be practicing test-first planning by having a set of invariant requirements that will apply to all Increments.
Breaking Down the DoD Goals
The first item is typical quality control stuff. As generic examples, most Definitions of Done will include variations on things like:
- The Increment will have unit tests for all new code.
- The Increment will have executable documentation in the form of behavioral tests written in clear Business language,
- The Increment will be successfully tested in the QA environment.
- The Increment will exhibit no regressions.
- The Increment will meet the Sprint Goal defined during Sprint Planning.
In other words, these elements will be the same regardless of the current Sprint Goal or the Increment being developed. They are the minimum, invariant success criteria for all work.
The second goal of the Definition of Done will be more specific to each particular Increment. Since an Increment should be a thin vertical slice, the Sprint Goal should reflect a measurable objective that can be tested.
For example, if the current Sprint Goal is to deliver a data set for use in modeling during a future Sprint, then the Definitin of Done for the Increment might include:
- Determining the optimum size of the data set.
- Defining how the data will be stored and retrieved.
- Documenting the procedures for loading the data set, including data cleansing and any ETL work that may be required.
- Developing executable tests to validate each of the items above.
Unless the whole team is working together with a clear definition of success for the current Iteration, the Sprint will lack coherence and the Increment will likely be untestable or unshippable at the end of the Sprint.
Each Sprint must have a singular Sprint Goal that provides a central coherence for the Increment. The success criteria for the current Increment (above and beyond the generic "doneness" required for all Increments) must be clearly articulated as part of Sprint Planning.
The whole team must agree on what "done" means for the current Increment. This enables them to collaborate on the testable Definitions of Done for the potentially-shippable elements that collectively comprise the current Increment. It also helps the team align on what needs to be done to ensure the functionality of the Increment is testable, and that all planning is based on passing the tests defined within the Definition of Done.
Without this alignment, and without all team members thinking about dependencies and tests before work on the Increment begins, the ability of the team to synchronize during the Sprint will be compromised. The Definition of Done is not only there for quality control, but is also an essential part of helping the team to decompose work and communicate effectively about how to track the effectiveness of the Sprint and the suitability of the Increment during both planning and development.
2the Evaluation Criteria part really helped me thank you.– EvaaJan 17 at 11:09