Skip to content

Test simulation steps across all integrators - #122

Open
Mikasa0503 wants to merge 2 commits into
learnsyslab:mainfrom
Mikasa0503:test/integrator-smoke-coverage
Open

Mikasa0503 wants to merge 2 commits into
learnsyslab:mainfrom
Mikasa0503:test/integrator-smoke-coverage

Conversation

@Mikasa0503

Copy link
Copy Markdown

Summary

  • add a parameterized smoke test for every supported integrator
  • verify that simulation steps advance and core state tensors remain finite

Validation

  • uv run pytest -q tests/unit/test_sim.py::test_sim_step_integrators
  • uv run pytest -q tests/unit/test_sim.py
  • uv run ruff check tests/unit/test_sim.py
  • uv run ruff format --check tests/unit/test_sim.py

Results: 211 passed, 37 skipped, 1 deselected.

Addresses #106

Copilot AI lite review requested due to automatic review settings September 20, 2026 12:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Extend finiteness checks to cover the omitted state tensors.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Adds parameterized smoke tests covering all supported simulation integrators.

Changes:

  • Tests two simulation steps for each integrator.
  • Verifies step advancement and finite state tensors.
File Summary
tests/​unit/​test_sim.py Adds integrator smoke tests; force, torque, and rotor_vel are not included in finiteness checks.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/unit/test_sim.py
@Mikasa0503
Mikasa0503 force-pushed the test/integrator-smoke-coverage branch from 75e533c to b83310f Compare September 20, 2026 12:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved blocking issues were identified.

Review effort: Lite
Findings: None

Resolved since last review (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants