szl-kernel-comparison
Compares a candidate numerical implementation against a reference on identical inputs: shape agreement, finite values, elementwise tolerance, and a median…
Skill by szl-holdings
Chalk Labs
Need help deploying szl-kernel-comparison?
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.
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/szl-holdings-szl-kernel-comparison
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.
About
Reviews
Write a reviewNo 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 and code. Checked Nov 1, 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/szl-kernel-comparison
What's inside
- Skill name
szl-kernel-comparison- Description
- Compares a candidate numerical implementation against a reference on identical inputs: shape agreement, finite values, elementwise tolerance, and a median speedup only when both timings were taken under declared identical conditions. Use when the user claims a faster or GPU-accelerated kernel, a vectorized rewrite, a new solver or a compiled replacement 'gives the same results', or when reviewing a speedup table. Not a profiler, and it does not measure energy.
- License
- Apache-2.0
- Instructions
- 46 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- example.json · assets/
- kernel.py
- run.py · scripts/
SKILL.md (first lines)
# Numerical kernel comparison A speedup claim has two halves: the numbers still agree, and the timing was fair. This helper checks the first exactly and refuses to report the second unless the measurement contexts match. Python 3.10+, stdlib, offline; accelerator libraries are optional and user-supplied. ## Use when - A Numba, JAX, CUDA or Triton rewrite of a scoring function, force field or FFT step is proposed. - A paper table shows "3.2x faster" without stating warmup, repeats, threads or synchronization. - Two solvers are supposed to agree to 1e-6 on edge shapes, zeros and extreme values. ## Quick start ```bash python scripts/run.py assets/example.json ``` The example returns `"status": "NUMERICAL_MISMATCH"` on a 2x2 output with one element off by 0.1 (`mismatch_indexes [3]`, `atol 1e-06`), `timing_contexts_match: false` and `median_speedup: null`, because a mismatching kernel gets no speed credit. `energy_joules` stays null; this helper does not measure energy. ## Preparing a comparison Fix the operation, reference, candidate revision, shapes, dtype, tolerance and representative inputs first. Call `szl_compare_kernel_runs(record)` from `kernel.py` with `reference_output`, `candidate_output`, `atol`, `rtol`. Agreement means `abs(candidate - reference) <= atol + rtol*abs(reference)` on nested shapes that match and finite values. For timing, use real runs with warmup and at least three repeats, alternate order against thermal drift, and synchronize asynchronous devices (CPU time around an unsynchronized launch is not GPU time). Supply `reference_seconds`, `candidate_seconds` and identical `reference_context` and `candidate_context` (hardware, dtype, input digest, threads, warmup, synchronized, measurement method). Declarations are recorded, not authenticated. `szl_time_callable` times an already reviewed callable. ## What it does not do A passing comparison covers these inputs only, not universal equivalence or general acceleration. It does not install packages, load quarantined pickle or joblib files, or treat a kernel card as trained weights. Optional source retrieval sends only repository and revision identifiers; nothing is bundled that contacts a service. Related SZL sources, for inspection rather than installation: [kernel suite](https://github.com/szl-holdings/szl-kernels/tree/7b59de18d35b1edca3c54a4647fb324b918563a8), [invariants](https://github.com/szl-holdings/szl-invariants/tree/e9621c5d95e1b6a336981346e473980cfe2d037b).
From szl-holdings/szl-skills, Apache-2.0.
More from szl-holdings/szl-skills
- 0.570score
szl-measurement-harmonizer
szl-holdings
Align two to four bounded CSV measurement exports by explicitly declared specimen IDs and affine unit conversions.
SkillAFreshness: AClaude Code +9 - 0.570score
szl-osf-registration-witness
szl-holdings
Checks a public OSF registration, its attached plan bytes and DataCite DOI with bounded keyless reads.
SkillAFreshness: AClaude Code +9 - 0.570score
szl-analysis-plan-audit
szl-holdings
Compares a frozen analysis plan (primary metric and direction, estimand, sampling and group units, split digest, multiplicity allocation, practical margin…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-artifact-lineage
szl-holdings
Audits the provenance chain of a result: every source, intermediate and output artifact as a versioned id, each transformation's required inputs and stages…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-assay-measurement-audit
szl-holdings
Audits one declared increasing linear laboratory assay run before reporting sample concentrations: separately identified blank and QC wells, calibration…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-clustered-replication
szl-holdings
Audit paired model, assay or pipeline losses when many observations belong to a few independent donors, plates, sites or training runs.
SkillAFreshness: AClaude Code +9 - 0.570score
szl-compute-energy-receipt
szl-holdings
Turns a compute run's energy evidence into a typed receipt (MEASURED from counter samples, REPORTED from vendor totals or TDP estimates, UNAVAILABLE when…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-cross-implementation-check
szl-holdings
Compares two independent implementations of the same analysis (R vs Python, student vs postdoc, old vs refactored pipeline, paper table vs re-run) quantity by…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-dataset-readiness
szl-holdings
Audits a tabular dataset before training or evaluation for exact duplicate rows across train/test, the same subject, patient, cell line or sensor appearing in…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-evidence-gate
szl-holdings
Checks whether each claim in a paper, model card, README or grant report has a real artifact behind it (file present, bytes match a declared digest, required…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-experiment-replay
szl-holdings
Replays a pinned, bounded CSV column mean against a frozen reference result and writes an explicit match, divergence or incomplete receipt.
SkillAFreshness: AClaude Code +9 - 0.570score
szl-governed-decision
szl-holdings
Make decisions that carry their own evidence.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 1, 2026 (1 month ago)
- Last release
- Oct 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/szl-holdings/szl-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from szl-holdings
- 0.607score
Hatun MCP - Governed Agent Gateway
szl-holdings
Governed MCP gateway: policy gate on every tool call, hash-chained DSSE receipt on every result.
ConnectorAFreshness: ALocal★ 1Claude Code +5 - 0.570score
szl-analysis-mutation-test
szl-holdings
Mutation testing for a data pipeline's quality checks: generates deliberately corrupted copies of a dataset (duplicated samples, dropped rows, shuffled…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-osf-registration-witness
szl-holdings
Checks a public OSF registration, its attached plan bytes and DataCite DOI with bounded keyless reads.
SkillAFreshness: AClaude Code +9 - 0.570score
szl-analysis-plan-audit
szl-holdings
Compares a frozen analysis plan (primary metric and direction, estimand, sampling and group units, split digest, multiplicity allocation, practical margin…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-artifact-lineage
szl-holdings
Audits the provenance chain of a result: every source, intermediate and output artifact as a versioned id, each transformation's required inputs and stages…
SkillAFreshness: AClaude Code +9 - 0.570score
szl-assay-measurement-audit
szl-holdings
Audits one declared increasing linear laboratory assay run before reporting sample concentrations: separately identified blank and QC wells, calibration…
SkillAFreshness: AClaude Code +9
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 szl-kernel-comparison 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.
Cite this page
szl-kernel-comparison skill. Agent Mart. https://agentmart.dev/skills/szl-holdings-szl-kernel-comparison (last updated 2026-10-24)