test-correlation
БесплатноБез исполняемых скриптовНе проверенSkill for correlating test results with analytical predictions and model validation
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
Test Correlation Skill
Purpose
The Test Correlation skill provides capabilities for correlating test results with analytical predictions, enabling model validation, calibration, and uncertainty quantification for mechanical systems.
Capabilities
- Test data processing and analysis
- Prediction-to-test comparison
- Model calibration techniques
- Uncertainty quantification
- Statistical analysis and regression
- Correlation report generation
- Model updating recommendations
- Validation criteria assessment
Usage Guidelines
Correlation Methodology
Data Processing
Test Data Preparation
Data quality checks: - Missing data handling - Outlier detection - Noise filtering - Time synchronization - Unit verificationSignal Processing
Operation Purpose Method Low-pass filter Remove noise Butterworth Resampling Match analysis Interpolation Baseline correction Remove offset Linear/polynomial Windowing FFT preparation Hanning, Hamming Derived Quantities
- Integrate acceleration to velocity/displacement
- Differentiate displacement to velocity
- Calculate strain from displacement
- Compute stress from strain
Prediction Extraction
Analysis Results
- Match output locations to sensor positions
- Match load cases to test conditions
- Account for coordinate systems
- Include analysis uncertainty
Interpolation
For locations between nodes: - Shape function interpolation - Nearest node approximation - Surface interpolation (for contours)
Comparison Methods
Point Comparison
Percent difference:
%diff = (Test - Analysis) / Test * 100
For near-zero values:
%diff = (Test - Analysis) / max(|Test|, |Analysis|) * 100
Absolute difference:
delta = Test - Analysis
Statistical Comparison
| Metric | Formula | Purpose |
|---|---|---|
| Mean error | mean(Test - Analysis) | Bias detection |
| RMS error | sqrt(mean((Test-Analysis)^2)) | Overall accuracy |
| Correlation coefficient | r | Linear relationship |
| R-squared | r^2 | Variance explained |
Modal Correlation
Frequency Comparison
Frequency error: %error = (f_test - f_analysis) / f_test * 100 Typical acceptance: +/- 5-10%Mode Shape Correlation
MAC (Modal Assurance Criterion): MAC = |{phi_test}^T {phi_analysis}|^2 / ({phi_test}^T{phi_test})({phi_analysis}^T{phi_analysis}) MAC = 1: Perfect correlation MAC > 0.9: Good correlation MAC > 0.7: Acceptable correlationCross-Orthogonality
XOR = {phi_test}^T [M] {phi_analysis} XOR_ii > 0.9: Good correlation XOR_ij < 0.1: Mode independence
Model Calibration
Parameter Identification
Sensitivity Analysis
- Identify influential parameters
- Rank by sensitivity
- Define adjustment ranges
Optimization Methods
Method Application Pros/Cons Manual iteration Simple cases Intuitive, slow Gradient-based Smooth response Fast, local minimum Genetic algorithm Complex response Global, slow Response surface Multiple cases Efficient, approximation
Common Calibration Parameters
| Parameter | Structural | Thermal | CFD |
|---|---|---|---|
| Stiffness | Young's modulus | Conductivity | - |
| Boundary | Joint stiffness | HTC | Inlet profile |
| Damping | Modal damping | - | Turbulence |
| Mass | Density | Cp | Density |
| Geometry | Thickness | Contact area | Mesh |
Validation Criteria
Acceptance Criteria
Typical validation targets:
- Displacement: +/- 10%
- Stress: +/- 15%
- Natural frequency: +/- 5%
- MAC: > 0.9
- Temperature: +/- 5 degrees
- Pressure: +/- 10%
Validation Levels
| Level | Evidence | Application |
|---|---|---|
| 1 | Qualitative trends match | Preliminary design |
| 2 | Quantitative agreement | Detailed design |
| 3 | Statistical validation | Certification |
| 4 | Prediction capability | Production release |
Uncertainty Quantification
Sources of Uncertainty
Test Uncertainty
- Instrumentation accuracy
- Environmental variation
- Setup variability
- Measurement resolution
Model Uncertainty
- Material property variability
- Geometry simplifications
- Boundary condition approximations
- Discretization error
Combined Uncertainty
u_combined = sqrt(u_test^2 + u_model^2)
Overlap criteria:
If |Test - Analysis| < 2 * u_combined:
Results are statistically consistent
Process Integration
- ME-022: Prototype Testing and Correlation
Input Schema
{
"test_data": {
"file_path": "string",
"format": "csv|mat|hdf5",
"channels": "array of channel IDs"
},
"analysis_re
Установить test-correlation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteGlobGrepBashFAQ
Что делает скилл test-correlation?
Skill for correlating test results with analytical predictions and model validation
Как установить скилл test-correlation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-correlation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic