Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cuPotential numerical validation

БесплатноЗапускает вложенные скриптыНе проверен

Investigate cuPotential energy or force differences, validate a converted simulation, and assess numerical or physical simulation failures. Use for comparison…

nvidiaот nvidia120 установок в других каталогах

Об этом скилле

Validate cuPotential results

Deliver a reproducible conclusion with the comparison actually performed, its acceptance criteria, measured errors, and remaining uncertainty.

The upstream library is NVIDIA/cuPotential. This skill was reviewed against v0.3.5; match version-specific behavior to the user's selected runtime.

Instructions

Snapshot comparison and analytic checks can run on CPU. If generating a stock OpenMM reference on CPU or Reference, record that platform explicitly and keep it separate from cuPotential CUDA results. Missing candidate GPU results remain unavailable; CPU reference success cannot establish candidate agreement.

Choose the question and reference

Separate preservation of the requested physical model, numerical evaluation accuracy, and physical/statistical validity of a trajectory. Establish the installed versions and the smallest faithful reproduction before changing a run. Preserve the failing inputs and original observations.

Read reference protocols and snapshot format. Match coordinates, particle order, box, units, exceptions, switching and tail conventions. For electrostatic accuracy, assess stock and cuPotential against an appropriately converged reference. Default Prolate and stock PME can have different approximation errors. For truncated LJ, keep the same physical cutoff and correction model. Higher precision alone does not prove reference convergence.

Select checks and budgets before examining candidate results, according to the user's requested claim and independently assessed reference/precision error. Retain a failed required check. A later calibration is a separately documented protocol change, not a reinterpretation of the original pass/fail outcome.

Measure and investigate

Use fixed configurations first. Report absolute energy difference, force RMS, largest force-component difference, and a defined relative-force metric when appropriate. Avoid relative normalization by zero or a nearly cancelling energy without an absolute budget. The bundled scripts/compare_snapshots.py checks canonical JSON snapshots without importing OpenMM. With no thresholds it produces diagnostics; with thresholds it judges only those declared checks.

For custom interactions, compare finite differences across step sizes away from nonsmooth boundaries, then inspect cutoff behavior separately. For unstable trajectories, investigate units, overlapping particles, forces, constraints and integration settings. A deliberate diagnostic change should retain a baseline and should not silently alter the production model.

Use NVE conservation/timestep diagnostics for a suitable constant-energy test, and ensemble/kinetic checks for thermostatted or barostatted simulations. A stable temperature or matching checkpoint state is only evidence for that observation. Statistical conclusions require adequate equilibrated, effectively independent data.

State the supported conclusion

Return commands, input/build identities, reference construction, metrics, budgets, and passed, failed or unavailable checks. Do not score skipped tests or empty test selections as executed coverage. CPU analysis of saved arrays can establish their numeric differences; it does not establish that a GPU execution occurred.

Bundled helper

Script Inputs and output
scripts/compare_snapshots.py Candidate and reference JSON snapshots plus optional budget flags; writes JSON metrics and declared-check results. Exit 0: diagnostics/pass; 1: failed checks; 2: invalid input or an unevaluable requested check. See the snapshot contract.

Examples

Request: "Compare these saved candidate and reference snapshots and explain what the differences establish. I have not selected acceptance budgets yet."

python /path/to/cupotential-validate/scripts/compare_snapshots.py candidate.json reference.json

This produces diagnostics, not a passing accuracy test. To judge a declared protocol, supply its preselected budget flags; use --help and the metric definitions to match their units. Keep reference convergence, model equivalence and GPU execution evidence separate from this array comparison.

Полный SKILL.md на ClawHub

Установить cuPotential numerical validation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл cuPotential numerical validation?

Investigate cuPotential energy or force differences, validate a converted simulation, and assess numerical or physical simulation failures. Use for comparison with OpenMM, custom-force finite differences, cutoff artifacts, energy drift, or questionable simulation results.

Как установить скилл cuPotential numerical validation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cuPotential numerical validation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить cuPotential numerical validation с