Sign inSign up

yashalabinc/fherma-validator

By yashalabinc

•Updated about 1 year ago

Validator for FHERMA white box challenges

Image
0

1.8K

yashalabinc/fherma-validator repository overview

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
⁠Example Setup

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 repository⁠

After validation, a result.json file will be generated in your project folder.

Tag summary

Content type

Image

Digest

sha256:cb5e8da6b…

Size

1.6 GB

Last updated

about 1 year ago

docker pull yashalabinc/fherma-validator