Repository navigation
Kit v0.1.0.722
feat(research): batch SOLIDWORKS builds and fresh saved-edit checks on one desktop (#466)
Desktop reader/writer batching
Each trial builds two native SOLIDWORKS reference parts, generates two
independent writer candidates, edits and restores every part, and
reopens every saved edit in a different process. Builders, editors and
verifiers retain their documents until their owned instance stops. The
controller confirms exit on the original Windows handle. Clean save
results, native comparisons, SDK readback, independent geometry and
byte-exact receipt checks remain part of the trial result.
Resource admission uses observed CPU, physical memory and Windows commit
by operation and file count. Builders and editors share a campaign save
mutex. A startup slot releases after the worker binds its initially
empty instance to the correct process and nonce. Recoverable native
failures retry identical inputs in fresh owned processes. SDK
comparisons can run while other native groups are still active.
Measurements
- Ten matched trials completed in 346.278 seconds, or 103.963 verified
trials/hour, versus 46.081/hour in two-trial batches and 24.099/hour
serial. The ten trials shared 247.578 seconds of verification. Median
time to a trial result was 319.289 seconds. All 40 saved edits and 20
writer receipts passed. - A 48-trial workload reached 12 simultaneous native workers. It
retained 132 verified fresh saved edits before failing. The remaining 60
reopens passed in a separate 270.486-second native run. Independent
audit of all 192 original cases, 192 reopens and 96 writer outputs
passed for all 48 trials. The initial benchmark keeps its failed status. - The largest run reached 67.25% physical RAM usage and 98.42% Windows
commit. The matched ten-trial run retained 11.82 GiB available RAM and
2.54 GiB available commit. The native phases did not sustain 90% CPU or
physical RAM. - The live handoff probe passed on the exact saved part path and on an
immutable copy. The independent read-only receiver remained usable after
the editor was force-stopped, and a third process reproduced the saved
measurements. - The native comparison uses the same complete SDK source tree as main
revision734bdc6c3. These experiments cover a generated seven-edge
blind boss on SOLIDWORKS 2026 build 34.4.1.
The 24-trial campaign completed 24 verified trials in 631.672 seconds.
Peak concurrency was 6 working instances plus standby. It retained at
least 12.24 GiB of physical RAM and 4.26 GiB of commit. CPU or physical
RAM reached 90% for 15.2 measured seconds. All 48 builds, 96 original
cases, 96 fresh reopens and 48 paired-role writer receipts passed.
Preparation took 88.9 seconds with 88.7 for the native builds, 63.5 for
reading and 23.7 for writing and staging. Verification took 517.5
seconds for the wave. Final geometry and receipt checks used 16 workers
and took 12.1 seconds.
On the same ten retained trials, parallel receipt checks took 5.494
seconds versus 39.474 seconds serially. All clean receipts and
attachments were byte-identical. A corrupt trial was rejected.
The 64-trial wave used a 16-worker ceiling, 16 files per native group,
up to 32 writers and comparison workers, and a three-second launch
offset. It completed 0/64 trials in 1393.011 seconds (0.0 verified
trials per hour). There were up to 9 simultaneous working instances plus
standby. CPU reached 99.9% with a median of 17.6%. Physical RAM reached
64.1% and Windows commit reached 87.7%. Available physical RAM and
commit stayed at or above 11.46 and 4.17 GiB respectively. The desktop
spent 30.3 seconds at or above 90% CPU or physical RAM. An independent
audit matched 224 fresh files to their editor exits and saved bytes. Two
groups stopped on a repair-required native load error, which left the
timed batch incomplete. See the repair flag and exact
inputs.
The initial three matched 24-trial scheduling samples peaked at 136.8/h
using phased scheduling. Measured side-by-side
results
and schedule
evidence.
Cached source and paired replay pass count: 24/24; 113.6 verified
trials/hour. The runner decoded the pinned input once and verified all
23 materialized copies. Cache
results.
Evidence
- Selective retry rebuilt four trials selected from a staged transient
input fixture. All 16 fresh reopens passed and the 20 original pairs of
receipts and attachments remained intact. The compatibility suite passed
17 installed-command cases. Fresh retry
evidence
· Checkout byte
requirements - Desktop command and serial stage
profile - Large-batch configuration, measurements and live
handoff - Serial and paired
timings
· Large workload timings and
utilization
· Supplemental
audit
· Live handoff
evidence - Fresh reopen
identity
· Saved geometry
readback
· Writer replay
isolation
· Concurrent native
saves
· Delayed process
exit
Streaming and recovery
| Preparation and native grouping | Passed | Shared verification (s) |
Median trial total (s) | Whole campaign (s) | Verified trials/h |
Attached builder/editor overlap (s) |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| Full wave, 8 files per editor and verifier | 24/24 | 620.6 | 738.6 |
760.6 | 113.6 | 0.0 |
| Streamed, 6 builder slots, 8/8 files per editor/verifier | 24/24 |
640.0 | 650.5 | 666.8 | 129.6 | 0.0 |
| Streamed, 1 builder slot, 12/16 files per editor/verifier | 24/24 |
559.8 | 569.9 | 584.8 | 147.7 | 68.8 |
An independent audit of the failed 64-trial campaign proved 48 complete
trials and 96 writer receipts. The 16 missing observations remain
failed. The original timing is unchanged.
- Streamed
preparation
· Builder
concurrency - Retained native
groups
· Selective
retry
· PID
lifetime
· Partial campaign
audit
Merge-sweep CI repairs
This delivery also retains the evidenced candidate compatibility repairs
and the accepted conditional CodeQL rollout from merged PR467.
Activation evidence
records five successful analyses/native alert uploads, the authorized
managed-service replacement, and the historical in-flight upload
failure. Current-head CI, configured approval and native merge-group
acceptance remain required.
The scope adapter explicitly retains the Actions context repository
getter. The upstream C# query-pack
repair pins
C#1.9.2 for the documented unknown-vendor-type cast bug observed in
PR499; both complete security-and-quality and experimental suites remain
selected, with Java1.11.8 retained. Required COM casts and all findings
enforcement stay intact. The policy must land on the accepted default
branch before affected PR scans consume it; repaired-pack execution is
pending.
Co-authored-by: jdharcourt jdharcourt@users.noreply.github.com