Skip to content

fix(console): label approximate and unknown return methods - #718

Merged
Pigbibi merged 2 commits into
mainfrom
codex/dietz-method-display-20261017
Oct 17, 2026
Merged

Pigbibi merged 2 commits into
mainfrom
codex/dietz-method-display-20261017

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

When the API identifies a Modified Dietz approximation, the performance summary and return curve currently present it as unqualified TWR. This change displays a shared approximate-method label, handles explicit unknown/null or inconsistent method metadata separately from older responses without those fields, and preserves each currency’s own method, freshness and unavailable reasons. It also updates the method explanation and generated console assets.

The focused regression renders the production React components in both languages against six synthetic API/core fixtures and explicit metadata variants. The existing Validate workflow now runs this regression.

Validation: 100 focused assertions, six affected regression scripts, TypeScript/Vite/size-budget build, and 25 generated-asset integrity checks passed locally. Eight synthetic desktop/narrow screenshots were inspected, including separate USD Dietz and HKD unadjusted curves. No financial values are recalculated in the frontend.

Scope: optional display metadata compatibility with #712. This PR does not merge that draft, change backend return/amount calculations, risk rules or switches, or deploy the Console. Cash-flow source adoption and real-account chain verification remain separate.

Pigbibi and others added 2 commits October 17, 2026 19:16
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi marked this pull request as ready for review October 17, 2026 11:34
@Pigbibi
Pigbibi merged commit 6a00df4 into main Oct 17, 2026
7 checks passed
@Pigbibi
Pigbibi deleted the codex/dietz-method-display-20261017 branch October 17, 2026 11:34
Pigbibi pushed a commit that referenced this pull request Oct 17, 2026
Retain main history members, coverage, recovery contracts and #718 metadata.
Resolve three compatibility conflicts in the authorized five paths; frontend
contracts use approved exact C bytes. Propagate Dietz failure reasons without
changing asset amounts, calendars or disabled/no-source behavior.

All other changes are inherited by the normal draft/main merge. Local only.
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