[TOC]
This repository aims to provide:
- A common benchmark reporting library used in:
- A set of tools to manage CI builds and data workflows in other project repos (such as those above).
Bookkeeping of test data to store data of one or more tests in a json file to facilitate future accounting.
common_bench::Test test1{
{{"name", "example_test"},
{"title", "Example Test"},
{"description", "This is an example of a test definition"},
{"quantity", "efficiency"},
{"target", "1"}}};
test1.pass(0.99)
common_bench::write_test(test1, "test1.json");
common_bench::Test test1{{
{"name", "example_test"},
{"title", "Example Test"},
{"description", "This is an example of a test definition"},
{"quantity", "efficiency"},
{"target", "1"}}};
common_bench::Test test2{{
{"name", "another_test"},
{"title", "Another example Test"},
{"description", "This is a second example of a test definition"},
{"quantity", "resolution"},
{"target", "3."}}};
test1.fail(10)
common_bench::write_test({test1, test2}, "test.json");
Here we aim to document a coherent set of environment varialbes to pass between CI jobs and between pipelines. The idea is to write as much generic code as possible, so this can be used by any detector currently being implemented or yet to be defined.
| Variable | Meaning and use | Examples | Notes |
|---|---|---|---|
DETECTOR |
Name of detector and repository | athena or epic |
|
DETECTOR_VERSION |
Branch or tagged version to use | A PR branch name automatically generated from issue | Default typically main or master |
BEAMLINE |
Optional, name of beamline/interaction region to build first | ip6 or ip8 |
Not used if undefined |
BEAMLINE_VERSION |
Branch or tagged version to use | Same as | Default typically main or master |