Skip to content

fix(binance): retain valid dividend surface diagnosis - #273

Merged
Pigbibi merged 2 commits into
mainfrom
fix/binance-daily-state-20260913
Sep 13, 2026
Merged

Pigbibi merged 2 commits into
mainfrom
fix/binance-daily-state-20260913

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Preserve an independently complete BNB dividend surface diagnosis when the separate dribblet surface fails validation. The consumer now reuses the existing private in-memory dividend rows and surface_diagnostics to validate BNB asset, time window, unique identifiers, decimal amounts, and residual equality while keeping overall wallet completeness, dust, combined, and causal results unknown.

The output also retains only integer direction values plus missing and mixed flags. It does not infer net direction from amount or enInfo, and it never exposes raw rows, amounts, IDs, timestamps, or metadata.

Validation

  • PYTHONPATH=. uv run --no-sync pytest -q tests/test_earn_forward_diagnosis.py tests/test_balance_flow_diagnostics.py — 54 passed
  • PYTHONPATH=. uv run --no-sync pytest -q — 867 passed, 91 subtests passed
  • uv run --no-sync ruff check scripts/migrate_daily_accounting_state.py tests/test_earn_forward_diagnosis.py
  • git diff --check

No production accounting, recovery, risk, owner, or execution behavior was changed. No runtime diagnosis was dispatched by this change.

Pigbibi and others added 2 commits September 13, 2026 19:40
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit eb62d21 into main Sep 13, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/binance-daily-state-20260913 branch September 13, 2026 11:46
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