Skip to content

refactor: simplify Core and backend for 0.8.22 - #166

Merged
flyingriverhorse merged 2 commits into
masterfrom
0822
Sep 13, 2026
Merged

flyingriverhorse merged 2 commits into
masterfrom
0822

Conversation

@flyingriverhorse

Copy link
Copy Markdown
Owner

Extract helpers from all 59 production functions above CCN 10 while preserving validation, tuning, preprocessing, preview and monitoring behavior. Keep reporting above CCN 8 and synchronize release metadata.

Add real mixed-data pipeline and Core regression round-trip tests across pandas/Polars and Grid/Halving Grid, covering fold isolation, persisted predictions, fingerprints, preview receipts and drift alerts.

Record pre-existing branched serving defect OC-320 with four strict expected failures and an untouched e1bc7b4 reproduction. The defect is not fixed by this refactor; the audit queue is 59 open and 4 parked.

Validation: 46 focused Core tests passed; 8 backend pipeline tests passed with 4 expected failures; full-source CCN 10 gates and version checks passed. Pre-commit hooks passed. Broader suite and frontend build evidence is recorded in the 0.8.22 verification reports.

Summary

Describe the change and what it improves for users.

Type of change

  • Bug fix
  • New feature
  • Docs only
  • Refactor/maintenance

Checklist

  • Code builds and basic tests pass locally (or in CI)
  • Added/updated tests where appropriate
  • Backend param/enum changes are mirrored in frontend/ml-canvas/src/modules/nodes/
  • Updated changelog/ and docs/README where appropriate
  • No secrets or sensitive data committed
  • All commits are signed off (DCO) with git commit -s

How was this verified?

Describe the commands, tests, or manual checks you ran, and what they showed
(e.g. uv run pytest tests -q — 1316 passed; or a before/after screenshot).
Evidence over assertions: a fix without a failing-test-first note or a
reproduction check is harder to review.

Screenshots or demo (optional)

Related issues

Fixes #

Extract helpers from all 59 production functions above CCN 10 while
preserving validation, tuning, preprocessing, preview and monitoring
behavior. Keep reporting above CCN 8 and synchronize release metadata.

Add real mixed-data pipeline and Core regression round-trip tests across
pandas/Polars and Grid/Halving Grid, covering fold isolation, persisted
predictions, fingerprints, preview receipts and drift alerts.

Record pre-existing branched serving defect OC-320 with four strict
expected failures and an untouched e1bc7b4 reproduction. The defect is
not fixed by this refactor; the audit queue is 59 open and 4 parked.

Validation: 46 focused Core tests passed; 8 backend pipeline tests passed
with 4 expected failures; full-source CCN 10 gates and version checks
passed. Pre-commit hooks passed. Broader suite and frontend build evidence
is recorded in the 0.8.22 verification reports.

Signed-off-by: flyingriverhorse <buzzycarl@gmail.com>

@sourcery-ai sourcery-ai 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.

Sorry @flyingriverhorse, your pull request is larger than the review limit of 150,000 diff characters

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 55 complexity

Metric Results
Complexity 55

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Reset the shared limiter between backend tests so independent drift
requests do not exhaust each other's budgets. Verify that the real
decorated route still rejects the twenty-first request from one client
while allowing another client's requests.

Add 35 Core regression cases for SHAP retries, strict casting, text
fallback, tuning/refit diagnostics and leakage validation. Cover all 218
changed executable lines and 99 of 100 branch exits in the six reported
files; retain the unreachable SHAP guard without coverage exclusions.

Record full verification: Core 8,885 passed with 97.42% branch-inclusive
coverage; backend 3,656 passed on each engine, with four known OC-320
xfails and one external-workspace smoke test deselected per run.
Production code and rate-limit settings remain unchanged.

Signed-off-by: flyingriverhorse <buzzycarl@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@flyingriverhorse
flyingriverhorse merged commit 689861a into master Sep 13, 2026
24 checks passed
@flyingriverhorse
flyingriverhorse deleted the 0822 branch September 13, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant