Skip to content

Treat zero-confidence Idzorek views as uninformative - #780

Draft
Kiril1Shevtsov wants to merge 1 commit into
PyPortfolio:mainfrom
Kiril1Shevtsov:fix/idzorek-zero-confidence-neutral-view
Draft

Kiril1Shevtsov wants to merge 1 commit into
PyPortfolio:mainfrom
Kiril1Shevtsov:fix/idzorek-zero-confidence-neutral-view

Conversation

@Kiril1Shevtsov

Copy link
Copy Markdown

A zero-confidence Idzorek view represents no information. The existing finite uncertainty placeholder can still move the posterior when the prior covariance is large relative to it.

The posterior return and covariance solves now use only active Idzorek views. This retains the public shapes of P, Q and omega, preserves explicit finite omega overrides, and keeps the existing cached view system available. With all confidences zero, posterior returns equal the prior and predictive covariance is (1 + tau) * cov_matrix. The separate singular-weight fallback in #769 is unchanged.

Validation at a6638d2: 16 selected synthetic tests passed with the actual package imports; nine regression cases failed on the unmodified source. Coverage includes covariance scale, zero/mixed/positive confidence, labels, explicit uncertainty, cache order, and an existing-behavior rank-one covariance control. Eighteen market-fixture tests were not selected; full CI is not claimed.

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