Skip to content

Improve CPU histogram execution and extend application evaluation - #24

Merged
jxucoder merged 13 commits into
mainfrom
codex/covertype-cpu-profile
Sep 7, 2026
Merged

jxucoder merged 13 commits into
mainfrom
codex/covertype-cpu-profile

Conversation

@jxucoder

@jxucoder jxucoder commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

Full Covertype validation previously exceeded the fixed 90-second fit cap. Hoist invariant candidate row hashing and reuse selected histogram columns while preserving exact candidate identities and reduction behavior. All five frozen Covertype folds now finish within the unchanged cap and reproduce predictions exactly in fresh processes.

Extend the current CPU evaluation workers for quantiles, counts/exposure, severity, aggregate loss, matched frequency-severity composition, fixed-scale survival, structured Formula and query-aware ranking. Commit five-fold validation and replay artifacts for the real-data integrations; ranking currently has synthetic adapter checks only. Record the CPU exit audit, remaining gates and first GPU implementation scope in Sprint 062.

Validation

  • 923 CPU tests passed locally.
  • Ruff passed for production, current tests and changed Python support files.
  • Strict MkDocs build and source/wheel builds passed.
  • Exact histogram/candidate conformance and fresh inference checks are included in tests and committed raw evidence.
  • Whitespace review found only a trailing blank line in the preserved raw profile report.

Scope and remaining work

These bounded validation runs do not establish baseline quality or speed parity, formal authoring/adoption acceptance, or completion of v1. CUDA remains unimplemented. Real MSLR binding, real searches, joint composition selection, installed D5 probes and formal gate reconciliation remain open. Histogram reuse increases temporary contiguous storage; the tradeoff is documented with the bounded profile evidence.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-07T03:29:05.921345Z 5c61849 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jxucoder
jxucoder merged commit 47108db into main Sep 7, 2026
5 checks passed
@jxucoder
jxucoder deleted the codex/covertype-cpu-profile branch September 7, 2026 03:25

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5c618497b3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +67 to +68
if digest(input_path) != frozen["artifacts"]["worker-input"]["sha256"]:
raise ValueError("worker packet differs from frozen hash")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Select the Formula packet when replaying A12

When this helper receives an A12 summary emitted by openboost_worker_smoke.py, the job's input_npz points to the dedicated formula-input artifact, while this unconditional check compares it with the ordinary worker-input hash. Those packets differ because the ordinary packet retains age as a predictor, so the helper raises before replaying any A12 cell. Select the expected artifact role based on the application.

Useful? React with 👍 / 👎.

Comment on lines +82 to +86
np.savez(
out / "features.npz",
x=arrays["x_validation"],
row_ids=arrays["validation_row_ids"],
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Carry A7 exposure into replay feature packets

When replaying an A7 summary produced by openboost_worker_smoke.py, fitting succeeds from the original packet, but this reconstructed inference packet drops exposure_validation. openboost_predict.py explicitly requires an exposure field for A7, so its subprocess exits nonzero and every otherwise successful A7 replay is recorded as an error. Include the application-specific exposure alongside the features.

Useful? React with 👍 / 👎.

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