neqsim-regression-baselines

Generate regression baseline fixtures and drift-detection tests for NeqSim simulations.

138|60|Updated Dec 5, 2018
One-click install
npx skills add https://github.com/equinor/neqsim --skill neqsim-regression-baselines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neqsim-regression-baselines
Source: https://github.com/equinor/neqsim/tree/main/.github/skills/neqsim-regression-baselines
Command: npx skills add https://github.com/equinor/neqsim --skill neqsim-regression-baselines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Regression baseline management ensures that changes to solver logic, property correlations, or EOS implementations do not silently degrade accuracy. It provides a structured approach for capturing current results, creating baseline fixtures, and writing regression tests to detect drift.

Core Features & Use Cases

  • Baseline capture and fixture generation for critical thermodynamic properties and model benchmarks.
  • Regression testing workflow integration with CI to prevent unnoticed regressions.
  • Drift detection guidance across single- and multi-component systems, with a clear process for updating baselines when external references validate the change.

Quick Start

Capture current baseline values for key models, create a fixture, and add a regression test before modifying solver logic.

Frequently Asked Questions about neqsim-regression-baselines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent silent accuracy drift in NeqSim simulations?

Prevent silent accuracy drift in NeqSim simulations by managing regression baselines that capture current results, generate fixture files, and define regression tests for CI validation. This workflow detects regressions when modifying solver logic or EOS implementations.

What is regression baseline management for EOS implementations?

Regression baseline management for EOS implementations captures current thermodynamic property values into fixture files and defines tolerances. It generates regression tests that CI pipelines validate, ensuring changes to solver logic do not silently degrade multi-component system accuracy.

How do I create regression tests for NeqSim property correlations?

Create regression tests for NeqSim property correlations by capturing current baseline values for key models, generating fixture files, and adding drift-detection tests before modifying solver logic. CI then validates these tests to prevent unnoticed regressions.

Does NeqSim regression testing work with multi-component systems?

Yes, NeqSim regression testing works with multi-component systems. The drift-detection workflow supports both single- and multi-component systems, capturing baseline fixtures and validating thermodynamic property benchmarks across them when EOS implementations are modified.

When should I update regression baselines for thermodynamic models?

Update regression baselines for thermodynamic models when external references validate the change and the new results are confirmed accurate. This ensures the baseline reflects intentional corrections rather than silent accuracy drift from modified property correlations.