As part of work on improving category selection in UW T383055, we want to know have baselines and measurements for categories. We are interested in monitoring whether there is an increase in category insertion before and after improvements to category selection, as well as general Describe step improvements that were done in Q4 FY23-24 as part of T358765
**Scope**
- Get data on how many categories are added on upload month over month
- Get data on % low-level categories (filter out root categories) that are added month over month
- Get data on newly created one page categories
---
Probable approach:
* compile a list of [hidden](https://commons.wikimedia.org/wiki/Category:Hidden_categories) / [maintenance](https://commons.wikimedia.org/wiki/Category:Maintenance_categories) categories
* script to listen to the [event stream](https://stream.wikimedia.org/?doc#/streams/get_v2_stream_mediawiki_page_create), then use api to gather non-hidden/maintenance categories for each new UW upload (and record it)
* keep file uploads that have edit tag ID = `12`, i.e., UW
* any non-hidden/maintenance category that has a wikidata item counts as a non-low-level category? or is there a way of telling if a category has no parent?
* instead of low-level categories, we might look at a measure like the average depth in the tree