<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:47:29 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-26] Write tests for FiberTraceSet generation</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-26</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Write tests for FiberTraceSet using LSST-style wrapping of python&apos;s unittest&lt;/p&gt;</description>
                <environment></environment>
        <key id="10410">PIPE2D-26</key>
            <summary>Write tests for FiberTraceSet generation</summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</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="aritter">aritter</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Sep 2014 14:33:09 +0000</created>
                <updated>Fri, 29 Jul 2016 05:33:38 +0000</updated>
                            <resolved>Fri, 29 Jul 2016 05:33:38 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="10502" author="" created="Wed, 4 Feb 2015 16:42:14 +0000"  >&lt;p&gt;@rhl: What exactly do you mean by LSST-style wrapping of python&apos;s unittest? I have written python unittests for FiberTraces, Spectra, and PSF. Also, this issue is pretty much the same is &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INFRA-20&quot; title=&quot;Create unittests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRA-20&quot;&gt;&lt;del&gt;INFRA-20&lt;/del&gt;&lt;/a&gt;? How should I name git branches for issues like &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INFRA-20&quot; title=&quot;Create unittests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRA-20&quot;&gt;&lt;del&gt;INFRA-20&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-20&quot; title=&quot;Estimate (2-D) PSF given a comb spectrum&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-20&quot;&gt;&lt;del&gt;PIPE2D-20&lt;/del&gt;&lt;/a&gt;? Standard I think is tickets/0020 for both of them...&lt;/p&gt;</comment>
                            <comment id="11046" author="aritter" created="Wed, 29 Jun 2016 03:36:48 +0000"  >&lt;p&gt;Added tests to check number and length of FiberTraces as now we have kind of realistic simulated images which can stick around and won&apos;t be redundant every time we get new simulations&lt;/p&gt;</comment>
                            <comment id="11115" author="swinbank" created="Sun, 17 Jul 2016 20:02:25 +0000"  >&lt;p&gt;As far as I can see, the total amount of test code added as part of this ticket is very small. However, it&apos;s a delta on top of a large amount of existing code in &lt;tt&gt;tests/FiberTraces.py&lt;/tt&gt;. The issue description isn&apos;t really specific enough for me to understand whether the existing code + the new changes fulfil the goals. These changes do check that we extract the correct number of fibre traces from some predefined test data, and then verifies that their size lies within acceptable ranges. That seems like a good addition.&lt;/p&gt;

&lt;p&gt;I have only minor comments on the new code:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Please try not to add extra, unnecessary white space. (Line 44 of &lt;tt&gt;tests/FiberTraces.py&lt;/tt&gt; reads &quot;        \n&quot;, which is a bit useless.)&lt;/li&gt;
	&lt;li&gt;It would be good to specify why these particular values for the constants &lt;tt&gt;nFiberTraces&lt;/tt&gt;, &lt;tt&gt;minLength&lt;/tt&gt; and &lt;tt&gt;maxLength&lt;/tt&gt; were chosen. The answer is presumably just that these correspond to the particular test data available in the repository, but, if so, say so.&lt;/li&gt;
	&lt;li&gt;In general, the code in this file consists of a few very, very long methods. The new code just makes one of them longer. This is a really bad way to structure tests: much better to break them up into fine-grained chunks. I don&apos;t think restructuring the whole file is in scope for this ticket, but consider whether these new lines could be broken out into a separate method.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11208" author="aritter" created="Fri, 29 Jul 2016 05:33:38 +0000"  >&lt;p&gt;Added comment about nFiberTraces, minLength, and maxLength as advised by the reviewer. Merged with master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="10602">INFRA-31</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PIPE2D-23</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qpuc:v</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="11">2014-9</customfieldvalue>
    <customfieldvalue id="16">2014-12</customfieldvalue>
    <customfieldvalue id="19">2014-13</customfieldvalue>
    <customfieldvalue id="20">2014-14</customfieldvalue>
    <customfieldvalue id="21">2014-15</customfieldvalue>

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