For any update to the stubs, we require an associated test case that should fail without a proposed change, and works with a proposed change. See https://github.com/pandas-dev/pandas-stubs/tree/main/tests/ for examples.
The stubs are developed with a certain philosophy that should be understood by developers proposing changes to the stubs.
Instructions for working with the code are found here: