Skip to content
Agentmart
Submit a tool

undominated-filter-invariance

Check that filtering preserves the relative order of retained IDs.

Skill by Undominated.ai

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying undominated-filter-invariance?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lenvanderhof-undominated-filter-invariance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Check that filtering preserves the relative order of retained IDs. Use for search or facet behavior that is intended to hide rows without re-sorting them.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/undominated-filter-invariance

What's inside

Skill name
undominated-filter-invariance
Description
Check that filtering preserves the relative order of retained IDs. Use for search or facet behavior that is intended to hide rows without re-sorting them.
License
MIT
Metadata
author: Undominated.ai · version: 1.0.1
Instructions
32 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (6)

  • LICENSE
  • SKILL.md
  • conflict.json · examples/
  • empty.json · examples/
  • synthetic.json · examples/
  • check.py · scripts/

SKILL.md (first lines)

# Filter invariance

Compare the filtered list with the full list from the same snapshot. Filtering may remove any rows, including all of them; every remaining ID must have existed before filtering and retain its relative order.

## Input contract

`unfiltered` and `filtered` are required arrays of exact non-empty ID strings. Either array may be empty. Duplicate IDs within either array are invalid. IDs are case-sensitive; normalize identity upstream only when the source contract warrants it.

## Deliverable and limits

Return list sizes, IDs absent from the full population and any order mismatch. The empty list is a valid subsequence, including when both arrays are empty. A nonempty filtered list against an empty population requires review.

This checks **relative order only**. It does not establish that scores, displayed numeric ranks, frontier membership or dominance labels remained unchanged; test those separately. Pass the complete intended population, not a filtered sample that hides an ordering error.

`examples/empty.json` passes. The conflict example reverses retained IDs and requires review.

## Run the local check

Resolve paths relative to this skill directory:

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

The examples are **synthetic**, not market measurements. Python 3.10+; standard library only. The script reads one explicit UTF-8 JSON file, prints JSON and makes no network requests or file writes.

Exit codes: `0` consistency check passed, `1` review required, `2` invalid input. CLI argument and malformed-input errors return structured JSON; `--help` displays usage text. Unknown or duplicate JSON fields, non-JSON constants and invalid types are rejected. Files are limited to 1 MiB; decimal strings to 1000 characters; identity/field names to 512 characters, with no surrounding whitespace or ASCII control characters.

This source-only skill is **not included in undominated-check@0.4.0**. Keep `SKILL.md`, the checker, examples and MIT licence together. A pass validates the bounded supplied-input contract, not production suitability or permission to publish. The skill does not authorize external actions.

From Lenvanderhof/Undominated.ai, MIT.

More from Lenvanderhof/Undominated.ai

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 7, 2026 (22 days ago)
Last release
Oct 9, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.1
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Undominated.ai

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get undominated-filter-invariance running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying undominated-filter-invariance?

CallGet help
Cite this page

undominated-filter-invariance skill. Agent Mart. https://agentmart.dev/skills/lenvanderhof-undominated-filter-invariance (last updated 2026-10-24)