Skip to content

batch folder

Paweł Waligóra edited this page Dec 15, 2023 · 5 revisions

Batch Folders

Batch folders are directories created by generate command that was run with -batch optional argument. Their name and location is specified in first argument of generate command.

Structure and contents

Batch folders obey following structure:

  • /batch-folder
    • batch-info.json
    • /problems
      • packaged-problem-0.json
      • packaged-problem-1.json
      • packaged-problem-2.json
      • ...
    • /algorithm-1
      • packaged-solution-0.json
      • packaged-solution-1.json
      • packaged-solution-2.json
      • ...
    • /algorithm-2
      • packaged-solution-0.json
      • packaged-solution-1.json
      • packaged-solution-2.json
      • ...
    • ...

batch-info.json

JSON file containing only one field - "amount", describing how many problem files are in the /problems sub-directory.

Example

{
    "amount": 10
}