Skip to content

Commit

Permalink
edit benchmarks/test_yoo
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeahram Yoo committed Oct 3, 2024
1 parent 5b47276 commit 238de89
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 33 deletions.
41 changes: 21 additions & 20 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,34 +115,35 @@ common:detector:
- runner_system_failure

include:
- local: 'benchmarks/diffractive_vm/config.yml'
- local: 'benchmarks/demp/config.yml'
#- local: 'benchmarks/diffractive_vm/config.yml'
#- local: 'benchmarks/demp/config.yml'
- local: 'benchmarks/dis/config.yml'
#- local: 'benchmarks/dvmp/config.yml'
- local: 'benchmarks/dvcs/config.yml'
- local: 'benchmarks/lambda/config.yml'
- local: 'benchmarks/neutron/config.yml'
- local: 'benchmarks/sigma/config.yml'
- local: 'benchmarks/tcs/config.yml'
- local: 'benchmarks/u_omega/config.yml'
- local: 'benchmarks/single/config.yml'
- local: 'benchmarks/backgrounds/config.yml'
#- local: 'benchmarks/dvcs/config.yml'
#- local: 'benchmarks/lambda/config.yml'
#- local: 'benchmarks/neutron/config.yml'
#- local: 'benchmarks/sigma/config.yml'
#- local: 'benchmarks/tcs/config.yml'
#- local: 'benchmarks/u_omega/config.yml'
#- local: 'benchmarks/single/config.yml'
#- local: 'benchmarks/backgrounds/config.yml'
- local: 'benchmarks/test_yoo/config.yml'

summary:
stage: finish
needs:
- "diffractive_vm:results"
- "demp:results"
#- "diffractive_vm:results"
#- "demp:results"
- "dis:results"
- "dvcs:results"
- "lambda:results"
- "neutron:results"
- "sigma:results"
- "tcs:results"
- "u_omega:results"
- "single:results"
- "backgrounds:results"
#- "dvcs:results"
#- "lambda:results"
#- "neutron:results"
#- "sigma:results"
#- "tcs:results"
#- "u_omega:results"
#- "single:results"
#- "backgrounds:results"
- "test_yoo:results"
script:
- collect_benchmarks.py
- find results -print | sort | tee summary.txt
Expand Down
22 changes: 9 additions & 13 deletions benchmarks/test_yoo/config.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
test_yoo:generate:
extends: .phy_benchmark
stage: generate
your_benchmark:compile:
extends: .phy_benchmark
stage: compile
script:
- echo "I will be simulating some electron events here!"
- echo "0.511 MeV" >> $LOCAL_DATA_PATH/electron_mass
- echo "You can compile your code here!"

test_yoo:simulate:
your_benchmark:simulate:
extends: .phy_benchmark
stage: simulate
script:
- echo "I will be simulating some photon events here!"
- echo "I will simulate detector response here!"

test_yoo:analyze:
your_benchmark:results:
extends: .phy_benchmark
stage: analyze
needs:
- ["test_yoo:generate", "test_yoo:simulate"]
stage: collect
script:
- echo "I will be analyzing events here!"
- echo "Our intelligence reports that the electron mass is $(cat $LOCAL_DATA_PATH/electron_mass)"
- echo "I will collect results here!"

0 comments on commit 238de89

Please sign in to comment.