| 1 |
Plan for concluding the syn_pysyn commissioning process: |
| 2 |
|
| 3 |
Goal: apply the information gathered from the syn_pysyn testing to the |
| 4 |
ETC regression testing process. |
| 5 |
|
| 6 |
About the syn_pysyn test set: |
| 7 |
============================ |
| 8 |
|
| 9 |
Test cases were generated from the existing ETC regression test suites |
| 10 |
for (ACS,NICMOS,STIS,WFC3). Each distinct (synphot command, obsmode, |
| 11 |
spectrum) tuple generated a separate case. Some additional cases were |
| 12 |
generated to test renormalization and non-HST bands. |
| 13 |
|
| 14 |
For each test case, the command was issued in synphot, and the |
| 15 |
analogous calculation was performed in pysynphot. A small number (3-7) |
| 16 |
of scalar and array values were compared, including both final and |
| 17 |
intermediate products. This resulted in a total of 15700 distinct |
| 18 |
tests. |
| 19 |
|
| 20 |
To avoid drowning in a sea of data, several subsets were defined for |
| 21 |
careful attention: |
| 22 |
- a "representative subset" of test cases defined by each team rep |
| 23 |
- all countrate comparisons |
| 24 |
- all throughput comparisons |
| 25 |
- all "extreme" failures (>20% discrepancy between synphot and |
| 26 |
pysynphot) |
| 27 |
|
| 28 |
Further details of the commissioning process, the test sets, the |
| 29 |
comparisons, the known differences between synphot and pysynphot will |
| 30 |
be included in the commissioning report (in prep). |
| 31 |
|
| 32 |
PENULTIMATE STAGE: |
| 33 |
================= |
| 34 |
|
| 35 |
1. Pysynphot Code Changes: DONE |
| 36 |
|
| 37 |
Commit code changes for remaining set of high-priority tickets. |
| 38 |
|
| 39 |
2. Changes to test definitions and CDBS files: DONE |
| 40 |
|
| 41 |
Some changes were ncessary due to duplication, changes in extinction |
| 42 |
laws, poor choices of spectral models, and to handle cases of partial |
| 43 |
overlap between spectrum and bandpass. Changes in CDBS throughput |
| 44 |
files were necessary to ensure that all obsmodes were properly pinned |
| 45 |
to zero. |
| 46 |
|
| 47 |
3. Define and mark representative subsets: DONE |
| 48 |
|
| 49 |
|
| 50 |
4. Run the final test set: DONE |
| 51 |
|
| 52 |
|
| 53 |
5. Evaluate results of final test set: IN PROGRESS |
| 54 |
|
| 55 |
|
| 56 |
The end result of the penultimate stage will be a |
| 57 |
set of tests that either pass, or are accepted failures -- ie, |
| 58 |
discrepancies between synphot and pysynphot that result from |
| 59 |
acceptable differences between the synphot and pysynphot software packages. |
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
FINAL STAGE: |
| 66 |
=========== |
| 67 |
|
| 68 |
1. Preparation: In Progress |
| 69 |
|
| 70 |
Write scripts and utilities to facilitate the bookkeeping. |
| 71 |
|
| 72 |
2. Mapping to the ETC cases: DONE |
| 73 |
|
| 74 |
Include ETC test names as part of the syn_pysyn test cases. |
| 75 |
|
| 76 |
3. Run the ETC Regression test set |
| 77 |
|
| 78 |
Set up a test environment, run the regression tests |
| 79 |
against the last released ETC version (17.3) using pysynphot instead |
| 80 |
of synphot. |
| 81 |
|
| 82 |
Generate a report of failed tests by name; divide them into "new" and |
| 83 |
"expected" failures. |
| 84 |
"new" failure = syn_pysyn passed, ETC failed |
| 85 |
"expected" failure = syn_pysyn acceptable failure, ETC failed |
| 86 |
|
| 87 |
4. Examine any "new" failures |
| 88 |
|
| 89 |
5. Doublecheck the "expected" failures |
| 90 |
|
| 91 |
When the final round is complete: |
| 92 |
|
| 93 |
- the tested version of pysynphot will be named v0.6 and released |
| 94 |
- ETC 17.4 development will switch over from synphot to pysynphot v0.6 |