Skip to main content

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_KEY with 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

  1. Calls your vibe function with the provided arguments.
  2. Sends a prompt to GPT-5 with the function call, vibe result and arguments.
  3. Asks GPT-5 to respond with a boolean (True or False) if the output is correct.
  4. Parses and returns the AI's response.

Requirements

  • Python 3.10+
  • Valid OpenAI API key set in environment variable OPENAI_API_KEY

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vibe_check_it-0.1.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vibe_check_it-0.1.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file vibe_check_it-0.1.3.tar.gz.

File metadata

  • Download URL: vibe_check_it-0.1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vibe_check_it-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6ed30c8b513f536395f5f17c4fcc34d0e7aa0805deea7e81f14907a0e8907c0b
MD5 9170e6fb433d97fe8ec662cb8c219715
BLAKE2b-256 72262f65263e6a4aa947af1c30b69ec8ae9f44a2746de151eac2d3c6b258bd30

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibe_check_it-0.1.3.tar.gz:

Publisher: publish.yaml on divakaivan/vibe-check-it

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vibe_check_it-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: vibe_check_it-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vibe_check_it-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5293422b2f20da89191b0009da887631588e181a4431281703c142f836d3da05
MD5 a9a5997adf3f7064cad7e0426b6921fb
BLAKE2b-256 702c4343be8cd272856c4a01026446cc0064f0c4150de10825a7494080d1cc88

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibe_check_it-0.1.3-py3-none-any.whl:

Publisher: publish.yaml on divakaivan/vibe-check-it

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page