Skill for correlating test results with analytical predictions and model validation
Correlates test results with analytical predictions to validate models.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
The Test Correlation skill provides capabilities for correlating test results with analytical predictions, enabling model validation, calibration, and uncertainty quantification for mechanical systems.
Test Data Preparation
Data quality checks:
- Missing data handling
- Outlier detection
- Noise filtering
- Time synchronization
- Unit verification
Signal 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
Analysis Results
Interpolation
For locations between nodes:
- Shape function interpolation
- Nearest node approximation
- Surface interpolation (for contours)
Percent difference:
%diff = (Test - Analysis) / Test * 100
For near-zero values:
%diff = (Test - Analysis) / max(|Test|, |Analysis|) * 100
Absolute difference:
delta = Test - Analysis
| 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 |
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 correlation
Cross-Orthogonality
XOR = {phi_test}^T [M] {phi_analysis}
XOR_ii > 0.9: Good correlation
XOR_ij < 0.1: Mode independence
Sensitivity Analysis
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 |
| 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 |
Typical validation targets:
- Displacement: +/- 10%
- Stress: +/- 15%
- Natural frequency: +/- 5%
- MAC: > 0.9
- Temperature: +/- 5 degrees
- Pressure: +/- 10%
| Level | Evidence | Application |
|---|---|---|
| 1 | Qualitative trends match | Preliminary design |
| 2 | Quantitative agreement | Detailed design |
| 3 | Statistical validation | Certification |
| 4 | Prediction capability | Production release |
Test Uncertainty
Model Uncertainty
u_combined = sqrt(u_test^2 + u_model^2)
Overlap criteria:
If |Test - Analysis| < 2 * u_combined:
Results are statistically consistent
{
"test_data": {
"file_path": "string",
"format": "csv|mat|hdf5",
"channels": "array of channel IDs"
},
"analysis_results": {
"file_path": "string",
"software": "ANSYS|NASTRAN|Abaqus|other",
"output_locations": "array"
},
"comparison_type": "static|modal|transient|steady_state",
"correlation_requirements": {
"metrics": "array",
"acceptance_criteria": "object"
}
}
{
"correlation_results": {
"comparison_table": "array of point comparisons",
"statistical_metrics": {
"mean_error": "number",
"rms_error": "number",
"max_error": "number",
"correlation_coefficient": "number"
},
"modal_metrics": {
"frequency_errors": "array",
"mac_matrix": "2D array"
}
},
"validation_status": {
"overall": "pass|fail|conditional",
"by_criterion": "array"
},
"calibration_recommendations": [
{
"parameter": "string",
"current_value": "number",
"recommended_value": "number",
"sensitivity": "number"
}
],
"uncertainty_analysis": {
"test_uncertainty": "number",
"model_uncertainty": "number",
"combined": "number"
}
}
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.