• ENGINE
  • ASSERTION
  • ENV
  • HUMAN

How to distinguish test errors from code bugs with your agent

Connect once to give your agent access to your logs. It will then pinpoint whether you need to fix your logic or only update a test.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

Is it a bug or a bad test?

Your agent compares the actual output in the logs against the expected state defined in your test suite. It identifies if the code logic is flawed or if the assertion itself is incorrect. You'll see exactly which side of the failure needs a fix.

Failure outcomes

Where each issue lands.

Your agent categorizes failures so you know exactly where to spend your time.

ENGINE

Actual code bug

Your agent finds a mismatch between the code's logic and the requirements. You get a clear path to the broken function.

ASSERTION

Faulty test logic

Your agent sees that the code works but the test is checking for the wrong thing. You'll know which assertion to rewrite.

ENV

Infrastructure issue

Your agent detects if a missing dependency or a broken environment caused the crash. This prevents you from hunting for bugs that aren't there.

HUMAN

Needs manual review

If the logs are too messy or the failure is non-deterministic, your agent flags it for you. You decide how to handle the ambiguity.

The workflow

What your agent does when a test fails.

Your agent handles the heavy lifting of reading through stack traces and source files.

  1. Log ingestion

    Your agent pulls the raw failure logs and the relevant source files to understand the context.

    diagnose_test_failure
  2. Pattern matching

    Your agent compares the error message against known patterns of faulty assertions and engine defects.

    diagnose_test_failure
  3. Logic verification

    It traces the execution path to see if the code actually deviated from the intended logic.

    diagnose_test_failure
  4. Verdict delivery

    Your agent presents a final determination of whether the issue is a bug, a test error, or an environmental fluke.

    diagnose_test_failure

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute QA Arbiter tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to get your agent moving on a failure.

Starting points

These are only ways to kick things off. Swap out the repo names and file paths for your own.

QA Arbiter Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_X69TXPHsdjAfNffcyFTnx1dWNUhv3RVHL0mSZM7p/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, QA Arbiter capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "qa-arbiter-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_X69TXPHsdjAfNffcyFTnx1dWNUhv3RVHL0mSZM7p/mcp"
    }
  }
}
Copy into chat04
  • 01

    Analyze the failure in the auth-service repo and tell me if the assertion is wrong.

  • 02

    Look at the logs for the latest build in the payment-gateway repo. Is this a real bug?

  • 03

    Check the test failures in the user-api repo and find out if the environment is causing this.

  • 04

    Diagnose why the integration tests in the checkout-flow repo are failing.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect QA Arbiter once, then ask.

Connect the MCP to your client in one click. Your credentials stay encrypted, and you can start debugging immediately.

Connect QA Arbiter to your agent

FAQ

How this task behaves

  • 01

    Can your agent fix the code for me?

    No. Your agent identifies whether the issue is a bug or a bad assertion, but you have to write and commit the actual fix.

  • 02

    Does it have access to my entire codebase?

    It only reads the files and logs necessary to diagnose the specific failure you point it toward.

  • 03

    Can it run the tests itself?

    No. This MCP is designed to analyze existing failure data, not to trigger new test runs.

  • 04

    Will it delete any of my test files?

    No. Your agent only has read access to your logs and code to perform its diagnosis.

  • 05

    What if the test failure is intermittent?

    Your agent will attempt to find patterns in the logs, but if it can't find a consistent cause, it will flag the issue for your manual review.

  • More questions about QA Arbiter? The Connector page answers them. See everything the QA Arbiter Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from QA Arbiter to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    QA Arbiter plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect QA Arbiter to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.