File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: New Problem Check
22
33on :
44 push :
5+ branches :
6+ - main
57 paths :
68 - " utils/new_problem.yaml"
79 pull_request :
3234 pip install -r utils/requirements.txt
3335
3436 - name : Run New Problem Check
37+ if : ${{ hashFiles('utils/new_problem.yaml') != '' }}
3538 run : |
3639 python utils/validate_yaml.py utils/new_problem.yaml
3740
Original file line number Diff line number Diff line change @@ -29,3 +29,22 @@ This script checks the new content for the following:
2929pip install -r utils/requirements.txt
3030python utils/validate_yaml.py utils/new_problem.yaml
3131```
32+
33+ ## new problem example
34+
35+ ``` json
36+ - name: template
37+ suite/generator/single: suite
38+ objectives: '1'
39+ dimensionality: scalable
40+ variable type: continuous
41+ constraints: 'no'
42+ dynamic: 'no'
43+ noise: 'no'
44+ multimodal: 'yes'
45+ multi-fidelity: 'no'
46+ reference: ''
47+ implementation: ''
48+ source (real-world/artificial): ''
49+ textual description: 'This is a dummy template'
50+ ``
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments