Humanize Behaviour v5 Testing Manual
This manual provides instructions for testing the Humanize Behaviour v5 challenge using Docker.
Overview
- Tests bot script's ability to mimic human interaction with a Web UI form
- Includes trajectory similarity check between sessions
- Uses Docker for easy submission and testing
Quick Start Guide
Prerequisites
- Docker and Docker Compose installed
- Git (for cloning the repository)
Step 1: Provide Your Scripts
- Paste your bot script into bot.py
- Add your requirements to requirements.txt
Step 2: Setup Challenge Environment
- Run the following commands in separate terminal and leave it as is to see the logs:
Step 3: Setup Testing Environment
- In a separate terminal, run the following commands to set up miner environment:
Step 4: Test Your Script
- Run the following command to eslint test and run your script to get the score by simulating staging environment
- You can see the logs in the first terminal where you ran the setup script
Important Notes
- The server runs on port 10001 by default
- Make sure port 10001 is available on your system
- The challenge includes trajectory similarity checks between sessions
- All interactions are logged for analysis
Troubleshooting
If you encounter issues:
- Check if Docker is running
- Verify port 10001 is not in use
- Check Docker logs using
docker compose logs
- Ensure you have proper permissions to run Docker commands