Skip to content

Add request-bound SOXL error 321 classifier - #239

Closed
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-p3-soxl-request-id-bound-321-classifier-fresh-base-20260807
Closed

Add request-bound SOXL error 321 classifier#239
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-p3-soxl-request-id-bound-321-classifier-fresh-base-20260807

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Fresh-base replacement for closed-unmerged #238.

  • Bound synthetic IBKR 321 diagnostics to the active request
  • Persist only sanitized commitments and aggregate counts
  • Cover contextual provider causes and contradiction rejection

No provider calls, credentials, bars, backtests, promotion, or runtime changes.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi Pigbibi closed this Aug 6, 2026

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

ℹ️ 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 +433 to +436
assert provider_end_time in {
CUTOFF.strftime("%Y%m%d %H:%M:%S UTC"),
CUTOFF.strftime("%Y%m%d-%H:%M:%S"),
}

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 Assert the actual serialized provider end time

When validating the two accepted IBKR end-time representations, this assertion only checks each hard-coded parameter against the same two locally formatted constants; provider_end_time is never passed through or captured from the code under test. Both parameterized runs therefore exercise identical behavior, and the test would still pass if the provider serialization emitted an invalid third format, leaving the error-321 scenario it advertises untested.

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