Files
hyperframes/packages
WaterrrForever e9de593fe9 fix(cli): measure picks more than 100 frames on ffmpeg 8 (#7071)
* fix(cli): measure picks more than 100 frames on ffmpeg 8

ffmpeg 8 refuses a flat sum of more than 100 terms ("Error while parsing
expression"), and every frame pick in measure, diff and snapshot was one flat
sum of eq(n,k). The ffmpeg HyperFrames downloads is 8.1.2, so measure frames,
diff, face, person, drawn boxes and snapshot all failed past 100 frames.
PostHog: every such cli_error since 0.9.3 came from Windows agents on ffmpeg 8.

sumOf keeps a sum of up to 100 terms flat and nests a longer one in halves.

* fix(cli): sums nest from 51 terms, so ffmpeg 8 takes every pick count

Review (hf-review): 100-term leaves still failed on ffmpeg 8.1.2 once nested,
at 199-201 eq() picks, and snapshot's deeper terms failed at 97-100 times.
ffmpeg 8 limits how deep an expression nests, and a flat sum counts a level
a term. Leaves of 50 pass every count from 1 to 1000 in both shapes, and
1500-5000. Tests decode 199/200/237/401 picks and 97/100/199 snapshot times.
2026-11-03 10:14:37 +00:00
..
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00
2026-11-03 09:15:54 +00:00