Skip to content

Profile Python 3.15 processing and improve headless backend ergonomics - #268

Merged
docxology merged 4 commits into
mainfrom
codex/python315-backend-20261018
Oct 18, 2026
Merged

docxology merged 4 commits into
mainfrom
codex/python315-backend-20261018

Conversation

@docxology

@docxology docxology commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Lightweight directory processing rescanned each model during validation, eagerly imported unrelated subsystems, and could report success after a selected file or report write failed. This reuses actual parse metadata, preserves the 16 public exports through lazy resolution, and returns explicit failures while retaining successful siblings. UTF-8 single-file processing and atomic JSON reports now work through a headless CLI.

just backend-json and just profile-backend use an isolated Python 3.15 source interpreter. Profiling retains input/source/runtime hashes, raw unprofiled wall/CPU samples, a separate deterministic trace and failed/cancelled receipts. Existing scientific dependency profiles remain unchanged; this does not qualify the complete inference package on Python 3.15.

Validation:

  • Five unprofiled warm samples over all 38 authored models: median 1.304s before, 0.688s after, approximately 1.90×. Every original parse/validation field matched after removing timestamps. This is lightweight processing, not whole-pipeline or scientific-inference acceleration.
  • Actual bare Python 3.15 CLI/profile and isolated just recipe passed. The focused Python 3.15 processing suite passed 21 tests; 57 Python 3.14 consumer checks passed. Those selections overlap.
  • The full declared core selection passed 8,168 tests plus 10 subtests, with 1,087 deselected and 55 existing warnings. Mypy passed all 764 source files. Lint, format, import boundaries, documentation, flag parity, MCP/skills and existing ratchets passed.
  • Python 3.15 wall/CPU statistical sampling was attempted and denied by macOS process-memory permissions. Actual failure receipts remain retained; deterministic tracing passed. No sampling or whole-stack Python 3.15 acceptance is claimed.

The three optional developer recipes now preserve argument boundaries with Just positional arguments. Actual backend, profile and native-LLM controls passed with paths containing spaces. The current managed Gemma3:12b default produced nine answers from two fresh requests; 28 native provider/API tests passed with no skips. The original temporary native-test driver receipt-key error and its separate read-only validation remain retained.

The genuine manuscript render, 152 focused manuscript tests and 31-page visual review passed. A subsequent hosted render at the recipe-only revision also passed strict comparison against committed custody. Companion PR #188 passed the full hosted Python, native Lean and publication-render lanes and was merged ordinarily at 3a382d43f675e86d66a1a91e6354a5ee239ad8ce. The final commit pins that reviewed companion; all final GNN checks and published-main checks are required before closeout.

@docxology
docxology marked this pull request as ready for review October 18, 2026 07:01
@docxology
docxology merged commit 447b641 into main Oct 18, 2026
29 checks passed
@docxology
docxology deleted the codex/python315-backend-20261018 branch October 18, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant