Skip to content
Back to skills

Matching And Scoring

ASecurity

Changes the hybrid match score - taxonomy distance, embedding similarity, facet signals - under versioning and backtest gates. Use when touching weights, thresholds, decision bands or ranking logic. Triggers - change the weights, scoring, why did this match, adjust the threshold, decision band, ranking is wrong.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentsgorailstesting

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add cihatcoban/keystone --skill matching-and-scoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matching And Scoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Matching And Scoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cihatcoban-matching-and-scoring/badge)](https://www.skillsdirectory.com/skills/cihatcoban-matching-and-scoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: matching-and-scoring
description: Changes the hybrid match score - taxonomy distance, embedding similarity, facet signals - under versioning and backtest gates. Use when touching weights, thresholds, decision bands or ranking logic. Triggers - change the weights, scoring, why did this match, adjust the threshold, decision band, ranking is wrong.
---

# Matching and Scoring

*Example domain skill — see `examples/domain-pack/README.md`.*

The score decides what reaches a human. One weight change alters every result
for every company at once, so scoring code carries the strictest process in
this product: **no change without a version bump and a backtest.**

## Composition

A weighted composite of structural taxonomy distance, multilingual embedding
similarity, and rule-based facet match, multiplied by disqualifying penalties
(expired deadline, missing mandatory qualification, out-of-region work).
Weights and penalties live in configuration, never in code — changing a number
must not require editing a source file.

Decision bands route the result: high scores produce a draft for human
approval, the middle band goes to assisted human review, the rest is logged
only. The model never decides (`ai-integration-guardrails`).

## Change protocol

1. Confirm the labeled evaluation set is large enough and contains hard
   negatives.
2. Measure the baseline with the current version.
3. Change **one** variable.
4. Increment the scoring version; every stored result records the version that
   produced it.
5. Run the backtest; write the report with before/after per metric and per
   channel type.
6. List every result that changed band — especially those newly entering the
   auto-draft band, since those become messages to a person.
7. Any metric below its floor blocks the merge (`evaluation-and-backtesting`
   in the full pack).

## Explainability

Every stored match carries its component scores, the weights in force, the
penalties applied and the top contributing signals. "Why this one?" is answered
by reading the record, never by recomputing — recomputation under a newer
version answers a different question.

## Anti-patterns

| Pattern | Cost |
|---|---|
| Tuning against the evaluation set until it looks good | Overfitting; production accuracy drops |
| Changing weights and the labeled set in one change | Nothing is measurable afterwards |
| Embedding model swapped without regenerating all vectors | Silently mixed vector spaces |
| Thresholds hardcoded | Every tuning cycle becomes a deploy |

## Exit checklist

- [ ] One variable changed
- [ ] Scoring version incremented and stored with results
- [ ] Backtest report committed, with per-channel breakdown
- [ ] Band changes listed and reviewed
- [ ] No metric below its floor
- [ ] Configuration changed, not code

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.