Skip to content
المشاريع

حول

Generates a test suite from acceptance criteria, then converges code against it with an agent that never sees those criteria.

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Written from the code as it is today - Written from the acceptance criteria you wrote
  • You supply nothing but the repository - You supply a written statement of what correct means
  • Catches behaviour changing tomorrow - Catches behaviour being wrong today
  • Cannot catch the code being wrong now: today's bug becomes tomorrow's assertion - Cannot catch anything nobody wrote down

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

qikly

Agent Skill 3,000+ tests pypi python license marketplace Claude Code VS Code gal-a/qikly MCP server

Website · Start here · Use it from your agent · What it has caught · Where it fits today · Contributing · Privacy

Find out what your tests miss. Free, no key, about 30 seconds, from your project's root folder, pointed at any module of yours that has tests:

pip install qikly
qikly --score your_module.py

qikly --score on the bundled pricing example: 10 of 13 planted faults missed, and three of the questions they leave open

It plants faults in a copy of your code, one at a time, and turns each one your tests miss into a question about behaviour nothing checks. Nothing of yours is changed. Above, a real run on the bundled pricing example, whose two tests both pass.

Watch it first: a 10-minute video walkthrough of all three steps on the bundled pricing example, with English subtitles.

Then close the gaps: your AI writes both the code and its tests. How do you know the tests are really valid?

qikly: the coder never sees the answer key, because its tests come from criteria it was never shown

A worked example from one logged run. The test agent wrote a test, from the spec's acceptance criteria alone, that a rate may not exceed 100. The coding agent never saw the acceptance criteria and discovered that rate limit from the failing test: it then added or rate > 100 by itself, so the 9 of 9 is code eventually passing the test suite after applying fixes in an automated repair loop.

Run on 50 young Python libraries, it surfaced 4 real problems as well as the test gaps, each confirmed by hand and reported upstream. 2 are fixed so far: cyclopts #1044, fixed in #1047, and prompt-template #48, fixed in v1.2.1. Fixes for markdown-code-runner and xmltodict are in review.

Get started Why use qikly? · Start here · What it is for · The commands at a glance · From your coding agent
How it works The idea · What makes this different
Running it Four ways to use it · Free commands · The demo · Your own data · Test data · Running · When a run stalls · Output · Two free checks
Set up Configuration · Use it in CI · Version check
Reference Features · Where it fits today · What it has caught · Further reading
Community The badge · Contributing a task · Where this came from · Privacy · License

Why use qikly?

Tests written from the same context as the code, or from the code itself, can only agree with it. A student who writes the exam paper, writes the answer key and then sits the exam will pass. That is what happens when one model is given the acceptance criteria and asked to produce both the implementation and the suite that checks it. Everything goes green, and the green can mean nothing. qikly takes the answer key away from the student: the tests come from acceptance criteria the coding agent never sees, and they run on your code.

Start here

Before you start, three things:

  1. Install qikly: pip install --upgrade qikly.

  2. Set one API key, for steps 2 and 3: Google Gemini (free tier, no card), Anthropic or OpenAI. In the terminal you will run qikly from:

    export GEMINI_API_KEY="..."          # macOS and Linux
    $env:GEMINI_API_KEY = "..."          # Windows PowerShell
    

    Getting a key, and the other two providers. Step 1 needs no key; without one, step 2 leaves every answer for you to write.

  3. Check your tests pass on their own, from your project's root folder: python -m pytest. qikly runs them the same way, so a missing package or the wrong Python version stops step 1 too.

Then run these from that root folder. Each takes one module or a whole folder, and the same path in every step:

