mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-05 18:54:14 +02:00
173346c712
Discussion #1158 asks for a limit on the wires per terminal. Before any limit, two read-only checks let anyone count their own projects: - crowded_terminals: terminals with more than four wires (two double ferrules, one either side of the screw), folio reports left out; - reports_with_several_wires: folio report arrows with more than one wire, the rule plc-user proposes for reports. Both are info, not errors: cable, busbar and single-line symbols carry more wires on purpose, and a third of the shipped examples' reports have several. Over the 24 examples: 23 crowded terminals in 10 projects (the worst, 19, is a cable symbol in affuteuse_250h.qet) and 130 reports in 4 projects. Plain SQL over the conductor table, so they work on any current QElectroTech. test_qet_mcp: the checks are read-only, the exact-answer test lists them, and a coil wired to five others is reported once with its count (checked to fail with the threshold raised). 398 tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015FPuYPS4T7QuEwjNu22rXD