Repository navigation
0.3.134 - a test that could only pass on a slow machine
CI on 0.3.133 went red on 3.12 and GREEN on 3.10 at the same commit:
FAILED test_route_matrix.py::test_two_calls_of_one_scope_do_quote_a_delta
AssertionError: assert '%' in '... readings are equal to the clock, not to
each other. warm_up=true pays this cost ...'
The test runs three real warm calls and demanded a percentage in the reply. The
3.12 runner finished the second one faster than the clock could resolve, so the
previous reading was 0 ms - and 0.3.132 stopped quoting a ratio against zero on
purpose, because it is a division by zero dressed as a measurement. The branch is
right; the assertion was written when every machine was slow enough to measure it.
It now accepts either honest outcome - a delta, or the sentence naming the 0 ms
reading - and forbids the one reply that would be wrong: claiming there was no
earlier warm call. The 0 ms branch itself is still covered deterministically by
test_reported_issues_2026_11_13_v0433.py::
test_a_zero_ms_warm_reading_is_still_a_previous_call, which drives
describe(elapsed_ms=0.0) directly and does not depend on speed.
NOTHING IN THE SHIPPED TOOL BEHAVIOUR CHANGED. The difference between 0.3.133 and
this release is one test, the version strings and the changelog. 0.3.133's zip is
correct for a user of the tools and red for a user running the suite on a fast
machine, which is reason enough to publish rather than sit on it.
Also in this line, unchanged from 0.3.133 and worth repeating because it is the
answer to "does this server do sheet metal?" - the parameters, yes; the geometry,
no:
catia_sheetmetal_parameters reads AND sets thickness / bend radius / K factor
/ corner relief through part.Parameters, where
Value is writable (measured: 线宽 2.0 -> 1.5 moved
GetThickness() to 1.5); create=true adds the set.
The K factor needs DIN 一般公式\Activity off, and
the reply names the rule it switched off.
catia_new_sheetmetal catia_new_part + the set.
NO wall / flange / bend / unfold / flat pattern: SheetMetalFactory has 23
members and NO AddNew* at all.
2136 tests. 153 tools. 433 files, 2265708 bytes.