agent-mlflow-skill-inference-test

Test local model predict contracts and response schemas using input examples.

1|Updated Jun 18, 2026
One-click install
npx skills add https://github.com/choijinwon/opecode-ml-skill- --skill agent-mlflow-skill-inference-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-mlflow-skill-inference-test
Source: https://github.com/choijinwon/opecode-ml-skill-/tree/main/.opencode/skills/agent-mlflow-skill-inference-test
Command: npx skills add https://github.com/choijinwon/opecode-ml-skill- --skill agent-mlflow-skill-inference-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that models are ready for deployment by testing their inference capabilities and validating their response schemas.

Core Features & Use Cases

  • Inference Test Execution: Validates the predict contract and response schema of a model.
  • Entry Point Identification: Determines the correct inference entrypoint for a model.
  • Input Example Validation: Checks the functionality of the predict function using an input_example.json.
  • Schema Compliance: Ensures that the model's response adheres to the expected schema.

Quick Start

Run the inference test for your model by executing the skill with the provided model and input file.

Frequently Asked Questions about agent-mlflow-skill-inference-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test model inference and schema compliance before deployment?

To test model inference and schema compliance before deployment, you can run an inference test that validates the predict contract using an input_example.json file. This verifies the model's response schema and confirms the predict function works correctly.

What is local model inference testing for the predict function?

Local model inference testing is the process of validating a model's predict function and response schema locally before deployment. It uses an input example to check the predict contract, ensuring the model returns outputs that adhere to the expected schema.

How do I validate my model's response schema against expected outputs?

You validate your model's response schema by executing an inference test with a provided input_example.json. The test checks the predict function's functionality and ensures the returned response strictly adheres to the expected schema structure.

Do I need an input_example.json file to test my local model?

Yes, you need an input_example.json file to test your local model. The inference test uses this specific input file to check the functionality of the predict function and verify that the resulting output meets the required schema compliance.

Can I identify the correct inference entrypoint for my model automatically?

Yes, this inference testing process includes entry point identification to determine the correct inference entrypoint for your model. It automatically locates and validates the predict contract to ensure the model is ready for deployment.

Why is my model predict function returning schema errors during testing?

Schema errors during testing occur when the model's predict function returns a response that fails to adhere to the expected schema. Running an inference test with an input_example.json identifies these compliance issues and verifies the predict contract before deployment.