Skip to main content

Jentic Apitools Score - Calculate AI-readiness scores for OpenAPI specifications using the 6-dimension framework

Project description

score

AI-readiness scoring framework for OpenAPI specifications using 6 dimensions organized into 3 groups: FDX (Foundational and DX), AIRU (AI-Readiness and Usability), and TSD (Trust, Security and Discoverability).

Key Features

The scoring framework evaluates specs across six dimensions (FC, DXJ, ARAX, AU, SEC, AID), each fed by multiple signals that measure specific quality aspects like spec validity, example density, description coverage, error standardization, auth strength, and more. Signal values are normalized and aggregated into dimension scores (0-100), group scores, and a final weighted score using a harmonic mean. The final score maps to a letter grade (A+ through F) and a maturity level (non-ready, foundational, ai-aware, ai-ready, agent-optimized).

Dependencies

Internal: jentic.apitools.common, jentic.apitools.analyze.

Installation

uv add score

Quick Start

from pathlib import Path
from jentic.apitools.score.score import calculate_score

score = calculate_score(
    spec_path=Path("spec.json"),
    spec_content={"openapi": "3.1.0", ...},
    diagnostics=diagnostics,
    vendor="example",
    api_name="my-api",
    version="1.0",
    oas_version="3.1.0",
    oas_request_meta=meta,
    source_url="https://example.com/api.json",
    artifacts_root=Path("/tmp"),
)

Testing

uv run --package score pytest packages/score/tests -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jentic_apitools_score-0.0.0a8-py3-none-any.whl (95.0 kB view details)

Uploaded Python 3

File details

Details for the file jentic_apitools_score-0.0.0a8-py3-none-any.whl.

File metadata

File hashes

Hashes for jentic_apitools_score-0.0.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 e392c490f3cfed30453ce3e32410fd0fb32960735745241eb73b208f37292f05
MD5 550dfec91c4c6291d5d6113e368da213
BLAKE2b-256 675ebba94c29844d592000282716dc9e3e5aaf18e35210a3991a4c984bc87b00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page