Skip to content

fix: persist lifecycle backtests for drift checks#82

Merged
Pigbibi merged 16 commits into
mainfrom
codex/quant-p0-20260710
Jul 11, 2026
Merged

fix: persist lifecycle backtests for drift checks#82
Pigbibi merged 16 commits into
mainfrom
codex/quant-p0-20260710

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • switch drift-check to QuantPlatformKit reusable drift workflow
  • require lifecycle snapshot + backtest preflight before drift
  • persist walk-forward baseline backtests into lifecycle store

Validation

  • PYTHONPATH=/Users/lisiyi/Projects/_worktrees/quant_p0/QuantPlatformKit/src python3 -m pytest -q tests/test_drift_workflow_config.py tests/test_run_walk_forward_backtest.py

Dependency

  • merge after QuantStrategyLab/QuantPlatformKit reusable drift workflow lands on main

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown

🤖 Codex PR Review

⚠️ Review unavailable: Codex review quota or capacity is unavailable. No direct paid API fallback was used; required CI checks remain the merge gate.

@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: ac3eece2fd

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread scripts/run_walk_forward_backtest.py Outdated
Comment thread tests/test_run_walk_forward_backtest.py Outdated

@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: f15ef912af

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml

@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: 61f6aa77ad

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml Outdated
Comment thread scripts/run_walk_forward_backtest.py
@Pigbibi
Pigbibi enabled auto-merge July 10, 2026 17:41
@Pigbibi
Pigbibi force-pushed the codex/quant-p0-20260710 branch from 9fb4afb to 0c3a2d6 Compare July 10, 2026 17:43

@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: 2089407f2c

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml
@Pigbibi
Pigbibi force-pushed the codex/quant-p0-20260710 branch 2 times, most recently from bbcdcca to 6904c8e Compare July 10, 2026 18:02

@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: 062d0f956c

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread scripts/run_walk_forward_backtest.py
Comment thread scripts/run_walk_forward_backtest.py
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi force-pushed the codex/quant-p0-20260710 branch from 062d0f9 to 4044ec7 Compare July 10, 2026 18:53
Pigbibi and others added 2 commits July 11, 2026 03:02
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi force-pushed the codex/quant-p0-20260710 branch from 10ed16a to 7959470 Compare July 10, 2026 19:17

@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: 10ed16a324

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi force-pushed the codex/quant-p0-20260710 branch from 7713ed1 to 1be0b37 Compare July 10, 2026 19:41
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi force-pushed the codex/quant-p0-20260710 branch from 2764b28 to 9137f80 Compare July 10, 2026 20:01
Pigbibi and others added 5 commits July 11, 2026 04:03
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>

@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: cddce269e5

ℹ️ 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 thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml Outdated
Comment thread .github/workflows/drift-check.yml
Comment thread .github/workflows/drift-check.yml Outdated
Pigbibi and others added 4 commits July 11, 2026 07:49
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@chatgpt-codex-connector

This comment has been minimized.

Co-Authored-By: Codex <noreply@openai.com>
@chatgpt-codex-connector

This comment has been minimized.

@Pigbibi

Pigbibi commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Review findings reconciled: the reusable QPK workflow restores the uploaded lifecycle store into the downstream job, so no cloud promotion/client is required; producer checkout is pinned to the artifact run SHA; baselines use QPK metrics from historical walk-forward folds while monitored returns are generated separately through the latest real input date.

@Pigbibi
Pigbibi merged commit 8e0140d into main Jul 11, 2026
4 checks passed
@Pigbibi
Pigbibi deleted the codex/quant-p0-20260710 branch July 11, 2026 00:51
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