qikly --score my_module.py       # 1. what your tests miss         free, no key
qikly --scaffold my_module.py    # 2. the drafted spec, to check   a fraction of a cent
qikly --tasks my_module.py       # 3. the run                      a cent or so
  1. --score scores the tests you have. It plants faults in a copy of your code, one at a time, and names the ones your tests did not notice, each as a question about behaviour nothing checks. It finds your tests itself: the test_*.py and *_test.py files that import your code, searched from the project root. To name them instead, add --with-tests tests/. No model is called and nothing of yours is changed.

  2. --scaffold drafts the spec, inputs_private/config/tasks/MY_MODULE_VERIFY.yaml, with everything it can read from your code filled in, and a data file of the values your tests already call it with. With a key set (Google Gemini, Anthropic or OpenAI), a spec agent then drafts the parts only an owner could write: a line on what the module is for, and an answer to each of step 1's questions as an acceptance criterion. It reads your README, docs and docstrings, never your code, so it says what the code should do rather than what it does, and a test written from it can disagree with the code:

    #? What should apply_discount(100, 100) do?
    #? Answer below drafted by qikly from your README, docs or docstrings: "...so a rate
    #? of 100 or more is rejected with ValueError". Keep it, or change it.
    - "apply_discount(100, 100) raises ValueError"
    

    Each answer says where it came from: a quote from your documentation, checked word for word, or CHECK where the agent judged it from the module's purpose because nothing written decides it. Run the draft as it is, or change any answer you disagree with, with or without quotes. What the documentation cannot decide is left as a TODO: answer it with an option's number where qikly found values by running your code (1: <value> for one that asks for a value; "doesn't matter" drops the question; N: <sentence> is your own answer), or a sentence that names a value. No option says which one the code does now. A TODO you leave is skipped. Without a key, every answer is yours to write, and the requirements line is marked TODO: MODIFY THIS:. On a folder it writes one task file for each module step 1 asked about. Lines starting #? are notes for you, and no agent reads them. This file is the one source of truth: change it and run step 3 again. qikly --validate my_module.py checks it, free, and shows each short answer as the criterion it becomes.

  3. --tasks runs it, which needs an API key (Google Gemini, Anthropic or OpenAI). A test agent writes tests from your criteria before any code is shown to it, and a separate coding agent, which never sees your criteria, repairs a copy of your code until the tests pass. Your files are never edited. It ends by pointing at qikly --take-tests my_module.py, which copies the new tests into your own tests folder, under qikly_generated/, rewritten to import your module rather than qikly's copy, and runs them on your code. A test that fails there is one to compare with its criterion: either your code or the test is wrong, and the report says which failures were written from a criterion and which are the test writer's own reading, to check.

Try it on a worked example first: docs/examples/ has a one-module project and a two-module folder, each with its task files as they look once answered, to compare yours against.

The task is named after the module, MY_MODULE_VERIFY, where _VERIFY marks a task that tests code you already have. You never need to type it: every step takes the path you gave --score, and a task written with --task-id is found by its path too. qikly --scaffold my_module.py --fresh writes MY_MODULE.yaml instead, a task in which qikly writes a new implementation of the same interface.

Other ways in

If you want to Run Costs
Watch a real run end to end, on a bundled task qikly --demo needs a key, about half a minute and well under a cent
Start from a finished example in a project of your own qikly --example nothing to set it up
See the split for yourself, on a bundled task qikly --explain CALC_TAX nothing, no API key
Write a task from nothing qikly --init nothing to set it up

Good to know

  • --score on its own is the one to try in a meeting. Point it at a module or a package, with the tests you already have. It plants one fault at a time in a copy of your code, runs those tests against each one, and names the faults nothing noticed. Both flags are needed: one says what to break, the other says what should notice. - It tells you what your tests would notice changing.

Full text in the guide.

Installing with uv

pip install qikly is the simplest way, and it is what to use inside a project's own environment. If you use uv, these work too.

Full text in the guide.

What it is for

Built for self-contained Python modules that transform data, not for a large existing repository: ETL, merges, calculations, validation. That is the layer where a wrong answer looks like a right answer, and where a test written from the rule is the only thing that catches it.

Most useful when somebody or something else wrote the code: see the use cases, most valuable first.

Where it does not fit today: an existing large repository. PATCH prompts load only the files a FIX names, and while a large file is now excerpted rather than loaded whole, there is no cross-file index. See Where it fits today.

