To maintain high quality across all LlamaIndex integrations, we periodically review packages for staleness. Packages marked as "stale" are moved to a stale_packages
branch but remain published on PyPI. This policy ensures that our main branch contains only well-maintained, tested integrations while preserving access to historical integrations.
Packages are evaluated using an automated health check that considers:
-
Test Coverage (50% of score)
- Full credit (1.0): 5+ test functions
- Partial credit (0.5): 2-4 test functions
- No credit (0.0): 0-1 test functions
-
Download Activity (40% of score)
- Measured relative to llama-index-core
- Considers monthly download counts
- Weighted towards recent activity
-
Commit Activity (10% of score)
- Measured relative to llama-index-core
- Considers commit frequency and consistency
- Weighted towards recent commits
The resulting score is then used to determine the health of the package.
A package may be moved to the stale_packages
branch if:
- It has a low health score (typically below 0.005)
- AND lacks adequate test coverage
- OR has known breaking issues that haven't been addressed
The final decision to mark a package as stale involves human review and is not purely automated.
When a package is marked as stale:
- The package code is moved to the
stale_packages
branch - Documentation is removed from the main documentation site
- The package remains published on PyPI
Any contributor can reactivate a stale package by:
- Creating a PR to move any package from the
stale_packages
branch tomain
- Ensuring the package has adequate test coverage (minimum 2 tests)
- Verifying that all tests pass
- Updating documentation as needed
If you maintain a package that has been marked as stale, or have questions about this policy:
- Open a GitHub issue for discussion
- Reach out to the maintainers on Discord
- Submit a PR to reactivate your package with improvements
We aim to be transparent and collaborative in maintaining package quality while preserving access to all integrations.