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.
Overview
The Trustworthy Model Registry CLI (run) is a command-line tool for evaluating AI models and datasets against trustworthiness metrics. The CLI supports dependency installation, test execution, and batch model evaluation.
Prerequisites
Before installing the CLI, ensure you have:- Python 3.8+ installed on your system
- pip package manager
- Git (for cloning the repository)
Installation Steps
1. Clone the Repository
2. Make the Run Script Executable
The CLI entrypoint is located at./run.py in the project root. Make it executable:
On Windows, you may need to run the script using Python explicitly:
3. Install Dependencies
Use the CLI’s built-in install command to set up all required dependencies:requirements.txt- Core dependencies (requests, huggingface_hub, beautifulsoup4, gitpython, etc.)requirements-dev.txt- Development dependencies (pytest, coverage, etc.)
The
install command uses pip internally and runs:Optional: Add to PATH
For easier access, you can add the CLI to your system PATH:Linux/macOS
- Create a symbolic link in a directory that’s already in your PATH:
- Verify the installation:
Windows
-
Add the project directory to your system PATH:
- Right-click This PC → Properties → Advanced system settings
- Click Environment Variables
- Under System variables, select Path and click Edit
- Add the full path to your project directory
-
Create a batch file
run.batin the project directory:
Verify Installation
Confirm the CLI is working correctly:Environment Configuration
The CLI supports optional environment variables for logging:Path to write log output. If not set, logs are written to stderr.
Logging verbosity level:
0- WARNING (default)1- INFO2- DEBUG
Troubleshooting
Permission Denied Error
If you get a “Permission denied” error:Module Not Found Errors
Ensure all dependencies are installed:Python Version Issues
Check your Python version:Next Steps
CLI Commands
Explore all available commands and options
Usage Examples
Learn how to evaluate models with real-world examples