score_portfolio
Score several AI initiatives as one AI BVF v1.0 portfolio and return the board-level position: counts of Accelerate / Fix / Stop, aggregate modelled EUR value range, mean decision score, the highest-value initiative, the highest-risk initiative, and every individual result. CALL THIS when the user has a portfolio document and needs to know what it contains before deciding funding or order, instead of looping score_initiative one initiative at a time. The single readiness value applies across every initiative: it changes capture rates and the pace-layer drag, so measure it with infer_readiness first when process data exists. The portfolio must carry organization.revenue_eur for EUR values; initiatives with missing revenue or invalid taxonomy are reported as skipped, never silently counted. Run validate_portfolio first only when the document shape is uncertain, then call sequence_portfolio when the verdicts need turning into a 90-day order. Deterministic calculation with no authentication. Anonymous usage telemetry may be sent; set AIBVF_TELEMETRY_DISABLE=1 to opt out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portfolio | Yes | AI BVF v1.0 portfolio with organization and initiatives. Each initiative carries id, name, function, ai_tier and four scores, supplied as numbers or { value, confidence } objects. Retain each initiative's work_architecture, pillar_basis and optional signal_completeness. pillar_basis marks given or estimated values; estimated pillars are recalculated for the current context and retain an input-quality reduction. Supplied values without provenance are caller-provided, with no claim of evidence verification. Accelerate requires the pillar thresholds and all four work-architecture checks. Missing work-design evidence returns Fix for an otherwise green case. organization.revenue_eur is required for benefit modelling. Validate unfamiliar documents first. | |
| readiness | Yes | Organisational readiness applied to every initiative in the portfolio. Honest self-assessment: agile = cross-functional, fast decisions; traditional = functional hierarchy; siloed = rigid, hand-off heavy. The portfolio schema does not carry per-initiative readiness; this single value sets the capture rate for the whole portfolio and, paired with the ai_tier of each initiative, its pace-layer drag — lower readiness against a higher tier discounts the modelled EUR value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total initiatives in the portfolio (scored + skipped). | |
| valid | Yes | True when the portfolio passed schema validation. False means no initiatives were scored. | |
| summary | Yes | ||
| feedback | No | Optional three-question feedback route, present only when any initiative was Fix or Stop. The page records the response anonymously only when the user chooses an answer; no assessment data is attached. | |
| readiness | Yes | Readiness value applied across all initiatives. | |
| bvf_version | Yes | AI BVF protocol version used. | |
| organization | Yes | Echo of the portfolio organisation fields applied to scoring. | |
| interpretation | No | Meaning and limits of compatibility fields. Present these labels when explaining the result. | |
| validation_errors | No | Empty when valid; otherwise one entry per schema violation. | |
| advisory_next_step | No | Optional CTA, present only when any initiative was Fix or Stop. | |
| scored_initiatives | Yes | Per-initiative scoring result. | |
| skipped_initiatives | Yes | Initiatives that could not be scored, with the reason. Empty when all initiatives scored. | |
| aggregate_net_value_eur | Yes | Arithmetic sum of benefit hypotheses. Reconcile overlapping scope, double counting and project costs before using this as a portfolio business case. | |
| highest_risk_initiative | No | Scored initiative most at risk: worst classification (Stop > Fix > Accelerate), tie-broken by lowest decision_confidence. Omitted when none were scored. | |
| top_initiative_by_value | No | Scored initiative with the highest mid-point readiness-adjusted EUR benefit. Omitted when none were scored. | |
| mean_decision_confidence | Yes | Mean decision score across scored initiatives (0–100); 0 when none were scored. |