Spaces:
Running on T4
Running on T4
Download docs/video-score.schema.json from modventures/baseball-engine: direct link, hf CLI and curl.
- Browser
- Download file 6.64 kB
-
https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/docs/video-score.schema.json
- Command line
-
hf download hf://spaces/modventures/baseball-engine/docs/video-score.schema.json
-
curl -L -o video-score.schema.json https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/docs/video-score.schema.json
6.64 kB
| { | |
| "$defs": { | |
| "FeatureScore": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "key": { | |
| "enum": [ | |
| "load_timing", | |
| "hip_shoulder_separation", | |
| "bat_path_contact" | |
| ], | |
| "title": "Key", | |
| "type": "string" | |
| }, | |
| "label": { | |
| "title": "Label", | |
| "type": "string" | |
| }, | |
| "status": { | |
| "enum": [ | |
| "scored", | |
| "unavailable" | |
| ], | |
| "title": "Status", | |
| "type": "string" | |
| }, | |
| "grade": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "needs_practice", | |
| "mixed", | |
| "clear" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Grade" | |
| }, | |
| "grade_label": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Grade Label" | |
| }, | |
| "points": { | |
| "anyOf": [ | |
| { | |
| "maximum": 2, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Points" | |
| }, | |
| "max_points": { | |
| "const": 2, | |
| "default": 2, | |
| "title": "Max Points", | |
| "type": "integer" | |
| }, | |
| "reason_code": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Reason Code" | |
| }, | |
| "explanation": { | |
| "title": "Explanation", | |
| "type": "string" | |
| }, | |
| "evidence_frame_ids": { | |
| "items": { | |
| "type": "integer" | |
| }, | |
| "title": "Evidence Frame Ids", | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "key", | |
| "label", | |
| "status", | |
| "grade", | |
| "grade_label", | |
| "points", | |
| "reason_code", | |
| "explanation", | |
| "evidence_frame_ids" | |
| ], | |
| "title": "FeatureScore", | |
| "type": "object" | |
| }, | |
| "RepVideoScore": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "rep": { | |
| "minimum": 1, | |
| "title": "Rep", | |
| "type": "integer" | |
| }, | |
| "status": { | |
| "enum": [ | |
| "available", | |
| "unavailable" | |
| ], | |
| "title": "Status", | |
| "type": "string" | |
| }, | |
| "value": { | |
| "anyOf": [ | |
| { | |
| "maximum": 100, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Value" | |
| }, | |
| "features_scored": { | |
| "maximum": 3, | |
| "minimum": 0, | |
| "title": "Features Scored", | |
| "type": "integer" | |
| }, | |
| "features_total": { | |
| "const": 3, | |
| "default": 3, | |
| "title": "Features Total", | |
| "type": "integer" | |
| }, | |
| "reason_code": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Reason Code" | |
| }, | |
| "explanation": { | |
| "title": "Explanation", | |
| "type": "string" | |
| }, | |
| "breakdown": { | |
| "items": { | |
| "$ref": "#/$defs/FeatureScore" | |
| }, | |
| "maxItems": 3, | |
| "minItems": 3, | |
| "title": "Breakdown", | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "rep", | |
| "status", | |
| "value", | |
| "features_scored", | |
| "reason_code", | |
| "explanation", | |
| "breakdown" | |
| ], | |
| "title": "RepVideoScore", | |
| "type": "object" | |
| } | |
| }, | |
| "additionalProperties": false, | |
| "properties": { | |
| "name": { | |
| "const": "Experimental video score", | |
| "default": "Experimental video score", | |
| "title": "Name", | |
| "type": "string" | |
| }, | |
| "rubric_version": { | |
| "const": "visual-swing-v1", | |
| "default": "visual-swing-v1", | |
| "title": "Rubric Version", | |
| "type": "string" | |
| }, | |
| "basis": { | |
| "const": "visual_rubric", | |
| "default": "visual_rubric", | |
| "title": "Basis", | |
| "type": "string" | |
| }, | |
| "scope": { | |
| "const": "scorable_reviewed_swings_only", | |
| "default": "scorable_reviewed_swings_only", | |
| "title": "Scope", | |
| "type": "string" | |
| }, | |
| "status": { | |
| "enum": [ | |
| "available", | |
| "unavailable" | |
| ], | |
| "title": "Status", | |
| "type": "string" | |
| }, | |
| "value": { | |
| "anyOf": [ | |
| { | |
| "maximum": 100, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Value" | |
| }, | |
| "max_value": { | |
| "const": 100, | |
| "default": 100, | |
| "title": "Max Value", | |
| "type": "integer" | |
| }, | |
| "accuracy_validated": { | |
| "const": false, | |
| "default": false, | |
| "title": "Accuracy Validated", | |
| "type": "boolean" | |
| }, | |
| "judgment_eligible": { | |
| "const": false, | |
| "default": false, | |
| "title": "Judgment Eligible", | |
| "type": "boolean" | |
| }, | |
| "reviewed_reps": { | |
| "items": { | |
| "type": "integer" | |
| }, | |
| "maxItems": 8, | |
| "title": "Reviewed Reps", | |
| "type": "array" | |
| }, | |
| "scored_reps": { | |
| "items": { | |
| "type": "integer" | |
| }, | |
| "maxItems": 8, | |
| "title": "Scored Reps", | |
| "type": "array" | |
| }, | |
| "rep_scores": { | |
| "items": { | |
| "$ref": "#/$defs/RepVideoScore" | |
| }, | |
| "maxItems": 8, | |
| "title": "Rep Scores", | |
| "type": "array" | |
| }, | |
| "reason_code": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Reason Code" | |
| }, | |
| "explanation": { | |
| "title": "Explanation", | |
| "type": "string" | |
| }, | |
| "notice": { | |
| "default": "Subjective AI ratings of visible patterns in sampled images. Accuracy is not validated. This is not the Mechanics score, a player-ability rating, or a measured timing/separation/contact score.", | |
| "title": "Notice", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "status", | |
| "value", | |
| "reviewed_reps", | |
| "scored_reps", | |
| "rep_scores", | |
| "reason_code", | |
| "explanation" | |
| ], | |
| "title": "VideoScore", | |
| "type": "object" | |
| } | |