npm.io
0.3.3 • Published 5d ago

@aibvf/core

Licence
MIT
Version
0.3.3
Deps
0
Size
90 kB
Vulns
0
Weekly
291

@aibvf/core

AI BVF v1.0 — open protocol for scoring AI investments. Validator and scoring engine.

Source: github.com/Bahamas1717/ai-bvf · star if this helped · Issues · Built by Craig Horton Advisory

npm install @aibvf/core

Validate 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,
  },
});

console.log(r.classification);   // 'Fix'
console.log(r.net_low_eur);      // ~75.6M
console.log(r.net_high_eur);     // ~247M

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.

Keywords