Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GingerlyData247/SOTeam4-P2/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Path Parameters
The unique identifier of the model artifact to rate
Response
Returns aModelRating object containing all computed metrics.
The name of the rated model
The artifact category (always “model” for this endpoint)
Aggregate trustworthiness score (0.0 to 1.0) computed as the average of all individual metrics
Total time in milliseconds to compute all metrics
Individual Metrics
Each metric includes both a score (0.0 to 1.0) and a latency measurement (milliseconds):Measures documentation quality and ease of onboarding for new users
Time in milliseconds to compute ramp-up time score
Evaluates project resilience based on contributor distribution
Time in milliseconds to compute bus factor score
Validates performance benchmarks mentioned in model documentation
Time in milliseconds to compute performance claims score
License compatibility and permissiveness score
Time in milliseconds to compute license score
Combined quality assessment of training datasets and associated code
Time in milliseconds to compute dataset and code score
Evaluates the quality and documentation of training datasets
Time in milliseconds to compute dataset quality score
Assesses code maintainability, testing, and documentation
Time in milliseconds to compute code quality score
Measures availability of training scripts, configs, and reproducibility artifacts
Time in milliseconds to compute reproducibility score
Evaluates community engagement, model card completeness, and peer review activity
Time in milliseconds to compute reviewedness score
Lineage-based score combining the model’s own metrics with ancestor model quality
Time in milliseconds to compute tree score
Hardware compatibility scores for different deployment targetsProperties:
raspberry_pi(number): Compatibility score for Raspberry Pi (0.0 to 1.0)jetson_nano(number): Compatibility score for Jetson Nano (0.0 to 1.0)desktop_pc(number): Compatibility score for desktop PC (0.0 to 1.0)aws_server(number): Compatibility score for AWS server (0.0 to 1.0)
Time in milliseconds to compute size compatibility scores
Example Request
Example Response
Error Responses
Artifact not found - the specified model ID does not exist in the registry
Bad request - rating is only supported for model artifacts (not datasets or code)
Internal error during metric computation
Behavior Notes
- Metrics are computed at ingestion time and cached in artifact metadata
- If cached metrics are available and valid, they are returned immediately
- If metrics are missing or invalid, they are recomputed on-demand
- All metric scores are normalized to the range [0.0, 1.0]
- Latencies are measured in milliseconds and represent actual computation time
- The
net_scoreis the arithmetic mean of all individual metric scores