---
name: undominated-equal-not-better
description: Refuse to call an equal score or an equal price an improvement.
license: MIT
metadata:
  author: Undominated.ai
  version: "1.0.0"
---

# Equal is not better

Use when a comparison calls two equal values an improvement.

1. Equal score is not a higher score.
2. Equal price is not a lower price.
3. An improvement needs one strict side.
4. Use decimal strings. Do not treat a JSON number as exact.

## Run the local check

```sh
python3 scripts/check.py examples/synthetic.json
python3 scripts/check.py /absolute/path/to/your-input.json
```

The bundled example is **synthetic**, not a market measurement. The script reads one local JSON file, prints JSON, and writes nothing. Python 3.10+; no dependencies.

Exit codes: `0` the supplied claim matches the rule; `1` review required; `2` invalid input. A pass is not publication permission.

## Input contract

`scoreA`, `scoreB`, `priceA` and `priceB` are decimal strings. `claims` is `better`, `cheaper` or `neither`.

## Deliverable and limits

Return whether the claim matches the comparisons.

The user retains control over external actions. This skill does not install dependencies, spend API credits, modify production settings, or publish anything.
