<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:59:42 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[PIPE2D-916] Debug 2021-10-17 weekly</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-916</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;The weekly failed due to wavelength residuals being high:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
======================================================================
FAIL: testResiduals (__main__.ArcTestCase_brn_39) (arm=&lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;, fiberId=165)
Test that wavelength fit residuals are reasonable
----------------------------------------------------------------------
Traceback (most recent call last):
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/scratch/pprice/jenkins/weekly/2021-10-17/build/stack/miniconda3-4.5.12-1172c30/Linux64/pfs_pipe2d/w.2021.42/python/pfs/pipe2d/weekly/test_weekly.py&quot;&lt;/span&gt;, line 136, in testResiduals
   self.assertFloatsAlmostEqual(median, 0.0, atol=atol)
 File &lt;span class=&quot;code-quote&quot;&gt;&quot;/scratch/pprice/jenkins/weekly/2021-10-17/build/stack/miniconda3-4.5.12-1172c30/Linux64/utils/18.1.0/python/lsst/utils/tests.py&quot;&lt;/span&gt;, line 735, in assertFloatsAlmostEqual
   testCase.assertFalse(failed, msg=&lt;span class=&quot;code-quote&quot;&gt;&quot;\n&quot;&lt;/span&gt;.join(errMsg))
AssertionError: True is not &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt; : -0.0212058729346154 != 0.0; diff=0.0212058729346154/0.0212058729346154=1.0 with rtol=2.220446049250313e-16, atol=0.02
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;I also noticed that the sky model fit has a non-finite chi^2:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
+ mergeArms.py /scratch/pprice/jenkins/weekly/2021-10-17/process --calib=/scratch/pprice/jenkins/weekly/2021-10-17/process/CALIB --rerun=weekly/pipeline/bmn/pipeline --doraise -j10 --id &lt;span class=&quot;code-quote&quot;&gt;&apos;visit=50^51^52^55^56^58&apos;&lt;/span&gt;
[...]
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=76238.614984 length=4172/4176 numSamples=120 numGood=494172 numBad=6583 numRejected=386
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=154280.445883 length=4172/4176 numSamples=120 numGood=494228 numBad=6239 numRejected=726
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=154219.982931 length=4172/4176 numSamples=120 numGood=494184 numBad=6317 numRejected=721
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4172/4176 numSamples=120 numGood=494141 numBad=6274 numRejected=740
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4172/4176 numSamples=120 numGood=494431 numBad=5957 numRejected=768
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4173/4176 numSamples=120 numGood=494298 numBad=6149 numRejected=754
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4095/4176 numSamples=120 numGood=477835 numBad=18264 numRejected=5624
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4105/4176 numSamples=120 numGood=459494 numBad=24426 numRejected=21165
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4104/4176 numSamples=120 numGood=421857 numBad=64460 numRejected=20467
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4096/4176 numSamples=120 numGood=459512 numBad=23583 numRejected=21346
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4104/4176 numSamples=120 numGood=374855 numBad=112364 numRejected=21396
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4104/4176 numSamples=120 numGood=425090 numBad=60247 numRejected=21474
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4149/4176 numSamples=120 numGood=487595 numBad=13488 numRejected=37
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4150/4176 numSamples=120 numGood=487177 numBad=12690 numRejected=1284
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4149/4176 numSamples=120 numGood=486650 numBad=13298 numRejected=1224
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4148/4176 numSamples=120 numGood=486955 numBad=13019 numRejected=1185
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4152/4176 numSamples=120 numGood=487169 numBad=12833 numRejected=1187
mergeArms.fitSkyModel INFO: Fit focal plane function: chi^2=nan length=4152/4176 numSamples=120 numGood=487049 numBad=12926 numRejected=1249
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="18267">PIPE2D-916</key>
            <summary>Debug 2021-10-17 weekly</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="price">price</assignee>
                                    <reporter username="price">price</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Oct 2021 19:46:47 +0000</created>
                <updated>Fri, 5 Nov 2021 14:40:28 +0000</updated>
                            <resolved>Thu, 4 Nov 2021 03:13:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="23355" author="price" created="Thu, 21 Oct 2021 23:30:39 +0000"  >&lt;p&gt;I believe I&apos;ve made the residual check much more robust.&lt;/p&gt;</comment>
                            <comment id="23361" author="rhl" created="Fri, 22 Oct 2021 13:01:15 +0000"  >&lt;p&gt;What changed that the check needed to be more robust?  And are those NaNs new;  if so, we need a ticket to investigate (actually, we probably need one anyway)&lt;/p&gt;</comment>
                            <comment id="23362" author="price" created="Fri, 22 Oct 2021 13:37:50 +0000"  >&lt;p&gt;That check has long been overly-sensitive. It&apos;s calculating the RMS of the residual from the wavelength solution. The problem is that it&apos;s using all lines, including low S/N lines, which artificially inflates the RMS. By restricting the calculation to high-S/N lines, the RMS calculation is much more robust.&lt;/p&gt;

&lt;p&gt;The {{NAN}}s are new (not present in the weekly of 2021-10-10). I&apos;m not sure how that&apos;s possible, since I traced them back to the spectral extraction (bad variance though good flux). But they are not appearing now when I run the weekly again with the fixed code.&lt;/p&gt;</comment>
                            <comment id="24802" author="rhl" created="Tue, 26 Oct 2021 14:34:09 +0000"  >&lt;p&gt;Well, in general I think that making the test more robust is a good thing, but I worry about what changed to trigger the failures.&lt;/p&gt;

&lt;p&gt;What did we change that could have changed the wavelength residuals?&lt;/p&gt;</comment>
                            <comment id="24943" author="hassan" created="Wed, 3 Nov 2021 21:54:41 +0000"  >&lt;p&gt;All the code changes look reasonable. The questions &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt; above would need to be addressed in a separate ticket.&lt;/p&gt;</comment>
                            <comment id="24944" author="price" created="Thu, 4 Nov 2021 03:13:16 +0000"  >&lt;p&gt;Merged.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzs9ul:w</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>hassan</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="122">2DDRP-2021 A 10</customfieldvalue>
    <customfieldvalue id="125">2DDRP-2021 A11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>