• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 23762822813
82%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2026 07:14PM UTC
Jobs 1
Files 77
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Mar 2026 07:11PM UTC coverage: 85.116%. Remained the same
23762822813

push

github

web-flow
feat(hw): implement SPICE simulation pipeline MVP (#583) (#585)

* feat(hw): implement SPICE simulation pipeline MVP (#583)

Automated SPICE simulation from generated schematics:
- Netlist JSON export from build pipeline (HW-SIM-001)
- Behavioral SPICE models: MCP1700 LDO, Si2301 P-FET,
  ESP32-C3 current sink, Schottky diode, USBLC6 ESD
- 3 simulation tests: \dc-operating-point\, \sleep-current\,
  \attery-divider\ with YAML definitions (HW-SIM-004)
- ngspice batch runner with \.measure\ result parsing (HW-SIM-005)
- Assertion evaluator with tolerance/comparison support
- CLI: \sonde-hw simulate\ with \--test\, \--list\,
  \--verbose\ flags (HW-SIM-006)
- SPICE deck generator maps netlist components to models
  with per-test source/state configuration (HW-SIM-003)
- \.gitignore\ cleanup for \hw/board-erc.rpt\

Implements: HW-SIM-001 through HW-SIM-006
Closes: #583

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address PR #585 review findings

- netlist.py: Precompute pin name map to eliminate O(n^3) lookup (Thread 1)
- netlist.py: Build ref->ComponentInfo dict for O(1) label-to-pin mapping (Thread 2)
- cli.py: Fix --output help text to match actual default path (Thread 3)
- cli.py: Catch FileNotFoundError for unknown test IDs (Thread 4)
- schematic.py: Remove unused Netlist import (Thread 5)
- runner.py: Treat any non-zero ngspice exit code as failure (Thread 6)
- deck.py: Quote .include paths for spaces in paths (Thread 7)
- deck.py: Remove unused source_nets variable (Thread 8)
- assertions.py: Use meas_str in formatted output (Thread 9)
- netlist.py: Sort pin keys numerically (Thread 10)
- netlist.py: Use _POS_TOL constant in _pos_key function (Thread 11)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(hw): ASCII pass/fail markers, clean up _parse_value logic

- Replace Unicode checkmarks with ASCII [PASS]/[FAIL] for Windows
  cp1252 stdout compatibility
- Simplify _parse_value() to single-pa... (continued)

23504 of 27614 relevant lines covered (85.12%)

153.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23762822813.1 30 Mar 2026 07:14PM UTC 77
85.12
GitHub Action Run
Source Files on build 23762822813
  • Tree
  • List 77
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23762822813
  • fce42247 on github
  • Prev Build on main (#23756278187)
  • Next Build on main (#23766558424)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc