Skip to main content

Measure share of model: run a buyer prompt against an AI engine repeatedly and report how often a brand appears versus competitors, with a confidence interval.

Project description

aeo-audit-lite

Does AI actually recommend your product? Run a buyer prompt against an AI engine several times and measure how often your brand shows up versus named competitors — your share of model — with a confidence interval.

A single ChatGPT screenshot proves nothing: AI answers are non-deterministic. This measures properly, the same way every time.

  • Zero dependencies — Python standard library only.
  • Mock mode by default — runs offline with illustrative numbers.
  • Bring your own key — set PERPLEXITY_API_KEY or OPENAI_API_KEY for real data.

Usage

Offline demo (no key needed):

python aeo_audit_lite.py --brand "Acme" --competitors "Datadog,Grafana,New Relic" \
  --prompt "best observability tool for a Series A startup" --runs 12 --mock

Real measurement:

export PERPLEXITY_API_KEY=pplx-...
python aeo_audit_lite.py --brand "Acme" --competitors "Datadog,Grafana" \
  --prompt "best APM for kubernetes" --runs 10 --engine perplexity

Example output

brand                       rate  95% CI           share
------------------------------------------------------------
Datadog                    10/12  [55.2–95.3%]   31.2%
Grafana                    10/12  [55.2–95.3%]   31.2%
New Relic                   8/12  [39.1–86.2%]   25.0%
Acme                        4/12  [13.8–60.9%]   12.5%  <- you

Your share of model: 12.5% (mentioned in 4 of 12 answers).

How it works

  1. Sends your prompt to the engine --runs times.
  2. Checks each answer for whole-word mentions of your brand and each competitor.
  3. Reports mention rate, a 95% Wilson confidence interval, and share of model (your mentions ÷ all brand mentions).

Why repeat the prompt?

LLMs sample their output — ask twice, get two answers. One run is a coin flip. Repeating and reporting the median/interval is the difference between data and vibes.

Options

Flag Meaning
--brand your product name (required)
--competitors comma-separated competitor names
--prompt the buyer question (required)
--runs number of repetitions (default 10)
--engine perplexity (default) or openai
--mock force offline mock mode

License

MIT © Clear Cited


This is the lite version. The full Clear Cited service measures dozens of prompts across every major engine (ChatGPT, Perplexity, Claude, Gemini, Google AI Overviews), with human QC and a fix roadmap. Get a free teardown →

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

aeo_audit_lite-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

aeo_audit_lite-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file aeo_audit_lite-0.1.0.tar.gz.

File metadata

  • Download URL: aeo_audit_lite-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aeo_audit_lite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 16ec62db26c59d9cfdbc492a2a64682f4a096c317dcb9f0909b298997078f9ba
MD5 559c8c05b7313669d7fe7b8b169d801b
BLAKE2b-256 a1c43d3ce87c0d5803cf8e1efe51487c4f3a5ff43466c8b4a7d60e013481d75b

See more details on using hashes here.

Provenance

The following attestation bundles were made for aeo_audit_lite-0.1.0.tar.gz:

Publisher: publish.yml on Clear-Cited/aeo-audit-lite

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

File details

Details for the file aeo_audit_lite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aeo_audit_lite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aeo_audit_lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6405e1450eec9525ead8ab93f63391a80f7a2d2bac4ba5d97fafd005aabb8519
MD5 9557758cea2434fbb080f9558d2cf1de
BLAKE2b-256 b54e6142881d1206def9a1fc83bdca1e2c3efb57c1215fb2eb2df2b8fa66217a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aeo_audit_lite-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Clear-Cited/aeo-audit-lite

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