Skip to content

test(skills): label requests for the automations skill - #7787

Merged
kovtcharov-amd merged 1 commit into
amd:mainfrom
kovtcharov:kalin/automations-suggestion-cases
Nov 12, 2026
Merged

kovtcharov-amd merged 1 commit into
amd:mainfrom
kovtcharov:kalin/automations-suggestion-cases

Conversation

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Unit tests are red on main for every PR since #6786 landed: it added the automations hub skill, and test_every_hub_skill_has_labelled_requests requires each hub skill to have labelled requests in the skill-suggestion set. This adds three requests that should suggest automations and one near-miss that should suggest nothing.

Test plan

  • python -m pytest tests/unit/test_skill_suggester.py passes (failed on main with "hub skill(s) automations have no request")
  • test_calibration_against_the_real_embedder (real-model, not in PR CI) still meets its precision/recall bar on the next run with an embedder

The unit tests are red on main: amd#6786 added the automations hub skill, and
every hub skill needs labelled requests in the skill-suggestion set. This adds
three requests that should suggest it and a near-miss that should suggest
nothing.
@github-actions github-actions Bot added the tests Test changes label Nov 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve

This adds labelled test requests for the new automations skill. The unit-test check that every hub skill has labelled requests has failed on main since #6786 added the skill, and these requests fix it. The labels match what the skill says it handles: reminders, recurring summaries, and listing or pausing what's already set up. The new near-miss question about remembering birthdays is a fair negative. The real-embedder calibration run is still open, as the test plan says.

Real-world evidence

N/A: this PR changes only a test fixture, so nothing user-visible can be run. The verdict rests on reading the change. I couldn't run pytest on this runner. I confirmed the fixture is valid JSON with 82 cases, and every skill it names (automations, github-triage, daily-brief) exists under hub/skills/.

🔍 Technical details

Issues found

🟢 The calibration docstring will be out of date after the next real run (tests/unit/test_skill_suggester.py:396). It says "3 of 12 negatives over 20 hub skills". After this PR there are 13 negatives and 22 hub skills. The bar negatives_hit <= 3 doesn't change, so the extra near-miss leaves one fewer slip before the calibration fails. When you do the unchecked calibration run, update the docstring with the numbers it measures.

Strengths

  • The two acceptable labels on the "every morning… open pull requests" request (github-triage, daily-brief) cover the skills that really overlap with it. That keeps an overlapping suggestion from being counted as a false positive.
  • The three requests cover the skill's three intents: a one-time reminder, a recurring job, and listing or pausing what's set up.
  • The PR is the smallest fix that gets main's unit lane green again.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 12, 2026
Merged via the queue into amd:main with commit 1e8b62d Nov 12, 2026
36 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the kalin/automations-suggestion-cases branch November 12, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant