dtwin-host-smoke-test

Run host-side smoke tests for the dt4acc digital twin stack without MongoDB, TANGO, or Apptainer.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill dtwin-host-smoke-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dtwin-host-smoke-test
Source: https://github.com/arm2arm/AstroAgentAssistant/tree/main/science/dtwin-host-smoke-test
Command: npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill dtwin-host-smoke-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires at, dt4acc-lib, lat2db, dt4acc, pytest, accelerator-toolbox, softioc, p4p, and includes scripts (resource) components.

What problem does it solve?

Reproducible host-side smoke testing for the dt4acc digital twin stack, allowing teams to verify core code health without requiring MongoDB, TANGO, or Apptainer.

Core Features & Use Cases

  • Validates dt4acc-lib tests and lattice processing, ensuring host-side components interact correctly.
  • Verifies host-stack readiness before containerized or facility deployments.
  • Provides quick feedback on code health during development and integration.

Quick Start

Execute the wrapper script at scripts/run_dtwin_host_smoke_test.sh with the repository root as an argument.

Frequently Asked Questions about dtwin-host-smoke-test

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

FAQPage Schema
How do I run a host-side smoke test for a digital twin without MongoDB or TANGO?

To run a host-side smoke test without MongoDB or TANGO, execute the wrapper script at scripts/run_dtwin_host_smoke_test.sh with the repository root as an argument. It verifies dt4acc core code health by building a lattice, running a backend simulator, and outputting a JSON results file.

What is a dt4acc digital twin smoke test used for?

A dt4acc digital twin smoke test is used to validate core code health after changes and debug startup sequences. It provides quick feedback on host-stack readiness before containerized or facility deployments without requiring Apptainer.

Do I need Apptainer or TANGO installed to validate my dtwin host-stack?

You do not need Apptainer, TANGO, or MongoDB installed to validate your dtwin host-stack. The smoke test operates independently to verify host-side components, lattice processing, and simulator interactions directly on your machine.

Can I use pytest to verify dt4acc-lib tests and lattice processing?

You can use pytest to verify dt4acc-lib tests and lattice processing. The smoke test ensures host-side components interact correctly by building a lattice from packaged resources, translating commands, and recording a summary output for integration checks.

What's the best way to check accelerator code health before a facility deployment?

The best way to check accelerator code health before facility deployment is running a host-side smoke test. It applies accelerator-toolbox and softioc components to verify startup sequences and core interactions, outputting a JSON results file for quick feedback.

Why does my dtwin startup sequence fail during host testing?

Your dtwin startup sequence may fail during host testing due to incorrect lattice processing or backend simulator interactions. Running the smoke test debugs these startup sequences by translating commands and verifying core dt4acc-lib tests to isolate the issue.