Historical Fingerprinter Testing Manual
This manual provides instructions for testing the Historical Fingerprinter challenge using Docker and Docker Compose.
Overview
- Tests are designed to evaluate the effectiveness of your detection scripts against the Historical Fingerprinter challenge.
- Uses Docker for easy submission and testing
Quick Start Guide
Prerequisites
- Docker
- Docker Compose
Step 0: Clone the Repository [skip if you cloned already]
git clone git@github.com:RedTeamSubnet/historical-fingerprinter-challenge.git historical_fingerprinter
cd historical_fingerprinter
Step 1: Provide Your all Scripts
- Paste all of your all 3 scripts into src/hfp_challenge/challenge/fingerprinter/src/submissions folder with matching names.
Step 2: Update Configuration Files
Step 3: Setting up environmental variables
- Change
HFP_CHALLENGE_API_KEYwith your own preferred API key. You can use any string as API key, but make sure to update it in your detection scripts as well.
Step 4: Start the Challenge Server
Step 4: Test Your Bot
- Visit https://localhost:10001/docs
- Authenticate using provided authentication API that you put into the
.envwithHFP_CHALLENGE_API_KEYvariable.
- Test your detection files by running the
/scoreendpoint - if you see the warning log(like
Please visit endpoint <URI> to complete human verification for the task.) then open given uri in log in your browser to complete human verification in your side.
Important Notes
- The server runs on port 10001 by default
- Make sure port 10001 is available on your system
- All interactions are logged for analysis. Miners can check logs by running
docker compose logs -f - All commands must be executed from challenge's root directory.
- If you want score justification, you can check all results with
resultsendpoint after running thescoreendpoint.
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