The commands at a glance

You want to Run Needs a model key? What you get
Know which of your tests would not notice a change qikly --score my_module.py No A list of changes no test caught, each as a question about behaviour nothing checks
Check just a pull request qikly --score src --with-tests tests --changed-since origin/main No The same, on the changed lines only, and as a pull request comment through the workflow
See which broken inputs your parser still accepts qikly --bad-inputs catalog.yaml No Inputs your code accepted that it may be wrong to accept
See what the coding agent is not shown qikly --explain CALC_TAX No The withheld criteria, side by side
Check your task files qikly --validate my_module.py No Problems in the spec, before any model is called
Turn a missed change into a test qikly --scaffold my_module.py, answer the questions, then qikly --tasks my_module.py Yes Tests written from your answers by an agent that does not see your code, and a repair loop for the code

The commands marked No make no model call. The evidence so far is small and uneven: what each one has found is under what qikly has caught, and the limits are under where it fits today.

Use it from your coding agent

qikly runs as an MCP server, so an agent in any MCP host can start a run and read the result without you leaving the conversation. It is tested in VS Code and Claude Code so far. With uv installed there is nothing else to install. In Claude Code:

claude mcp add qikly -- uvx --from "qikly[mcp]" qikly-mcp

In VS Code, the Install qikly MCP badge at the top of this page writes the same command for you.

No qikly tool returns your acceptance criteria, on success or on failure. Your agent sees which tests failed and the pytest output, never the rule it broke.

docs/mcp.md has the six tools, other hosts, installing with pip instead, what to do when the server does not start, and how to keep the generated tests out of your agent's reach.

Or as a Skill, which teaches rather than calls

qikly --install-skill

That copies a Skill into .claude/skills/qikly in the directory you are standing in. A Skill is a folder your agent reads: it tells the agent when qikly is the right move, which line of a spec is a decision the coder needs and which is a consequence to withhold, what a stalled repair loop means, and which commands cost nothing. No server, no configuration.

It loads, and is then used correctly, in Claude Code, Gemini CLI, Codex and Cursor: first time in each, in a project with a rival testing skill installed beside it and a request that never mentioned qikly. The agent had a competing option and no hint, which is what makes that worth reporting. --install-skill agents, cursor or gemini write where those tools document their own folders, and copilot writes the instruction file GitHub Copilot reads instead, which is the one path here nobody has watched load yet.

The two are not alternatives. The MCP server is code, so it can enforce: no tool returns your criteria, and a test fails the build if that ever changes. A Skill is instructions, so it can only inform, and it says so itself. The withholding is enforced by the tool whether or not the Skill is installed. docs/skill.md has what is in it, how to check it loads, and the difference stated in full.


The idea

qikly takes the answer key away from the student. It writes a test suite from acceptance criteria kept apart from the code. To show that the suite can fail, a separate coding agent that never sees the criteria repairs a copy of your code, or writes a new implementation with --fresh, until every test passes or a retry budget runs out, recording every failure, every piece of reasoning and every diff.

How a run works. The full specification splits into requirements plus interface, which both agents receive, and acceptance_criteria, which only the test-writing agent receives and which never reaches the coding agent. The coding agent writes the implementation, the test-writing agent writes the pytest suite, and the suite runs. A pass gives converged outputs: code, suite and audit trail. A fail sends pytest's output for the failing tests back to the coding agent as the repair loop, with no acceptance criteria, until the retry budget is spent and the run stops without converging but keeps the audit trail. Unit tests alone are written last, from the code.

The part that makes the result mean something: the coding agent never sees acceptance_criteria. It gets the specification with that section stripped out, the same vague brief a developer works from, while test generation gets it in full. When a test fails, the agent sees pytest's output for that test and never the acceptance criteria. Without that asymmetry both sides read the same spec identically and every test passes first try, which proves nothing.

Purple is what the coding agent can see. Teal is what the standard is written from. They never touch. A run that never converges is still worth having: it exits non-zero, names the blocking tests, and keeps the same complete record. The purple arrows are the repair loop, and that is where almost all of a run happens: a failing suite sends the agent pytest's output for the failing test, including its source, it produces a FIX and a PATCH, and the suite runs again, until the stage passes or the retry budget runs out. It never sees the criteria themselves, so it cannot write code shaped to a bar it was handed. tests/test_withholding.py fails the build if any call site lets one through.

A run works through three stages, integration then system then unit:

  1. Integration and system tests are generated first, from the spec alone, before any code exists. They cannot see an implementation because there is not one yet.
  2. The coding agent writes the implementation, from the spec minus the criteria.
  3. pytest runs. On failure the model produces a FIX (failure summary, root cause, plan, and the files it intends to touch) and then a PATCH (a unified diff of only those files), applied all or nothing. Repeat until the stage passes or the budget is spent.
  4. Unit tests are generated last, once real code exists for them to name. This is the only stage allowed to see the implementation.
  5. Clearing a stage re-runs the earlier ones, so a later fix cannot silently break something that already passed.

Every arrow back into FIX carries pytest's output for the failing test and nothing else, which means the failing tests and not the specification they came from. Unit tests come last because they are the only ones that need to name real functions, which makes them the only stage allowed to read the implementation. Re-running the earlier stages after each success is what stops a later repair quietly breaking something that already passed.

Test generation sees the requirements, the input and output contract, and every acceptance criterion in full. It writes integration, system and unit tests against the standard.

The coding agent sees the same specification with the criteria section removed, plus the text of whatever test just failed. The same vague brief a developer usually works from.

Two ways to get a test suite, and what each can prove

Code-derived suite
most commercial test generators, and qikly's own unit tests
Spec-derived suite
qikly's integration and system tests
Written from the code as it is today Written from the acceptance criteria you wrote
You supply nothing but the repository You supply a written statement of what correct means
Catches behaviour changing tomorrow Catches behaviour being wrong today
Cannot catch the code being wrong now: today's bug becomes tomorrow's assertion Cannot catch anything nobody wrote down
Right choice when nobody wrote the intent down and you need a safety net Right choice when the intent exists in a ticket, a spec page or a Gherkin file

Both are useful and they answer different questions. qikly is not purely one or the other: integration and system tests are written from the criteria before any code exists, the unit stage is written last from the code that just passed them, and --refine-criteria reads a converged implementation to propose criteria the first draft missed. Each of those reads the code on purpose, and none of them can question it.

What makes this different

The tests come from the standard, not from the code. This is the one that matters most. Every other AI test generator in this space writes its tests from an implementation that already exists, so it can only describe what the code already does. That makes an excellent regression harness, and it cannot tell you the code is wrong. qikly writes the integration and system suites from the acceptance criteria without reading any code, so the standard cannot have been shaped by the thing it judges.

The withholding is a mechanism you can watch. Not a prompt asking a model to ignore a section, and not a convention someone has to remember. One command prints what each side is given and the difference between them, offline and free:

qikly --explain <MY_TASK>     # e.g. qikly --explain MERGE_SALES

Eleven criteria go to test generation. Twelve lines are removed before the coding agent sees the same file. tests/test_withholding.py fails the build if any call site ever lets one through, including one added next year by someone who has never read this. It is a property of the code, and it takes thirty seconds to check.

What you get is an executable suite you keep. The output is pytest files and JUnit XML. Read them, run them, put them in CI, and when one fails in six months it fails for a reason you can inspect and argue with. A suite is a durable asset in a way a model's verdict is not: a verdict cannot be re-run against tomorrow's commit.

It helps you write the standard, not just check against it. --init and --scaffold turn existing code into a task, --criteria-from lifts criteria out of a ticket you already wrote, --generate-criteria drafts a first bar from requirements alone, and --check-criteria looks for two statements anywhere in the specification that no implementation could satisfy at once, including two acceptance criteria that disagree with each other.

