Wikimedia Language engineering/Process Overview
Wikimedia Language Engineering - Agile Processes and Tools Used
[edit]Team Structure
[edit]Management
[edit]- Engineering Director
Product Definition and Prioritization
[edit]- Product Owner
Team Facilitation and Coordination
[edit]- Scrum Master
Development Team
[edit]- UX and Interaction Designers
- Senior Software Engineers
- Software Engineers
- Associate Software Engineers
Sprint Duration
[edit]- Each sprint is of 2 Weeks
- In exceptional cases like travel, the team can opt for a shorter or longer sprint.
- A shorter sprint is not less than 1 week
- A longer sprint is not more than 3 weeks
- The team has opted for breaks to be taken in between sprints, to coincide with the quarterly travel schedules that last between 7-10 days.
- Sprint change i.e. closing and planning happens on Tuesdays and Wednesdays, respectively of the sprint change week (unless a planned sprint break is to occur).
Planning and Development
[edit]Product and Release Backlog
[edit]- User requirements brought forward by the Product Owner are included as stories in the Product Backlog
- The team does not maintain a separate Technical Debt Backlog and technical stories (i.e. independent of any user feature) are also included in the Product Backlog (as they surface)
- The Release Backlog hasn't been heavily used in the past as the team worked on several products simultaneously
- Presently, the team identifies a release milestone (e.g. MVP for Content Translation) and uses a Release Backlog exclusively for this release
- Future Release is used as a catchall release for all stories that are beyond the scope of the Release Backlog
Story Refinement & Estimation
[edit]- Stories from the Release Backlog are refined and prepared for sprint planning
- Story refinement is done in 2 phases:
- Mid-sprint refinement
- Sprint Planning
- The Product Owner prioritises user feature stories from the Release Backlog. These stories are passed on to the development team for technical refinement. The Development team provides estimation
of size (Small, Medium, Large, Epic) and hoursas days of work for items that can have predictable estimations. - The Development team adds any Technical Debt stories that may be seen as necessary for the user feature stories
- The team presently does not use Estimation Points
and is waiting to recalibrate points according to size and hour based efforts. - Tasks within the stories (if necessary) are created
- Depending upon the nature of the story, this exercise may be done in a group or isolated
- The refined and prepared stories are brought to the Planning meeting for a round of final estimation check and inclusion into the sprint
- Stories are verified to ensure the following are present:
- Unambiguous Acceptance Criteria
Estimated size- Estimated
hoursdays/sprint time-frame for completion of the story (including all tasks)
Story Selection
[edit]- Due to
the ongoing point recalibration exerciselack of any estimation points, the team does not have a stable completion velocity. - Refined Stories are selected for the sprint based on priority
In an attempt to ensure uniformity in efforts, unless absolutely necessary stories are restricted to Medium and Small sizes.Few Large stories are presently being included in the sprint but their number will be further restricted based on observed trend of effort spent and completion status.- Bigger stories are marked as top-level tracking tickets and sub-tickets are prepared as per requirements
- A Development Buffer of refined stories is maintained as a priority set from the backlog
Sprint Closing and Retrospectives
[edit]- Unless otherwise specified, a sprint is completed after 2 weeks.
- The completed stories are demonstrated during the sprint closing meeting
- If unfinished stories are to be continued it can have 3 different follow-ups:
- it can be time-boxed to finish in the intermediary hours before the next sprint starts
- it can be taken to the next sprint. This is common practice for tickets that require us to work with other teams (external or internal to WMF) or deployment tickets that can follow a different timeline
- a new card is created from the existing card for inclusion in a subsequent sprint and information of its non-completion/additional work/follow-up ticket is added to the existing card. The existing card is then reviewed and closed.
- Sprint Retrospective consists of:
- action items from the past retrospective
- quick review of any important issues on any story (e.g. wrong estimation, unanticipated blockers, diversions etc.)
- sprint highlights
- suggestions for improvement
The following section is not used any more as the team uses Phabricator
[DEPRECATED] STORIESÂ : MINGLE DEFINITION & ASSOCIATED WORKFLOW
[edit]A story typically begins in the analysis phase, moves through the development and then the testing / review phases before being showcased to the team / end user and signed off.
A typical story transition is as shown below :
Ready for analysis -> In analysis -> Ready for Development -> In Development -> Ready for Testing -> In Testing -> Review -> Ready for sign off -> Accepted
Some of the important story properties as defined in Mingle are :
- Status â depicts where in the workflow, the story currently is
- Owner â the current owner of the story
- Priority â indicates the importance of the story.
- Story size âindicates the size of the story as small, medium or large. This property is meant to be used for early stage release planning when the team does not have complete details of all the requirements but do want to size the requirements and plan them. The size is indicative and is relative to the rest of the requirements. The story size can be used to come up with the development plan for the product to be released.
- Estimated effort(hrs) â captures the estimated effort in hours and is used for sprint planning. The requirements are analyzed and discussed in detail before the sprint commences and hence the team will be able to task out the requirements and estimate them in hours.
- Actual effort (hrs) â captures the actual effort spent on the story at every stage of the workflow. It is meant to capture the sum total of all efforts spent on a story including development, testing and review. It is the team memberâs onus to ensure the effort is cumulatively captured.
STORY TRANSITIONS / WORKFLOW as defined in Mingle ( Project management tool )
[edit]ANALYSIS PHASE
[edit]Transition : Ready for analysis -> In analysis
A story is typically created in the 'Ready for analysis' status and is moved to 'In analysis' status prior to the commencement of the sprint. This happens before the refinement sessions when the prioritized list of stories get allocated to the respective story owners who then start analyzing the stories. Refinement sessions are utilized for collaborating with a larger team to analyse, validate and if possible, estimate the requirements.
Mingle Related Transition Details :
The following two properties are prompted during this transition:
1. Priority  : High/medium/low ( Mandatory)
2. Epic story : ( Optional )
The Product owner should indicate the 'Priority' of the story if its not already done. Associating with the relevant 'Epic story' helps map requirements appropriately in the epic-feature-sub feature tree hierarchy.
Transition : In analysis -> Development buffer
Its common practice to have a few stories kept ready in the development buffer so as to ensure the team is engaged effectively when the work allocated is completed ahead of schedule.
Mingle related Transition details :
The following four properties are prompted during this transition:
- Owner : Assign the correct owner relevant to this stage of the workflow. ( Should be the developer for all development stories )
- Story size : Ideally this should already be captured but if not, system prompts for the size. ( If itâs a newly introduced story )
- Estimated effort (hrs )Â : This is not mandatory at this point but can be captured if the information is handy.
- Epic story: If you have missed associating it earlier, here is another chance to do so. ( Please note, it has not been mandatory as there will be stories without epics )
DEVELOPMENT PHASE
[edit]Transition: In analysis -> Ready for development
Transition: Development Buffer -> Ready for development
A story can be moved to 'Ready for development' status only if
- Analysis is complete and all the acceptance criteria is clearly defined and agreed to by the team.
- The estimated effort is captured.
The following four properties are prompted during this transition:
- Owner : Assign the correct owner relevant to this stage of the workflow. ( Should be the developer for all development stories )
- Story size : Ideally this should already be captured but if not, system prompts for the size. ( If itâs a newly introduced story )
- Estimated effort (hrs )Â : This is mandated at this point as the story is deemed ready for development.
- Epic story: If you have missed associating it earlier, here is another chance to do so. ( Please note, it has not been mandatory as there will be stories without epics )
Transition: Ready for Development -> In Development
A story once moved to Ready for development can be picked up for development. This transition prompts for owner to ensure the person working on the story is allocated.
POST DEVELOPMENT PHASE
[edit]Transition: In Development -> Ready for Testing
Once the Story development is done and is ready for testing, the story can be moved to Ready for testing and the transition prompts for Actual effort and handover of ownership for testing. Note that the actual effort captures the development effort for the story.
Transition: Ready for testing -> In testing
Transition moves card to in testing phase.
Transition: In testing -> Review
Post testing, when the card is moved to âREVIEWâ , the transition prompts for actual effort for testing and handover of ownership for the review phase. Please note the actual effort needs to be added onto as this field will already have the development effort.
Transition: Review -> Ready for sign off
Post review, when the card transitions to âReady for sign offâ, the transitions prompts for actual effort during the review phase.Please note the actual effort needs to be added onto the existing field as this field will already have the testing effort.
Transition: Ready for sign off -> Accepted
This is the final transition where the story is deemed done and moved to Accepted status.