Repository navigation
refactor(qpk): B06 value-target execution vs presentation facade - #654
Merged
Merged
Conversation
B06/N05 first slice: add presentation types and build_value_target_execution_runtime_plan without dashboard-layout kwargs. Keep build_value_target_runtime_plan as a compatibility facade so existing platform imports/payloads stay behavior-equivalent.
1 of 2 tasks
Pigbibi
added a commit
that referenced
this pull request
Oct 9, 2026
B06/N05 follow-up after #654: keep ValueTargetExecutionAnnotations as the compat wire aggregate, but make ValueTargetExecutionSemantics + ValueTargetDisplayAnnotations the preferred construction path. - VALUE_TARGET_DISPLAY_FIELD_NAMES as presentation field source of truth - split/resolve helpers; runtime plan accepts semantics=/display= - build_value_target_execution_annotations uses split→merge (equiv) - do not delete mixed fields yet (B03/B12 consumer adoption gate) Co-authored-by: Pigbibi <pigbibi@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
quant_platform_kit.common.presentationwith semantics / display / plan-presentation types.build_value_target_execution_runtime_plandoes not take dashboard-layout kwargs (portfolio_rows_layout/execution_fieldslive onValueTargetPlanPresentation).build_value_target_runtime_planremains a compatibility facade (same kwargs → same payload).docs/b06_execution_presentation_facade.zh-CN.md.Out of scope (follow-ups)
decision_mappercallers to the new APIValueTargetExecutionAnnotationsruntime_inputs.py(B03/B07)Test plan
uv run --with pytest python -m pytest tests/test_value_target_presentation_facade.py tests/test_strategy_contracts.py -q(38 passed)