Every run is reproducible, and the whole trail is kept. A run records the provider, the model, the settings and the version that produced it, next to every failing test, every FIX with its stated root cause, and every PATCH as a diff. You can read back exactly why a line of code exists: which assertion forced it, what the model concluded, and what it changed. The record survives a run that never converges, which is when you most want it.

"Why not just use two different models?"

It is the first thing most people ask, and it does help a little. It does not reach the underlying issue, because both models still read the same criteria and so both still write to them: the code is still built to satisfy the standard it is about to be judged by, and changing who types it does not change what they were shown. It is also a habit rather than a mechanism, and nothing checks the two stayed different.

Full text in the guide.

"Why not just add a reviewer agent?"

The newer version of the same question, and the one worth answering carefully, because independent verification steps are now shipping in mainstream coding agents: a second agent, often from a different model family, reviews what the first one produced.

Full text in the guide.

"Doesn't a failing test give the criteria away?"

It gives away one case, and that is by design. When a test fails, the coding agent sees pytest's output for it: the test name, its source down to the failing line, its docstring if it has one, and the assertion error. In the case study, that a tax rate of 150 was accepted when it should not have been.

Full text in the guide.

How to use the tools in this project

Four ways in, and the table under the quick start says which command each one needs.

Full details in the guide.

The free commands, in detail

Three commands that make no model call, need no API key, and cost nothing. --explain is in Other ways in; this is what it and its two neighbours actually do.

Full details in the guide.

What --demo looks like

The last row of Other ways in, in full. It needs a provider key.

Full details in the guide.

Your own data, in full

Starting from nothing rather than from code you have: make the two directories, drop your fixture data in, write the task file, run it. Nothing is written into the package and nothing is written into your source tree. The walkthrough with the task file explained field by field is in docs/QUICK_START_ON_YOUR_OWN_DATA.md.

Full details in the guide.

Two kinds of test data, from two different sources

Worth knowing before you prepare your fixture data, because it decides what your data has to contain.

Full details in the guide.

Running

Each task runs in its own process, concurrently, with console output prefixed [task_id]. Exit code is non-zero if any task did not fully converge.

Full details in the guide.

When a run does not converge

A stall is a normal outcome, not a broken tool: the run exits non-zero, names the blocking tests, keeps the whole record, and ships nothing.

The first thing to try is a stronger model, which moves convergence more than any setting in this file and costs one environment variable. After that, in triage order: read the timeline report, check for a collection error (nothing ran at all), rule out a forgotten setting with --trends, look for the same patch repeating (a criterion fighting the model's priors), and run --check-criteria, --validate and propose_fixtures.

Each of those, with the signature to look for and the fix: docs/TROUBLESHOOTING.md.

Questions people ask before they start, including what runs before you commit an API key and whether anything leaves your machine: docs/FAQ.md.

Pointing it at code you already have, including which of your modules it may change and what a run says when the defect turns out to be in one it may not: docs/EXISTING_CODE_AND_HELPERS.md.

Output

Everything is namespaced by task_id so concurrent runs never collide.

Full details in the guide.

Two free checks on what your tests are not measuring

Which criteria your data cannot reach. qikly --validate now says when a criterion names a value no input row holds, because that criterion produces a test which passes whatever the code does:

MY_TASK.yaml: criterion 2 names 0 for gap_m, and no row holds it.
`qikly --propose-fixtures --tasks MY_TASK` drafts the rows it would take.

What your suite would not have noticed. qikly --score-suite --tasks X breaks your converged code one place at a time, re-runs the suite against each break, and lists what went unnoticed. Nothing of yours is modified. Read the score beside the reachability warning printed above it: a suite cannot catch a fault in behaviour no row exercises.

Which broken inputs your code still accepts. qikly --bad-inputs takes valid inputs (the seeds), makes small mechanical edits to them (a control character, a deleted or doubled bracket, a leading zero) and lists the edited inputs your code still accepts, grouped by the kind of edit. Free, no model call, nothing of yours modified.

qikly --bad-inputs target=parser:parse seeds=samples/
qikly --bad-inputs target=parser:parse seeds=samples/ reference=ref:check timeout=10
qikly --bad-inputs my_check.yaml

Accepting an edited input is not a bug by itself, so with no reference the report calls nothing a bug. Give a reference, a trusted implementation of the same rules, and the inputs it rejects and your code accepts are listed as candidates to check by hand. A target that accepts almost everything gets a notice instead of a long list. Four parser pairs are ready to run from a clone, in docs/bad_input_pairs/.

Key Meaning
target the code to test, MODULE:FUNCTION or FILE.py:FUNCTION, called with one string; rejecting means raising one of the reject exceptions, returning normally means accepting
seeds valid inputs to break: one UTF-8 file, or a folder with one input per file (at most 200, each at most 64 KB)
reject comma-separated exception class names that mean "rejected" (default ValueError; subclasses count); any other exception is reported as an other error, never as accepted
after something to do with the result inside the timed call, to force lazy parsing: MODULE:FUNCTION, or .method to call a method of the result
reference a trusted implementation of the same rules, MODULE:FUNCTION, called the same way (the after hook is not applied to it)
catalog a YAML or JSON file of extra edit families, added to the 121 built-in ones; see docs/bad_input_catalogs/
timeout the time limit for one input, in whole seconds (default 5); a hang is reported as a timeout and the run goes on

A config file holds the same keys. To run several pairs in one command, list them under runs: and put the keys they share at the top:

timeout: 10
runs:
  - name: json
    target: mymodule:parse_json
    seeds: samples/json
    reference: refs:strict_json
  - name: dates
    target: mymodule:parse_date
    seeds: samples/dates

The code runs on the same Python as qikly, in a temporary folder, with the folder you ran the command from and your PYTHONPATH on its import path, so what it imports must be installed for that Python; packages installed with pip install --user are not visible to it. Relative paths in a config file are relative to the file.


Configuration and LLM provider

Gemini by default; OpenAI and Anthropic are supported. One provider per run.

Full details in the guide.

Use it in CI

Listed on the GitHub Marketplace as Qikly Test Generation.

Full details in the guide.

Version check

On startup the CLI makes one request to pypi.org and prints a single line if a newer release exists. Set QIKLY_NO_VERSION_CHECK=1 to turn it off.

Full details in the guide.

Features

Split three ways, because a single list mixed things that are not alike: what the loop guarantees whatever you type, what you type, and what you are left holding afterwards.

Full details in the guide.

Where it fits today

Stated plainly, because the fit matters more than the feature list.

It targets self-contained Python modules. PATCH prompts load only the files a FIX names. A file over roughly 16,000 characters is no longer loaded whole: it is parsed, the definitions the FIX and the failure name are reproduced in full, everything else collapses to a one-line signature, and elided ranges are marked so a diff still applies. Raise the threshold with QIKLY_MAX_FILE_CHARS. What that is not is a repository story: there is no cross-file index, and excerpting reduces size rather than bounding it. A module with four hundred functions still yields four hundred signature lines, so 57k characters becomes 30k, which is smaller and still large. The retrieval is a lookup rather than a similarity search, because the FIX and the failing test already name the symbols.

GNU patch is required, not any patch. Apple and BSD ship an implementation that rejects --fuzz, which is what lets a diff with slightly wrong line numbers apply at all. qikly now tells you when it finds one, instead of reporting it as an ordinary failed hunk while every remaining attempt in the run regenerates diffs that could never land.

Patches apply without asking, by default. They land in the disposable outputs/agent_src/code/ tree with a timestamped backup, never in your working copy, and an unattended loop that stopped to ask would not be unattended. --review-patches puts a person in the path, --dry-run generates every patch and applies none. A declined patch is kept and logged, because a rejection is evidence no test can produce.

Budget exhaustion is a normal outcome, not a rare edge case. A run that cannot satisfy its own suite exits non-zero, names the blocking tests, and ships nothing. That is the property worth having. Three of the four causes are defects in the specification rather than in the model, so most stalls are fixed by editing text: see the stall taxonomy.

Two stall signatures, and they mean opposite things. The same patch repeating byte for byte is the model correctly disagreeing with an artificial rule. No retry budget fixes that: widen the criterion, or move the decision into requirements where the agent can read it as a given rather than as an error to correct. A different patch each attempt, never resolving the same test, is an ordinary bug that the failure text alone does not localise, and a stronger model is the first thing to try. Compare successive diffs under outputs/logs/patches/<task>/<timestamp>/ to tell which one you have. Stalls concentrate in the unit stage, which is also the only stage written with sight of the code.

Test generation can miss a criterion you wrote. A correct, hand-written criterion can end up with no test asserting it, so the coding agent is never forced to satisfy it. Root-caused to the test-generation prompt asking for coverage of "properties the criteria say must hold" without requiring every criterion to be covered, so long lists got sampled down. The prompt fix reduces the gap rather than closing it. Treat as a live gap, and --explain plus the generated suite are how you check it on your own task.

Criteria refinement can tighten a bar, not discover one. The reviewer reacts to what an implementation actually does, so it is good at finding validation gaps in behaviour the code already attempts and cannot surface a behaviour the requirements never asked for. How much it sharpens a bar is an open question.

One provider per run, and no cross-run trend reporting yet: the metrics report covers a single run.

Examples of what qikly has actually caught

Specific findings, each with what was run, what it found, and what the result does not show: money rounded half to even where the criteria said half up, a boundary decision nobody had made, a seven-test suite that passed everything and missed half the planted faults, and the two thirds of planted faults that no suite could have caught because the data never reached them.

docs/FINDINGS.md

In other people's libraries: scored on 50 open-source Python libraries, it turned up 4 real problems in the libraries themselves, each checked by hand and reported to the maintainers. 2 are fixed so far: cyclopts (fixed in 5.4.0) and prompt-template (fixed in 1.2.1); markdown-code-runner and xmltodict are awaiting a reply.

Further reading

Two reference pages, for looking things up rather than reading through: quick start on your own data and configuration and provider.

The design write-up is in three parts, and each stands on its own.

What is in it
1. The case Why an agent that writes its own tests is grading its own homework, and one CALC_TAX repair followed end to end: what the coding agent was given, the test it failed, the reasoning it produced from the failure alone, and the one-line patch. Start here.
2. How well it works Three sweeps and 967 runs, the benchmark defect found and corrected between them, the unit-stage gap, what makes a run stall, and the results this project measured and then withdrew.
3. How it is built What separates this from the alternatives, the six agents and what each may read, the FIX and PATCH separation, the thirteen example tasks, watching a run live, supplying your own code or tests, and the tools for generating and evaluating acceptance criteria.

Using qikly? Show it

If --score found something your tests missed, a star on GitHub helps the next person find qikly.

If qikly writes the tests for something you maintain, add the badge to its README. It tells readers the suite was written from the acceptance criteria by an agent kept apart from the code:

tested with qikly

[![tested with qikly](https://img.shields.io/badge/tested_with-qikly-2b8f95)](https://qikly.com/?ref=badge)

Contributing a task

Users are encouraged to contribute their own tasks. The most useful is a new example task from a domain the thirteen bundled ones do not cover, under a name that follows the naming rules so it never clashes with another. CONTRIBUTING.md has what a task needs and how to check it before sending it. Every accepted task is credited in the changelog, and its author gets a contributor badge. Start with a task proposal, so two people do not write the same one.

Where this came from

The separation this tool enforces is ordinary practice in safety-critical engineering, where verification is required to be independent of implementation as part of a V&V (Verification & Validation) methodology for testing. I worked in that setting on General Motors' autonomous vehicle program before building this toolset.

Built by Gal Arav.

Privacy

qikly runs on your machine and collects nothing. Your specification and code go only to the model provider you configured, with your own key; the single other network call is a version check against two public indexes, which QIKLY_NO_VERSION_CHECK=1 turns off. PRIVACY.md.

License

Apache License 2.0, see LICENSE.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…