Skip to main content

Code quality Coverage Docs SPEC 0 Python versions PyPI Release Commits License LinkedIn arXiv

GLIDE Logo

GLIDE

Generated Label Inference & Debiasing Engine

🧭 What is GLIDE?

GLIDE is a Python library for rigorous evaluation of GenAI systems using hybrid human/proxy annotations.

GLIDE implements methods from the field of prediction-powered inference — the science of system evaluation that combines a small set of labeled data with a large set of proxy-labeled data to produce valid, debiased estimates. See the implemented algorithms below.

Prediction-powered inference schema

🤔 Why GLIDE?

  • 🤖 GenAI applications are everywhere — and imperfect. Deployed systems make mistakes, and measuring how often matters.
  • ⚖️ LLM-as-judge is biased. Proxy evaluators (models, heuristics) are cheap but systematically over- or under-estimate true performance.
  • 🧑 Rigorous evaluation requires a human in the loop. Ground-truth labels from humans are expensive, so only a small subset is feasible.
  • 📐 GLIDE bridges the gap. It combines a small set of human annotations with a large set of proxy predictions to produce statistically valid metrics — correcting proxy bias without requiring full human labeling.

⚡ Quick Start

Install the package with your favorite package manager :

uv add glide-py

or

pip install glide-py

And look at our practical quickstart.

📚 Documentation

Explore the full documentation — from practical tutorials and user guides to scientific deep dives into the methods behind GLIDE.

🤝 Contributing

Contributions are welcome! Please read the contributing guide for setup instructions, an architectural overview, and the checklist to follow before opening a pull request. Feel free to open an issue to report a bug or suggest a feature.

🔢 Versioning

This project follows Semantic Versioning (SemVer): MAJOR.MINOR.PATCH.

📦 Dependency Support

This project follows SPEC 0 for dependency support windows.

📄 License & Citation

This project is licensed under the Apache 2.0 License.

If you use GLIDE in your work, please cite us using the "Cite this repository" button on the GitHub repository page.

📚 Implemented Algorithms

Samplers

Name Class Reference Paper(s) Original Implementation
Stratified Sampling samplers.StratifiedSampler [4] Link
Active Sampling samplers.ActiveSampler [5], [6] Link
Cost-Optimal Sampling samplers.CostOptimalSampler [8] —
Cost-Optimal Random Sampling samplers.CostOptimalRandomSampler [8] —

Estimators

Name Class Reference Paper(s) Original Implementation
Prediction-Powered Inference estimators.PPIMeanEstimator (with power_tuning=False) [1] Link
PPI++ estimators.PPIMeanEstimator [2] Link
Stratified Prediction-Powered Inference estimators.StratifiedPPIMeanEstimator [3] —
Clustered Prediction-Powered Inference estimators.ClusteredPPIMeanEstimator — Link
Multi-Proxy Prediction-Powered Inference estimators.MultiPPIMeanEstimator [9] Link
Active Statistical Inference estimators.ASIMeanEstimator [5], [6] Link
Predict-Then-Debias estimators.PTDMeanEstimator [7] Link
Stratified Predict-Then-Debias estimators.StratifiedPTDMeanEstimator [7] Link
Multi-Proxy Predict-Then-Debias estimators.MultiPTDMeanEstimator [7], [9] —
Clustered Predict-Then-Debias estimators.ClusteredPTDMeanEstimator [7] Link
IPW Predict-Then-Debias estimators.IPWPTDMeanEstimator [7] Link

Monitors

Name Class Reference Paper(s) Original Implementation
Asymptotic Prediction-Powered Risk Monitoring monitors.AsymptoticPPRM [10], [11], [12] —
Asymptotic Multi-Proxy Prediction-Powered Risk Monitoring monitors.AsymptoticMultiPPRM [9], [10], [11], [12] —

📖 References

[1] Angelopoulos, Anastasios N., Stephen Bates, Clara Fannjiang, Michael I. Jordan, and Tijana Zrnic. "Prediction-powered inference." Science 382, no. 6671 (2023): 669-674.

