Check if your vibe functions are correctly vibing
Project description
vibe-check-it
How many times have you asked ChatGPT a question, received an answer, then asked “Are you sure?” — only for ChatGPT to give a different response? This package is designed for exactly those moments.
vibe-check-it is a lightweight Python utility that uses GPT-5 to verify the correctness of your vibe functions' outputs. Pass any function call and its result, and it will ask the AI, “Are you sure this output is correct?” — returning a Python boolean (True or False).
Installation
pip install vibe-check-it
Note: Requires an environment variable
OPENAI_API_KEYwith your OpenAI API key.
Usage
from vibesort import vibesort
from vibe_check_it import vibe_check_it
is_correct = vibe_check_it(vibesort, [2,3,4,1])
print(f"Output is correct? {is_correct}") # True or False
How it works
- Calls your vibe function with the provided arguments.
- Sends a prompt to GPT-5 with the function call, vibe result and arguments.
- Asks GPT-5 to respond with a boolean (
TrueorFalse) if the output is correct. - Parses and returns the AI's response.
Requirements
- Python 3.10+
- Valid OpenAI API key set in environment variable
OPENAI_API_KEY
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vibe_check_it-0.1.2.tar.gz.
File metadata
- Download URL: vibe_check_it-0.1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53e9d7043d1836d9c4c2701543ae08269e4b83c390927c4b52e056a6cc353e1a
|
|
| MD5 |
53cce4ba433dd695793480095b4ff3d9
|
|
| BLAKE2b-256 |
997e6ac3633e802b0e9d0e23bbf043fa22d053dc438a776a5f797b8888223874
|
File details
Details for the file vibe_check_it-0.1.2-py3-none-any.whl.
File metadata
- Download URL: vibe_check_it-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b7131c8a009f7d832f1d16318a757c1898359da58a9f3c25a1b270575c3bf5
|
|
| MD5 |
cfd00b67d1935623551d311b0d1d79a3
|
|
| BLAKE2b-256 |
37d62d5c7db9bf4cfad31c2883e4a858fcbd06b6191b1cb0241e7f807fa6003a
|