This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
probe_openrouter_variance.py | |
Call a Chat Completions–compatible endpoint multiple times to probe response | |
variance, then write a JSONL file and print a small summary. | |
Works with OpenRouter by default, but you can point it at any OpenAI-compatible | |
base URL and choose which environment variable provides the API key. |