SERVICE 05 · FIXED SCOPE

Quality checks for your AI feature

A test suite for a chatbot, an assistant or any feature built on a language model, built with llmcheck, the open-source tool I wrote for this: the facts it must get right, the things it must never say, run repeatedly so a flaky answer shows up, and wired into CI.

Updated 4 December 2026

TYPICAL TIME1.5 to 3.5 weeks
PRICEIn writing, before work starts
WORKINGRemote, from Islamabad (UTC+5)

The time comes from the same estimator as the hire page. I confirm or adjust it once I have read your brief.

What is in this piece of work

For: Teams shipping a chatbot, an assistant or any feature built on a language model, with no way to tell whether it got worse.

What you get

  • Test cases written from your real prompts, policies and past mistakes
  • Checks for facts, format, refusals, prompt leaks and injection attempts
  • Repeated runs with a pass rate, so one lucky answer does not hide a flaky one
  • A CI job and a readable report (JUnit and Markdown) on every pull request

What I need from you

  • Access to the feature or its endpoint (a test key with a spending limit)
  • Your system prompt and policies, and examples of answers that were wrong
  • Someone who can say what a correct answer looks like

What is not included

  • Improving the model or rewriting your prompts (quoted separately)
  • A guarantee that the feature never fails: tests find what you thought to test
  • Legal, safety or compliance sign-off

Why an AI feature needs different tests

A language model gives a different answer to the same question each time. So a test that passed once proves little, and a test that failed once may mean nothing. The usual testing habits need two changes: ask every question several times, and decide in advance how many of the answers must be right. llmcheck does both. It also reports a case that is only sometimes right as flaky, even when it clears the bar, because that is the finding.

What a test case looks like

Cases are written in plain YAML, so the people who know what a correct answer looks like can read and write them. This is a real example from the llmcheck project: the same question asked three ways, three times each, with one fact that must be present and a rule against an invented price:

A llmcheck case (from the project's README)
cases:
  - id: price-lifetime
    prompt: How much is the lifetime plan?
    variants: ["what's the one-time price for forever access?", "lifetime access cost?"]
    repeat: 3                # ask each phrasing three times
    expect:
      - contains: "$199"     # a fact the assistant was given
      - not_regex: '\$\s?(?!199\b|19\b)\d+'   # and no invented price

What the suite for your feature contains

  • Test cases written from your real prompts, policies and past mistakes, not from a generic list.
  • Checks for facts, format, refusals, prompt leaks and injection attempts: the things it must get right and the things it must never say.
  • Repeated runs with a pass rate, so one lucky answer does not hide a flaky one.
  • A CI job and a readable report (JUnit and Markdown) on every pull request.

Where a plain rule can decide (a price, a route, a leaked secret, valid JSON), a plain rule does, and gives the same verdict every time. A second model can grade the rest, but its verdict is a second opinion: a judge that does not answer in the expected format counts as an error, never as a pass. A timeout or a server error is kept apart from a wrong answer, so a dead endpoint is never reported as a model that got worse.

What it cannot do, in plain words

  • It does not prove a feature never fails. Results are statistical. Three or five repeats catch a flaky answer, but a leak that happens once in a hundred tries needs a hundred tries. Tests find what you thought to test, so a suite is a growing list of things that have gone wrong before.
  • It supports the OpenAI chat format only. Streaming, tool calls and images are not tested, and a large suite costs real tokens on your account.
  • Judge verdicts can be wrong. Judges are models too. Plain rules are preferred wherever they can say the same thing.

llmcheck's own tests run against a pretend server, not against a live model, and its demo server is scripted. The tool is open source on GitHub (opens in a new tab) and described on its own page, llmcheck: test an AI feature. Reading how it works is the best way to judge whether it fits your feature.

Questions people ask

What is llmcheck?

An open-source test runner for AI features, written in Python. You write test cases in YAML, it asks each question several times against any OpenAI-compatible endpoint, requires a pass rate you choose, and writes a report for CI. Read more on its own page.

What do you need from me?

Access to the feature or its endpoint (a test key with a spending limit), your system prompt and policies, examples of answers that were wrong, and someone who can say what a correct answer looks like.

Does it work with my model?

It works with any endpoint that speaks the OpenAI chat format: OpenAI, Groq, Together, OpenRouter, or a local server such as Ollama. It does not test streaming, tool calls or images.

Will the tests make my feature give better answers?

No. They tell you when an answer is wrong and how often. Improving the model or rewriting your prompts is not part of this piece, and is quoted separately.

Can you promise the feature will never say something wrong?

No one can. Tests find what you thought to test. Legal, safety or compliance sign-off is also not part of this piece.

How long does it take?

Typically 1.5 to 3.5 weeks. I confirm or adjust that after reading your brief.

NO PRICE ON THE PAGE · A WRITTEN SCOPE FIRST

Want this piece of work?

Send a short brief. You get a written scope, a timeline and a price back, and nothing starts until you approve them. Anything outside the scope is agreed separately.

See similar work

See also on this site

The other pieces of work