Xpersona
E

evaluation-framework

CLAWHUB · Unverified

Provides weighted scoring, rubrics, and decision-threshold patterns Skill: evaluation-framework Owner: athola Summary: Provides weighted scoring, rubrics, and decision-threshold patterns Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:14:40.409Z | user Release v1.9.19 v1.9.17 | 2026-07-30T05:35:44.556Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:52:25.411Z | user Release v1.9.16 v1.9.14 | 2026-06-30T18:01:25.279Z | user Release v1.9.14 v1.9.13 | 2026-06-27T16:19:49.44

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-leyline-evaluation-framework
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-leyline-evaluation-framework/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

144,713 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: evaluation-framework
description: Provides weighted scoring, rubrics, and decision-threshold patterns
version: 1.9.8
triggers:
  - evaluation
  - scoring
  - decision-making
  - metrics
  - quality
  - designing quality gates
  - evaluation systems
  - or decision frameworks
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/leyline", "emoji": "\ud83e\udd9e"}}
source: claude-night-market
source_plugin: leyline
---

> **Night Market Skill** — ported from [claude-night-market/leyline](https://github.com/athola/claude-night-market/tree/master/plugins/leyline). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Core Pattern](#core-pattern)
- [1. Define Criteria](#1-define-criteria)
- [2. Score Each Criterion](#2-score-each-criterion)
- [3. Calculate Weighted Total](#3-calculate-weighted-total)
- [4. Apply Decision Thresholds](#4-apply-decision-thresholds)
- [Quick Start](#quick-start)
- [Define Your Evaluation](#define-your-evaluation)
- [Example: Code Review Evaluation](#example:-code-review-evaluation)
- [Evaluation Workflow](#evaluation-workflow)
- [Common Use Cases](#common-use-cases)
- [Integration Pattern](#integration-pattern)
- [Detailed Resources](#detailed-resources)
- [Exit Criteria](#exit-criteria)


# Evaluation Framework

## Overview

A generic framework for weighted scoring and threshold-based decision making. Provides reusable patterns for evaluating any artifact against configurable criteria with consistent scoring methodology.

This framework abstracts the common pattern of: define criteria → assign weights → score against criteria → apply thresholds → make decisions.

## When To Use

- Implementing quality gates or evaluation rubrics
- Building scoring systems for artifacts, proposals, or submissions
- Need consistent evaluation methodology across different domains
- Want threshold-based automated decision making
- Creating assessment tools with weighted criteria

## When NOT To Use

- Simple pass/fail without scoring needs

## Core Pattern

### 1. Define Criteria

```yaml
criteria:
  - name: criterion_name
    weight: 0.30          # 30% of total score
    description: What this measures
    scoring_guide:
      90-100: Exceptional
      70-89: Strong
      50-69: Acceptable
      30-49: Weak
      0-29: Poor
```
**Verification:** Run the command with `--help` flag to verify availability.

### 2. Score Each Criterion

```python
scores = {
    "criterion_1": 85,  # Out of 100
    "criterion_2": 92,
    "criterion_3": 78,
}
```
**Verification:** Run the command with `--help` flag to verify availability.

### 3. Calculate Weighted Total

```python
total = sum(score * weights[criterion] for criterion, score in scores.items())
# Example: (85 × 0.30) + (92 × 0.40) + (78 × 0.30) = 85.5
```
**Verification:** Run the command with `--help` flag to verify availab

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-leyline-evaluation-framework",
  "version": "1.9.19",
  "publishedAt": 1787750080409
}

modules/decision-thresholds.md

---
name: decision-thresholds
description: Patterns for designing threshold-based decision frameworks with clear actions
category: evaluation
tags: [thresholds, decisions, automation, gates]
estimated_tokens: 700
---

# Decision Thresholds

Patterns and best practices for designing effective threshold-based decision frameworks.

## Core Concepts

### What Are Thresholds?

Thresholds are score ranges that map to specific decisions or actions. They transform continuous scores into discrete decision points.

```
Score Range → Decision → Action
80-100      → Accept   → Deploy immediately
60-79       → Review   → Manual approval needed
0-59        → Reject   → Send back for revision
```

### Why Use Thresholds?

- **Consistency**: Same score always gets same decision
- **Automation**: Enable automated decision-making
- **Clarity**: Clear criteria for each outcome
- **Accountability**: Documented decision logic

## Threshold Design Patterns

### Binary Thresholds

Simplest pattern - pass or fail:

```yaml
thresholds:
  70-100: Pass
  0-69:   Fail
```

Use when:
- Decision is truly binary (deploy/don't deploy)
- No middle ground exists
- Automation is critical

### Multi-Tier Thresholds

Multiple decision levels with different actions:

```yaml
thresholds:
  90-100: Excellent - Fast track
  75-89:  Good - Standard process
  60-74:  Fair - Additional review
  40-59:  Poor - Major revisions needed
  0-39:   Fail - Reject
```

Use when:
- Different quality levels warrant different treatments
- Resources should be allocated differently
- Multiple stakeholders with different concerns

### Conditional Thresholds

Thresholds that depend on context:

```yaml
thresholds:
  production_deployment:
    90-100: Auto-deploy
    80-89:  Deploy with manual verification
    0-79:   Block deployment

  development_deployment:
    60-100: Auto-deploy
    0-59:   Block deployment
```

Use when:
- Risk tolerance varies by context
- Different environments have different requirements
- Stakeholder needs differ

### Compound Thresholds

Multiple criteria must meet thresholds:

```yaml
decision_rules:
  approve_if:
    - overall_score >= 80
    - all_critical_criteria >= 70
    - no_blocking_issues

  reject_if:
    - overall_score < 60
    - OR any_critical_criterion < 50
    - OR has_security_vulnerability
```

Use when:
- Single criteria can veto a decision
- Minimum bars exist across dimensions
- Safety-critical decisions

## Setting Threshold Levels

### Data-Driven Approach

Use historical data to inform thresholds:

```python
# Analyze past evaluations
historical_scores = [...]
percentiles = {
    "p90": 87,  # 90th percentile
    "p75": 78,  # 75th percentile
    "p50": 65,  # median
    "p25": 52,  # 25th percentile
}

# Set thresholds based on desired selectivity
thresholds = {
    "excellent": percentiles["p90"],  # Top 10%
    "good": percentiles["p75"],       # Top 25%
    "acceptable": percentiles["p50"],  # Top 50%
}
```

### Risk-Based Approach

Set thresholds b

modules/evaluation-rubric.md

---
name: evaluation-rubric
description: Concrete rubric templates for skills, plugins, and features with dimensions, weights, scales, and aggregation rules
category: evaluation
tags: [rubric, scoring, templates, dimensions, weights]
estimated_tokens: 850
---

# Evaluation Rubric

Concrete rubric templates you can copy and adapt. A rubric
fixes four things before any artifact is scored: the
dimensions (what you measure), the scale (how you score
each dimension), the weights (how dimensions combine), and
the aggregation rule (how a final number is produced).

## Anatomy of a Rubric

Every reusable rubric has the same five parts. Skip any of
them and reviewers drift.

| Part | Purpose | Failure if missing |
|------|---------|--------------------|
| Dimensions | What is being measured | Reviewers invent their own |
| Anchored scale | What each score means | Score inflation, no calibration |
| Weights | Relative importance | Implicit politics determine outcome |
| Aggregation rule | How parts combine | Different reviewers compute differently |
| Decision mapping | What the score triggers | Score with no consequence is theatre |

The first four are below; decision mapping is in
`modules/decision-thresholds.md`.

## Picking a Scale

Three scales cover most cases. Pick one per rubric and do
not mix.

### 0-2 Ordinal (Pass / Partial / Fail)

Use when the dimension is binary in spirit but you want to
allow partial credit. Cheap to score, hard to game.

| Score | Meaning |
|-------|---------|
| 2 | Fully satisfied, no caveats |
| 1 | Partially satisfied, named caveat |
| 0 | Not satisfied or absent |

Best for: gates, checklists, presence-of-evidence
dimensions ("has tests", "has version pin").

### 1-5 Likert

Use when reviewers must distinguish "good" from "great".
Five points let raters separate adequate from excellent
without false precision. Anchor every odd score (1, 3, 5)
with a worked example.

| Score | Meaning |
|-------|---------|
| 5 | Exemplary; reference for others |
| 4 | Above bar; minor gaps |
| 3 | Meets bar |
| 2 | Below bar; named gaps |
| 1 | Does not meet bar |

Best for: skill quality, doc quality, code review.

### 0-100 Continuous

Use when you have measurable inputs (coverage percent,
benchmark numbers) or need fine differentiation across many
items. More expensive to calibrate; risks false precision
if anchors are vague.

Best for: large rankings, ML evals, automated scoring.

**Rule of thumb**: if you cannot tell the difference
between score N and N+1 without a reference example, your
scale is too granular.

## Template 1: Skill Quality Rubric

Drop-in rubric for evaluating Claude Code skills. Scale: 1-5.

```yaml
rubric: skill-quality
scale: 1-5
dimensions:
  activation_clarity:
    weight: 0.20
    question: "Does the skill activate at the right moment?"
    anchors:
      5: "Trigger conditions list 3+ phrases; tested in subagent"
      3: "Trigger described prose-only; activates most cases"
      1: "Activation unclear; depe

modules/multi-metric-evaluation-methodology.md

---
name: multi-metric-evaluation-methodology
description: Methods for combining multiple metrics into a decision: weighted sums, Pareto fronts, lexicographic ordering, TOPSIS, and when each fits
category: evaluation
tags: [mcda, weighted-sum, pareto, lexicographic, topsis, methodology]
estimated_tokens: 950
---

# Multi-Metric Evaluation Methodology

When a decision depends on more than one metric, you need a
rule for combining them. The rule you pick determines which
trade-offs are visible and which are silently smoothed
away. This module catalogs five families of combination
rules from Multi-Criteria Decision Analysis (MCDA), shows
the math, and gives a decision tree for picking one.

## The Combination Problem

Given n metrics m_1...m_n, a candidate scores a vector
s = (s_1, ..., s_n). To rank candidates you need a rule
f(s) -> R or a partial-order operator. The rules differ in
what they assume about substitutability between metrics and
about the decision-maker's preferences.

| Assumption | Rule family |
|------------|-------------|
| Metrics fully substitutable | Weighted sum / arithmetic mean |
| One bad metric should drag total | Weighted product / geometric mean |
| Any single metric can veto | Min / worst-of |
| Strict priority ordering | Lexicographic |
| No substitutability claim | Pareto front |
| Distance to ideal matters | TOPSIS |

## Normalization First

Every method below assumes metrics are on comparable scales.
Skip normalization and units silently dominate weights.

| Method | Formula | When |
|--------|---------|------|
| Min-max | (x - min) / (max - min) | Bounded scale, no outliers |
| Z-score | (x - mean) / stdev | Unbounded, normal-ish |
| Vector | x / sqrt(sum(x^2)) | Scale-invariant rankings |
| Logarithmic | log(x + 1) / log(max + 1) | Heavy-tailed, diminishing returns |

Document which method was used and why. The choice affects
final ranks more than reviewers usually expect.

## Method 1: Weighted Sum (SAW)

Simple Additive Weighting. The default. Every other method
should justify why weighted sum was rejected.

```
score(s) = sum_i (w_i * s_i)
subject to: sum_i (w_i) = 1.0,  w_i >= 0
```

**Assumes**: metrics are mutually preferentially independent
and freely substitutable. Trading one unit of m_1 for w_1/w_2
units of m_2 is acceptable everywhere on the scale.

**Use when**: dimensions are independent, similarly scaled,
and a rich basket of moderate scores is preferable to a
spiky basket with one zero.

**Avoid when**: any metric can be a deal-breaker (security,
correctness). A high score on six dimensions cannot
compensate for a zero on the seventh.

**Worked example**:

```
weights = {quality: 0.4, latency: 0.3, cost: 0.3}
scores  = {quality: 4,   latency: 5,   cost: 2}
total   = 0.4*4 + 0.3*5 + 0.3*2 = 1.6 + 1.5 + 0.6 = 3.7
```

## Method 2: Weighted Product / Geometric Mean

Compensatory but punishes low scores more than weighted sum.

```
score(s) = product_i (s_i ** w_i)
```

**Assumes**: a one-step drop in a

Sponsored

Ads related to evaluation-framework and adjacent AI workflows.