Skip to content
Back to skills

Minimal Reproducible Model

ASecurity

Sub-skill of orcaflex-static-debug: Minimal Reproducible Model (+1).

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
developmentpythongodebuggingapi

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill minimal-reproducible-model --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimal Reproducible Model?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimal Reproducible Model
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-minimal-reproducible-model/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-minimal-reproducible-model)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orcaflex-static-debug-minimal-reproducible-model
description: 'Sub-skill of orcaflex-static-debug: Minimal Reproducible Model (+1).'
version: 1.0.0
category: engineering
type: reference
scripts_exempt: true
---

# Minimal Reproducible Model (+1)

## Minimal Reproducible Model


When debugging, create a stripped-down model that isolates the failing component:

```python
import OrcFxAPI

def create_minimal_debug_model(failing_model_path, suspect_line_name):
    """Create a minimal model with only the suspect line for debugging."""
    model = OrcFxAPI.Model()
    model.LoadData(failing_model_path)

    # Remove all lines except the suspect
    for obj in list(model.objects):
        if obj.typeName == "Line" and obj.name != suspect_line_name:
            model.DestroyObject(obj)

    # Simplify environment
    env = model.environment
    env.WaveType = "None"

    # Save debug model
    debug_path = failing_model_path.replace(".yml", "_debug.yml")
    model.SaveData(debug_path)
    return debug_path
```


## YAML Debug Template


```yaml
# Minimal model for static debugging
General:
  WaterDepth: 1000
  StaticsDamping: 50
  StaticsMaxIterations: 200
  StaticsTolerance: 1e-4

Environment:
  WaveType: None
  RefCurrentSpeed: 0
  WindSpeed: 0

LineTypes:
  - Name: "Debug_Chain"
    Category: General
    OD: 0.084
    MassPerUnitLength: 145
    EA: 850000000
    EI: 0

Lines:
  - Name: "Debug_Line"
    LineType: ["Debug_Chain"]
    Length: [500]
    TargetSegmentLength: [10]
    EndAConnection: Anchored
    EndAX: -400
    EndAY: 0
    EndAZ: -1000
    EndBConnection: Fixed
    EndBX: 0
    EndBY: 0
    EndBZ: -20
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.