[2] Angelopoulos, Anastasios N., John C. Duchi, and Tijana Zrnic. "PPI++: Efficient prediction-powered inference." arXiv preprint arXiv:2311.01453 (2023).

[3] Fisch, Adam, Joshua Maynez, R. Alex Hofer, Bhuwan Dhingra, Amir Globerson, and William W. Cohen. "Stratified prediction-powered inference for effective hybrid evaluation of language models." Advances in Neural Information Processing Systems 37 (2024): 111489-111514.

[4] Fogliato, Riccardo, Pratik Patil, Mathew Monfort, and Pietro Perona. "A framework for efficient model evaluation through stratification, sampling, and estimation." In European Conference on Computer Vision, pp. 140-158. Cham: Springer Nature Switzerland, 2024.

[5] Zrnic, Tijana, and Emmanuel J. Candès. "Active statistical inference." In Proceedings of the 41st International Conference on Machine Learning, pp. 62993-63010. 2024.

[6] Gligorić, Kristina, Tijana Zrnic, Cinoo Lee, Emmanuel Candes, and Dan Jurafsky. "Can unconfident LLM annotations be used for confident conclusions?" In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 3514-3533. 2025.

[7] Kluger, Dan M., Kerri Lu, Tijana Zrnic, Sherrie Wang, and Stephen Bates. "Prediction-powered inference with imputed covariates and nonuniform sampling." arXiv preprint arXiv:2501.18577 (2025).

[8] Angelopoulos, Anastasios N., Jacob Eisenstein, Jonathan Berant, Alekh Agarwal, and Adam Fisch. "Cost-optimal active ai model evaluation." arXiv preprint arXiv:2506.07949 (2025).

[9] Shan, Jiawei, Zhifeng Chen, Yiming Dong, Yazhen Wang, and Jiwei Zhao. "SADA: Safe and Adaptive Aggregation of Multiple Black-Box Predictions in Semi-Supervised Learning." arXiv preprint arXiv:2509.21707 (2025)..

[10] Zhang, Guangyi, Yunlong Cai, Guanding Yu, and Osvaldo Simeone. "Prediction-Powered Risk Monitoring of Deployed Models for Detecting Harmful Distribution Shifts." arXiv preprint arXiv:2602.02229 (2026).

[11] Podkopaev, Aleksandr, and Aaditya Ramdas. "Tracking the risk of a deployed model and detecting harmful distribution shifts." International Conference on Learning Representations (ICLR), 2022.

[12] Waudby-Smith, Ian, David Arbour, Ritwik Sinha, Edward H. Kennedy, and Aaditya Ramdas. "Time-uniform central limit theory and asymptotic confidence sequences." The Annals of Statistics 52, no. 6 (2024): 2613-2640.

📬 Stay Updated

Follow our LinkedIn newsletter for updates on GLIDE and GenAI evaluation.

🏛️ Affiliation

Developed at Emerton Data.

Emerton Data

Metadata

Release files for glide-py 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glide-py 0.11.0
File Size Uploaded Provenance
glide_py-0.11.0.tar.gz 5.6 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for glide-py 0.11.0
File Interpreter ABI Platform
glide_py-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 MB

Release files / glide_py-0.11.0.tar.gz

Download URL glide_py-0.11.0.tar.gz
Size 5.6 MB
Tags Source
SHA-256 checksum
How to use checksums
186f6b843f26506d3bade2fafef74346fcd67103c6b7539b125926d86ca64266
BLAKE2b-256 checksum
How to use checksums
e8202eaa509d811800d6b042b3c542dc84896bd34fc07b289da4c99836f11075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release files / glide_py-0.11.0-py3-none-any.whl

Download URL glide_py-0.11.0-py3-none-any.whl
Size 108.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a47278ae54d9e04b1b63559d04cee28e797658e1990168f65c25deb4a0b9e7d2
BLAKE2b-256 checksum
How to use checksums
3e7936bf001a8079d32931b906209c0faaa8d6cbe183b0536ee0a5166fa67133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Security for glide-py 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for glide_py-0.11.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page