@aibvf/core
v0.10.4
Published
AI BVF — open protocol for scoring AI investments. Validator and scoring engine.
Maintainers
Readme
@aibvf/core
AI BVF v1.0 — open protocol for scoring AI investments. Validator and scoring engine.
Source: github.com/Craig-Horton/ai-bvf · ⭐ star if this helped · Issues · Built by Craig Horton Advisory
npm install @aibvf/coreValidate a portfolio
import { validate } from '@aibvf/core';
const result = validate(portfolioJson);
if (!result.valid) console.error(result.errors);Score an initiative
import { score } from '@aibvf/core';
const r = score({
industry: 'manufacturing',
revenue_eur: 2_400_000_000,
function: 'supply',
ai_tier: 'gen2',
readiness: 'traditional',
scores: {
strategic_alignment: 72,
financial_return: 64,
change_enablement: 48,
governance_risk: 35,
},
work_architecture: {
workflow_redesigned: true,
roles_redesigned: false,
decision_rights_defined: true,
measures_updated: false,
},
});
console.log(r.classification); // 'Fix'
console.log(r.work_architecture.gaps); // roles and measures still need redesign
console.log(r.net_low_eur); // ~75.6M
console.log(r.net_high_eur); // ~247MThe work architecture fields are optional inputs and accept only evidence the organisation has. An explicit false value or an omitted check holds an otherwise green initiative at Fix, while the response names each gap or unknown and returns the next question to ask. Accelerate requires all four checks to be evidenced as complete.
Spec
Full specification at www.aibvf.com/protocol. JSON Schema at www.aibvf.com/bvf-protocol.schema.json.
License
MIT. The underlying specification is CC-BY-4.0.
