Skip to content

Commit

Permalink
Merge pull request #148 from LSSTDESC/new_tests
Browse files Browse the repository at this point in the history
Changes for readiness and sky area tests to run on baseDC2 and cosmoDC2
  • Loading branch information
yymao authored Oct 19, 2018
2 parents be8de5a + 06c72a0 commit 76bd816
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 33 deletions.
4 changes: 4 additions & 0 deletions descqa/configs/SkyArea_hires.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
subclass_name: basic_test.SkyArea
nside: 2048
description: Displaying the sky coverage of each catalog
included_by_default: true
32 changes: 16 additions & 16 deletions descqa/configs/readiness_baseDC2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ included_by_default: true
quantities_to_check:
- quantities: ['dec_true', 'dec']
label: 'deg'
min: [-36, -35]
max: [-25, -24]
median: [-32, -28]
mean: [-32, -28]
std: [1, 3]
min: [-55, -54]
max: [-20, -19]
median: [-38, -34]
mean: [-38, -34]
std: [5, 10]
f_nan: 0
f_inf: 0
f_outlier: 0

- quantities: ['ra_true', 'ra']
label: 'deg'
min: [44, 46]
max: [56, 57]
median: [48, 52]
mean: [48, 52]
std: [1, 3]
min: [39, 40]
max: [84, 85]
median: [60, 64]
mean: [60, 64]
std: [8, 12]
f_nan: 0
f_inf: 0
f_outlier: 0
Expand Down Expand Up @@ -48,11 +48,11 @@ quantities_to_check:
f_outlier: [0, 0.1]

- quantities: 'shear_*'
min: [-0.2, 0]
max: [0, 0.2]
min: [-0.25, 0]
max: [0, 0.25]
median: [-0.01, 0.01]
mean: [-0.01, 0.01]
std: [0, 0.01]
std: [0, 0.02]
f_nan: 0
f_inf: 0
f_outlier: [0, 0.04]
Expand All @@ -69,17 +69,17 @@ quantities_to_check:

- quantities: 'convergence'
min: [-0.4, 0]
max: [0, 0.45]
max: [0, 0.8]
median: [-0.01, 0.01]
mean: [-0.01, 0.01]
std: [0, 0.02]
std: [0, 0.03]
f_nan: 0
f_inf: 0
f_outlier: [0, 0.05]

- quantities: 'magnification'
min: [0.5, 1]
max: [1, 3]
max: [1, 20]
median: [0.5, 1.5]
mean: [0.5, 1.5]
std: [0, 0.1]
Expand Down
34 changes: 17 additions & 17 deletions descqa/configs/readiness_cosmoDC2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ included_by_default: true
quantities_to_check:
- quantities: ['dec_true', 'dec']
label: 'deg'
min: [-36, -35]
max: [-25, -24]
median: [-32, -28]
mean: [-32, -28]
std: [1, 3]
min: [-55, -54]
max: [-20, -19]
median: [-38, -34]
mean: [-38, -34]
std: [5, 10]
f_nan: 0
f_inf: 0
f_outlier: 0

- quantities: ['ra_true', 'ra']
label: 'deg'
min: [44, 46]
max: [56, 57]
median: [48, 52]
mean: [48, 52]
std: [1, 3]
min: [39, 40]
max: [84, 85]
median: [60, 64]
mean: [60, 64]
std: [8, 12]
f_nan: 0
f_inf: 0
f_outlier: 0
Expand Down Expand Up @@ -92,8 +92,8 @@ quantities_to_check:
f_outlier: [0, 0.1]

- quantities: 'shear_*'
min: [-0.2, 0]
max: [0, 0.2]
min: [-0.25, 0]
max: [0, 0.25]
median: [-0.01, 0.01]
mean: [-0.01, 0.01]
std: [0, 0.01]
Expand All @@ -113,17 +113,17 @@ quantities_to_check:

- quantities: 'convergence'
min: [-0.4, 0]
max: [0, 0.45]
max: [0, 0.8]
median: [-0.01, 0.01]
mean: [-0.01, 0.01]
std: [0, 0.02]
std: [0, 0.03]
f_nan: 0
f_inf: 0
f_outlier: [0, 0.05]

- quantities: 'magnification'
min: [0.5, 1]
max: [1, 3]
max: [1, 20]
median: [0.5, 1.5]
mean: [0.5, 1.5]
std: [0, 0.1]
Expand Down Expand Up @@ -181,8 +181,8 @@ quantities_to_check:
log: true
min: [null, 10]
max: [10, 13]
median: [6.5, 9]
mean: [6.5, 9]
median: [5.5, 7]
mean: [5.5, 7]
std: [0.5, 1.5]
f_nan: 0
f_outlier: [0, 0.025]
Expand Down

0 comments on commit 76bd816

Please sign in to comment.