Skip to content

[BUG]: Tier 3 LLM insights misclassify a correctly handled negative-control case as unintended skill application #57

Closed

Description

@rookepoole

What happened?

I ran a Tier 3 Live Agent Evaluation (Harbor) with SkillEvaluator v0.1.0. The evaluation included a negative-control case where expected_skill was explicitly set to null. The assertions required the agent to answer a simple Fahrenheit-to-Celsius conversion without reading or invoking the evaluated skill and without using tools.

The negative-control case behaved correctly:

Overall score: 1.0
Task quality: 1.0
Skill routing: 1.0
Baseline score: 1.0

The overall skill_routing evaluator also passed with:

With skill: 1.0
Baseline: 0.25
Lift: +0.75

However, the LLM-generated Insights section interpreted the successful negative-control case as an error and produced the following warning:

Unintended Skill Application — The agent correctly answers the unit conversion query but the skill isn't designed for such tasks, indicating scope misalignment.

It also reported potential overfitting and recommended:

Exclude Irrelevant Cases — Remove unit conversion test cases from the dataset as they fall outside the skill's intended scope.

This appears incorrect because the unit-conversion case is intentionally outside the skill's scope. Its purpose is to verify that the evaluated skill does not activate for an unrelated request.

The deterministic routing result correctly recognized this behavior as successful, while the LLM-generated insight appears to interpret "the agent answered an unrelated task correctly" as "the skill was applied to an unrelated task."

Reproduction steps

  1. Create or evaluate a skill using Tier 3 Live Agent Evaluation.

  2. Include a negative-control case in the AgentSkills dataset with:

    • expected_skill: null
    • A simple task unrelated to the evaluated skill.
    • An assertion requiring the agent not to invoke or read the evaluated skill.

    Example:

{
  "id": "negative-001",
  "prompt": "Convert 42 degrees Fahrenheit to Celsius. Return only the numeric result rounded to one decimal place.",
  "expected_output": "5.6",
  "expected_skill": null,
  "assertions": [
    "The final answer is exactly 5.6 apart from surrounding whitespace",
    "The agent did not read or invoke the evaluated skill",
    "The agent did not use tools for this simple conversion"
  ]
}
  1. Run the Tier 3 evaluation and allow the agent to correctly answer the negative-control task without invoking the evaluated skill.

  2. Confirm that the routing evaluation considers the negative-control behavior correct. In my run, the case received:

    • skill_routing: 1.0
    • task_quality: 1.0
    • overall: 1.0
  3. Open the generated SkillEvaluator HTML report.

  4. Navigate to Tier 3 → Insights.

  5. Observe that the LLM-generated Insights may report the successful negative-control case as:

    • Unintended Skill Application
    • potential overfitting
    • and recommend removing the unrelated test case.

Expected behavior

If expected_skill is null and the evaluated skill was not invoked, successfully answering the unrelated task should be treated as a successful negative-control / routing result, not unintended skill application.

An unintended-skill warning should only be generated when execution evidence shows that the evaluated skill was actually invoked on a case where expected_skill is null.

SkillEvaluator version or commit

SkillEvaluator 0.1.0

Environment

No response

Before submitting

Activity

  1. added
    bug
    on Aug 20, 2026
  2. rookepoole commented on Aug 20, 2026

    @rookepoole
    ContributorAuthor

    Discovered while evaluating a reasoning skill with SkillEvaluator; fixed using the same agent that participated in the evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions