User story & summary:
As a editor, I want to receive good image suggestions, because I'm more likely to make an edit that will be reverted if an image is suggested that is already added elsewhere in the article
Background:
This task is important because we expect structured tasks suggested to newcomers to be accurate >70% of the time. Image suggestions are less likely to be accurate if an image has been added to the article since the suggestion was generated.
We should clear the hasrecommendation:section_image flag for an article article if:
- someone edits the article to add an image to the article (anywhere in the document) without using the suggested edits interface
- someone edits the article to add a section-level image recommendation using the suggested edits interface
Acceptance Criteria:
Given there is an article with a hasrecommendation:section_image flag,
When:
- someone edits the article to add an image to the article (anywhere in the document) without using the suggested edits interface
- someone edits the article to add a section-level image recommendation using the suggested edits interface
Then the hasrecommendation:section_image flag is cleared for that article