Verify the 8 open library checks before pinning versions #571

Open
opened 2026-10-18 07:22:57 +00:00 by kayg · 7 comments
Owner

From calternal-research/libs-verify-2026-10-17.md and bench-libs-2026-10-17.md. The open checks are ort vs tract speed on the perf VM, mp4-atom on real iPhone videos, which IETF resumable-upload draft revision iOS 26 sends, and the rest listed at the end of the verify report. Also: SigLIP2 fp16 vs fp32 search quality on real photos, rawler on real iPhone 16/17 ProRAW, and a sqlite-vec bit search plus re-rank recall check.

🤖 Generated with Claude Code

From `calternal-research/libs-verify-2026-10-17.md` and `bench-libs-2026-10-17.md`. The open checks are ort vs tract speed on the perf VM, mp4-atom on real iPhone videos, which IETF resumable-upload draft revision iOS 26 sends, and the rest listed at the end of the verify report. Also: SigLIP2 fp16 vs fp32 search quality on real photos, rawler on real iPhone 16/17 ProRAW, and a sqlite-vec bit search plus re-rank recall check. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

Starting the research-only verification pass for issue #571. Branch: none, because this job forbids product branches and PRs. Base: main at a0785f1067. I will measure the remaining checks and record results at /home/kayg/Developer/calternal-research/lib-checks-2026-10-18.md.

Starting the research-only verification pass for issue #571. Branch: none, because this job forbids product branches and PRs. Base: main at a0785f1067c617755fbb00605aa0d5bb39163569. I will measure the remaining checks and record results at /home/kayg/Developer/calternal-research/lib-checks-2026-10-18.md.
Author
Owner

Public-source finding (2026-10-18): the exact draft revision used by PhotoKit remains unknown without a device wire capture. Apple’s background-upload documentation says it implements the draft resumable-upload protocol, gives an OPTIONS 200 plus Upload-Limit preflight and an in-band 104 response example, but does not name a draft revision. Its example still uses Upload-Incomplete, while IETF draft -01 replaced that field with Upload-Complete; current draft -13 requires Upload-Draft-Interop-Version: 10 on draft clients, which Apple’s example omits. The -09 revision dated 2025-06-04 includes status 104, but the Apple docs do not establish whether iOS 26.1 or iOS 27 uses that or a later revision. Apple’s DTS response confirms the daemon handles the whole resource and does not expose extension chunk callbacks. WWDC25’s background-tasks session and the WWDC26 Photos and Camera material do not identify the wire revision; the iOS 26.1 announcement blog also does not. A packet capture from iOS 26.1 and iOS 27 is still needed.

Sources: https://developer.apple.com/documentation/photokit/uploading-asset-resources-in-the-background ; https://developer.apple.com/forums/thread/818566 ; https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/09/ ; https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/ ; https://developer.apple.com/videos/play/wwdc2025/227/ ; https://developer.apple.com/videos/play/wwdc2026/8018/ ; https://9to5mac.com/2025/10/24/ios-26-1-third-party-photos-backup-background/

Public-source finding (2026-10-18): the exact draft revision used by PhotoKit remains unknown without a device wire capture. Apple’s background-upload documentation says it implements the draft resumable-upload protocol, gives an OPTIONS 200 plus Upload-Limit preflight and an in-band 104 response example, but does not name a draft revision. Its example still uses Upload-Incomplete, while IETF draft -01 replaced that field with Upload-Complete; current draft -13 requires Upload-Draft-Interop-Version: 10 on draft clients, which Apple’s example omits. The -09 revision dated 2025-06-04 includes status 104, but the Apple docs do not establish whether iOS 26.1 or iOS 27 uses that or a later revision. Apple’s DTS response confirms the daemon handles the whole resource and does not expose extension chunk callbacks. WWDC25’s background-tasks session and the WWDC26 Photos and Camera material do not identify the wire revision; the iOS 26.1 announcement blog also does not. A packet capture from iOS 26.1 and iOS 27 is still needed. Sources: https://developer.apple.com/documentation/photokit/uploading-asset-resources-in-the-background ; https://developer.apple.com/forums/thread/818566 ; https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/09/ ; https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/ ; https://developer.apple.com/videos/play/wwdc2025/227/ ; https://developer.apple.com/videos/play/wwdc2026/8018/ ; https://9to5mac.com/2025/10/24/ios-26-1-third-party-photos-backup-background/
Author
Owner

Perf VM finding: On the i9-9900K perf VM, ORT beat tract on SigLIP2 int8 (8.8x at batch 1, 6.4x at batch 8), PP-OCRv6 tiny detection and recognition, and SFace fp32 at batch 1. Tract could not translate SFace int8 because of QLinearMul; the SFace graph fixes ORT to batch 1. The 181 selected one-second samples across 17 traces averaged 0.43% CPU steal (p95 2%, max 6%), with one-minute load between 1.22 and 3.04. Noisy combined runs were excluded. Full measurements and model revisions are in /home/kayg/Developer/calternal-research/lib-checks-2026-10-18.md.

Perf VM finding: On the i9-9900K perf VM, ORT beat tract on SigLIP2 int8 (8.8x at batch 1, 6.4x at batch 8), PP-OCRv6 tiny detection and recognition, and SFace fp32 at batch 1. Tract could not translate SFace int8 because of QLinearMul; the SFace graph fixes ORT to batch 1. The 181 selected one-second samples across 17 traces averaged 0.43% CPU steal (p95 2%, max 6%), with one-minute load between 1.22 and 3.04. Noisy combined runs were excluded. Full measurements and model revisions are in /home/kayg/Developer/calternal-research/lib-checks-2026-10-18.md.
Author
Owner

