Validator for FHERMA white box challenges
1.8K
Fherma мalidator is designed for validating solutions to white-box challenges. Once a solution is developed, participants can use this image to run the validator locally. The validator should be executed on a test case to verify the results in the generated output file. The test case is typically provided in the corresponding folder of our GitHub repository.
To pull the image run the following comand:
docker pull yashalabinc/fherma-validator
If your local folder containing the solution is located at ~/user/tmp/fherma-challenge/app, use the following command to run the validator:
docker run -ti -v ~/user/tmp/fherma-challenge:/fherma yashalabinc/fherma-validator --project-folder=/fherma/app --testcase=/fherma/tests/test_case.json
Here is a breakdown of the command:
-v ~/user/tmp/fherma-challenge:/fherma: maps your local directory to the /fherma directory in the Docker container.--project-folder=/fherma/app: specifies the folder where your solution is located.--testcase=/fherma/tests/test_case.json: points to the JSON file containing the test case for validation. Ensure the path to test_case.json is correct and matches your directory structure. You can find the test case in our GitHub repositoryAfter validation, a result.json file will be generated in your project folder.
Content type
Image
Digest
sha256:cb5e8da6b…
Size
1.6 GB
Last updated
about 1 year ago
docker pull yashalabinc/fherma-validator