| 1 |
Proposal & issues regarding applying the results of the |
| 2 |
syn_pysyn commissioning process to the ETC |
| 3 |
|
| 4 |
Goals: |
| 5 |
------ |
| 6 |
- avoid repeating work |
| 7 |
- apply changes to either pysynphot or the ETC, but not both at the same time |
| 8 |
- provide unambiguous bookkeeping of software and tests |
| 9 |
|
| 10 |
|
| 11 |
Proposed procedure: |
| 12 |
------------------- |
| 13 |
*Preparation stage:* |
| 14 |
- test modification: |
| 15 |
- apply any test modifications from the syn_pysyn |
| 16 |
commissioning process to the set of ETC regression tests |
| 17 |
- run this new set of tests with (ETC17.2+synphot) to generate |
| 18 |
new comparison answers |
| 19 |
- generate the {etc_test_name: list of syn_pysyn test cases} mapping |
| 20 |
|
| 21 |
- identify the machine on which these tests will be run |
| 22 |
- if necessary, install the (ETC17.2) public release there (rev #?) |
| 23 |
- if necessary, apply the changes necessary to run pysynphot to the |
| 24 |
permanent datastore |
| 25 |
- note the DB update revision number |
| 26 |
- install pysynphot v0.5 on this machine |
| 27 |
- temporarily disable SYNPHOT on this machine |
| 28 |
|
| 29 |
*First iteration:* |
| 30 |
- run the ETC regression tests (with answers derived in the |
| 31 |
Preparation Stage) |
| 32 |
- use the name mapping to apply the syn_pysyn "accepted failure" |
| 33 |
results back to the etc tests. |
| 34 |
- if any associated syn_pysyn test was an accepted failure, |
| 35 |
then the ETC test failure is accepted |
| 36 |
- spotcheck these "accepted failures" |
| 37 |
- scrutinize any remaining failures |
| 38 |
- modify pysynphot, re-install, & repeat as necessary |
| 39 |
|
| 40 |
- when complete (ie, all ETC tests either pass or the failures are |
| 41 |
deemed acceptable), |
| 42 |
- generate a new set of regression test reference answers |
| 43 |
- merge any changes that were made to pysynphot back to the |
| 44 |
trunk of the pysynphot repository |
| 45 |
- convert all ETC develop & test environments to use |
| 46 |
pysynphot: |
| 47 |
- apply the changes necessary to run pysynphot to the |
| 48 |
permanent datastore |
| 49 |
- disable SYNPHOT/STSDAS/TABLES (by renaming them) |
| 50 |
- [What is the list of machines/installations?] |
| 51 |
|
| 52 |
*Subsequent iterations:* |
| 53 |
- Every run of the regression tests for acceptance testing will be run |
| 54 |
with either |
| 55 |
- a release candidate of pysynphot and the most recent public |
| 56 |
release of the ETC, *or* |
| 57 |
- a release candidate of the ETC and the most recent release of pysynphot. |
| 58 |
|
| 59 |
where "release candidate" means "a new version on which we are |
| 60 |
running these tests in preparation for releasing the new version. |
| 61 |
|
| 62 |
- Every accepted run of the regression tests produces a new set of |
| 63 |
reference answers that will be used for the next run. |
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
Concerns: |
| 68 |
--------- |
| 69 |
----- timing. How should/can this procedure interact with: |
| 70 |
- pysynphot v0.5 release |
| 71 |
- a possible 17.2 infrastructure release |
| 72 |
- syn_pysyn commissioning work milestones |
| 73 |
- ongoing ETC development & release schedule |
| 74 |
- ongoing pysynphot development & release schedule |
| 75 |
|
| 76 |
Proposal: |
| 77 |
HSTMO determines whether an infrastructure release will happen |
| 78 |
early. If so, it happens prior to the pysynphot conversion. |
| 79 |
|
| 80 |
The first iteration described above happens after the public |
| 81 |
release of pysynphot v0.5 (the fall stsci_python release). |
| 82 |
|
| 83 |
Subsequent iterations will likely be: |
| 84 |
- 17.2(+infra?) stable: testing pysynphot v0.6 |
| 85 |
- pysynphot v0.6 stable: testing 18.1 release |
| 86 |
|
| 87 |
----- test names and revision numbers |
| 88 |
- all tests are under configuration control |
| 89 |
- syn_pysyn test names do not contain revision numbers, and do |
| 90 |
not contain answers. |
| 91 |
- ETC test names for ACS,NICMOS,STIS do not contain revision |
| 92 |
numbers. The tests do not contain answers, and they are rarely |
| 93 |
modified. |
| 94 |
- ETC test names for COS and WFC3 do contain revision |
| 95 |
numbers. The tests do contain answers, and they are modified |
| 96 |
whenever the answers are observed to change. This increments |
| 97 |
the revision number. However, this revision number appears to |
| 98 |
be irrelevant for the purposes of mapping to the syn_pysyn |
| 99 |
names. [It should therefore be excluded?] |
| 100 |
|
| 101 |
----- test modifications: |
| 102 |
All test modifications in the syn_pysyn test should be applied |
| 103 |
to the ETC tests up front, in the preparation stage. Test |
| 104 |
names should remain constant. |
| 105 |
- calcspec was dropped from the syn_pysyn tests because it has a bug. |
| 106 |
- gal2/gal3 were replaced by gal1 because gal2/gal3 are not |
| 107 |
yet implemented in pysynphot. |
| 108 |
- extinction implementation was changed; old laws are being |
| 109 |
replaced by new laws that will be read from files and have |
| 110 |
different names. The only law in both the old and the new sets |
| 111 |
will be gal3=mwavg. |
| 112 |
- synphot has a bug that affects use of the Bruzual models in |
| 113 |
the IR. We plan to modify the relevant tests by replacing |
| 114 |
these models with others that don't have the characteristic |
| 115 |
that triggers the bug. |
| 116 |
|
| 117 |
----- test subsets: |
| 118 |
- the instrument teams have identified representative subsets |
| 119 |
of the very large ETC-derived test sets, due to resource |
| 120 |
limitations. How should the corresponding subset of ETC tests |
| 121 |
interact with the full set? |
| 122 |
- Proposal: This subset constitutes the set of accepted |
| 123 |
failures to be spotchecked. |
| 124 |
|
| 125 |
----- acceptance criteria |
| 126 |
- we have defined acceptance criteria for scalar and array |
| 127 |
comparisons for the quantities produced by synphot. However, |
| 128 |
the ETC uses these quantities in various calculations, and its |
| 129 |
regression tests use the results of those calculations in its |
| 130 |
comparisons. |
| 131 |
- No attempt will be made to predict ETC test discrepancy from |
| 132 |
syn_pysyn test discrepancy. ETC tests that have particularly |
| 133 |
large discrepancies can be investigated at that time. |