How datadome/sliceline works
Project type and purpose
• Sliceline is an open-source Python library (packaged for PyPI) that implements the “SliceLine” algorithm for fast, linear‐algebra-based slice finding in ML model debugging.
• It is not a web app or microservice but a reusable library, with supporting demos, docs, CI/CD, and packaging.
File structure
• Top-level:
• .github/workflows: CI pipelines for testing, releases, documentation.
• docs/: Sphinx documentation source, ReadTheDocs integration.
• notebooks/: Jupyter tutorials demonstrating library usage.
• sliceline/: core Python package—slicefinder.py (API & algorithm), validation.py (input checks).
• tests/: pytest test suite and fixtures.
• setup files (pyproject.toml, setup.cfg, Makefile) for build, lint, packaging.
README for additional insights
• Confirms Python ≥3.10, pip installation, basic usage (fit, transform, top_slices_).
• Points to demo notebooks and the original research paper.
• Mentions packaging/publishing (PyPI wheels) and docs on ReadTheDocs.