Retrieval finding: On 300 unique Open Images photos with one localized narrative caption each, SigLIP2 fp16 and fp32 both reached 82.0% recall@5 and 89.3% recall@10. Paired image/text embeddings had mean cosine 0.9999979/0.9999996; fp16 did not improve CPU encode time. Open Images lists images as CC BY 2.0 and annotations as CC BY 4.0, but says it makes no warranty about each image's license and asks users to verify individually. We relied on each selected image's CC BY 2.0 metadata and did not redistribute images. For sqlite-vec 0.1.9 with top 100 bit candidates plus float rerank, recall@10 was 33.7%/28.6% at 50k/200k on synthetic vectors and 10.6%/6.7% with real image embeddings, real text queries, and synthetic fill. The exact top 1 was missed on most mixed queries. This misses the requested 1–2 point recall gap. Details are in the report.

Retrieval finding: On 300 unique Open Images photos with one localized narrative caption each, SigLIP2 fp16 and fp32 both reached 82.0% recall@5 and 89.3% recall@10. Paired image/text embeddings had mean cosine 0.9999979/0.9999996; fp16 did not improve CPU encode time. Open Images lists images as CC BY 2.0 and annotations as CC BY 4.0, but says it makes no warranty about each image's license and asks users to verify individually. We relied on each selected image's CC BY 2.0 metadata and did not redistribute images. For sqlite-vec 0.1.9 with top 100 bit candidates plus float rerank, recall@10 was 33.7%/28.6% at 50k/200k on synthetic vectors and 10.6%/6.7% with real image embeddings, real text queries, and synthetic fill. The exact top 1 was missed on most mixed queries. This misses the requested 1–2 point recall gap. Details are in the report.
Author
Owner

Sample finding: The prior mp4-atom run read keys/ilst on iPhone 15 Pro and iPhone SE 2 Live Photo fixtures, but the media has no separate rights statement. I found no clearly licensed iPhone 16/17 Live Photo MOV. To close this item, Kayg can provide an unmodified iPhone 16 or 17 Live Photo MOV and matching HEIC, device model and iOS version, and permission for local parser testing. RawDB has a CC0 iPhone 15 Pro JPEG XL DNG, which Rawler decoded and developed (8064x6048; develop peaked at 2,104,840 KiB RSS), and a CC0 iPhone 16 Pro Max LJPEG DNG, which is not JPEG XL. No iPhone 16/17 JPEG XL sample was listed. To close that check, provide an original, unconverted iPhone 16 or 17 ProRAW DNG that is JPEG XL compressed, plus model, iOS version, and test permission. Sources and measurements are in the report.

Sample finding: The prior mp4-atom run read keys/ilst on iPhone 15 Pro and iPhone SE 2 Live Photo fixtures, but the media has no separate rights statement. I found no clearly licensed iPhone 16/17 Live Photo MOV. To close this item, Kayg can provide an unmodified iPhone 16 or 17 Live Photo MOV and matching HEIC, device model and iOS version, and permission for local parser testing. RawDB has a CC0 iPhone 15 Pro JPEG XL DNG, which Rawler decoded and developed (8064x6048; develop peaked at 2,104,840 KiB RSS), and a CC0 iPhone 16 Pro Max LJPEG DNG, which is not JPEG XL. No iPhone 16/17 JPEG XL sample was listed. To close that check, provide an original, unconverted iPhone 16 or 17 ProRAW DNG that is JPEG XL compressed, plus model, iOS version, and test permission. Sources and measurements are in the report.
Author
Owner

Remaining open checks: family clustering quality still needs an opt-in labeled corpus with multiple photos per identity, family-cluster labels, relatives and unrelated lookalikes, and normal age/pose/light variation. SafeDocs worker behavior still needs a licensed usable corpus or subset and the production worker boundary; the prior sample was 997 pdf.js files plus 147 generated hostile PDFs. WASM size cannot be measured because the inspected shared worktree has no task-specific shared core or WASM target. FIDEDUPERANGE deduped 1 GiB in 487 ms with copy-on-write isolation as the file owner in an unshare user namespace, but actual rootless Podman remains untested. The report lists what is needed for each item.

Remaining open checks: family clustering quality still needs an opt-in labeled corpus with multiple photos per identity, family-cluster labels, relatives and unrelated lookalikes, and normal age/pose/light variation. SafeDocs worker behavior still needs a licensed usable corpus or subset and the production worker boundary; the prior sample was 997 pdf.js files plus 147 generated hostile PDFs. WASM size cannot be measured because the inspected shared worktree has no task-specific shared core or WASM target. FIDEDUPERANGE deduped 1 GiB in 487 ms with copy-on-write isolation as the file owner in an unshare user namespace, but actual rootless Podman remains untested. The report lists what is needed for each item.
Author
Owner

Finished research for issue #571. Report: /home/kayg/Developer/calternal-research/lib-checks-2026-10-18.md. Source worktree HEAD SHA: a0785f1067. No product files, branch, pull request, merge, or deployment were created.

Research harness gate output, verbatim:
Finished release profile [optimized + debuginfo] target(s) in 7m 46s
CARGO_STATUS=0

No product build or test gate applied because no product files changed.

Finished research for issue #571. Report: /home/kayg/Developer/calternal-research/lib-checks-2026-10-18.md. Source worktree HEAD SHA: a0785f1067c617755fbb00605aa0d5bb39163569. No product files, branch, pull request, merge, or deployment were created. Research harness gate output, verbatim: Finished `release` profile [optimized + debuginfo] target(s) in 7m 46s CARGO_STATUS=0 No product build or test gate applied because no product files changed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#571
No description provided.