Section-level image suggestions (SLIS) leverages #section-topics plus [section alignment](https://gitlab.wikimedia.org/repos/structured-data/section-image-recs).
The exclusion of table and lists is currently implemented in the former component and the same behavior shall apply to the latter.
==Iteration 1==
- [x] duplicate {T323505} logic into section alignment
- [x] duplicate {T330848} logic into section alignment
==Iteration 2==
- [] refactor duplicate logic into a shared component
NOTE: depending on time constraints, we may leave iteration 2 behind. This slightly increases the technical debt, since duplicate code is less maintainable and elegant.
NOTE: we’ll consider direct refactoring rather than duplication if duplication turns out to be non-trivial.
==Report==
Snapshot: `2023-03-06`
{T330848} resulted in the following counts of **pages** that have suggestions:
| **wiki** | **[before](https://gitlab.wikimedia.org/repos/structured-data/section-image-recs/-/tree/307b5d1d246a8fb172d1ec71a7000ec66f822625)** | **[after](https://gitlab.wikimedia.org/repos/structured-data/section-image-recs/-/tree/7dd8716fc83cb973759dd5d00328a1a1a44132e8)** | **difference** |
| arwiki| 97,471| 87,268| 10,203|
| bnwiki| 30,869| 28,838| 2,031|
| cswiki|145,642|133,153| 12,489|
| eswiki|386,910|319,369| 67,541|
| idwiki| 83,939| 75,186| 8,753|
| ptwiki|192,969|164,361| 28,608|
| ruwiki|342,254|306,713| 35,541|
| overall | 1,280,054 | 1,114,888 | 165,166 (**- 13%**) |
{T323505} resulted in the following counts of **pages** that have suggestions:
| **wiki** | **[before](https://gitlab.wikimedia.org/repos/structured-data/section-image-recs/-/tree/7dd8716fc83cb973759dd5d00328a1a1a44132e8)** | **[after](https://gitlab.wikimedia.org/repos/structured-data/section-image-recs/-/tree/17fc1565f4e6ef9b5ca690629578c73c66395673)** | **difference**
| arwiki| 87,268| 45,342| 41,926|
| bnwiki| 28,838| 16,145| 12,693|
| cswiki|133,153| 71,622| 61,531|
| eswiki|319,369|178,181| 141,188|
| idwiki| 75,186| 30,670| 44,516|
| ptwiki|164,361| 91,363| 72,998|
| ruwiki|306,713|175,109| 131,604|
| overall | 1,114,888 | 608,432 | 506,456 (**- 45%**) |
===Summary===
The total decrease of pages with at least one suggestion is **- 52%** .