text:
import numpy as np

from ..model import Model
from .test_helpers import random_id, get_test_dust

def test_mono_zero_prob(tmpdir):

    # Check that when total probability is zero in a given dust type for a given wavelength, the code doesn't crash

    dust = get_test_dust()

    m = Model()
    m.set_cartesian_grid([-1., 1.], [-1., 1.], [-1., 1.])
    m.add_density_grid(np.array([[[1.]]]), dust)
    m.add_density_grid(np.array([[[0.5]]]), dust, merge_if_possible=False)

    image = m.add_peeled_images(sed=True, image=True)
    image.set_image_limits(-2., 2., -2., 2.)
    image.set_image_size(20, 20)
    image.set_viewing_angles([45.], [45.])

    m.set_minimum_temperature(10.)

    m.set_monochromatic(True, wavelengths=[0.01, 0.1, 1., 10., 100., 1000.])

    m.set_n_initial_iterations(0)

    m.set_n_photons(imaging_sources=0, imaging_dust=100)

    m.write(tmpdir.join(random_id()).strpath)
    m.run(tmpdir.join(random_id()).strpath)

def test_check_weighting(tmpdir):
    '''
    This is a regression test for a bug that caused incorrect weighting of the
    monochromatic fluxes in the presence of multiple dust populations with one
    dust population having zero mean_prob at a given frequency
    '''

    d = get_test_dust()

    # First model, two dust types, very different energies, so part of the SED
    # comes from only one source

    m = Model()
    m.set_cartesian_grid([-1., 1.], [-1., 1.], [-1., 1.])
    m.add_density_grid(np.array([[[1.e-10]]]), d, specific_energy=np.array([[[1.e8]]]))
    m.add_density_grid(np.array([[[1.e-10]]]), d, specific_energy=np.array([[[1.e-4]]]))

    image = m.add_peeled_images(sed=True, image=False)
    image.set_viewing_angles([45.], [45.])
    image.set_track_origin('detailed')

    m.set_monochromatic(True, wavelengths=np.logspace(-1., 4., 10))

    m.set_n_initial_iterations(0)

    m.set_n_photons(imaging_sources=0, imaging_dust=50000)

    m.write(tmpdir.join(random_id()).strpath)
    mo1 = m.run(tmpdir.join(random_id()).strpath)

    # Same model but without second dust population. Since the model is
    # optically thin, the SEDs for the first dust population should agree.

    m = Model()
    m.set_cartesian_grid([-1., 1.], [-1., 1.], [-1., 1.])
    m.add_density_grid(np.array([[[1.e-10]]]), d, specific_energy=np.array([[[1.e8]]]))

    image = m.add_peeled_images(sed=True, image=False)
    image.set_viewing_angles([45.], [45.])
    image.set_track_origin('detailed')

    m.set_monochromatic(True, wavelengths=np.logspace(-1., 4., 10))

    m.set_n_initial_iterations(0)

    m.set_n_photons(imaging_sources=0, imaging_dust=50000)

    m.write(tmpdir.join(random_id()).strpath)
    mo2 = m.run(tmpdir.join(random_id()).strpath)

    _, nufnu1 = mo1.get_sed(inclination=-1, aperture=-1, component='dust_emit', dust_id=0)
    _, nufnu2 = mo2.get_sed(inclination=-1, aperture=-1, component='dust_emit', dust_id=0)

    THRESHOLD = 1.02

    # Need to ignore first element since it is zero
    assert np.all((nufnu1[1:] / nufnu2[1:] < THRESHOLD) & (nufnu2[1:] / nufnu1[1:] < THRESHOLD))


text:
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
    and other contributors as indicated by the @author tags.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.hawkular.metrics</groupId>
    <artifactId>hawkular-metrics-parent</artifactId>
    <version>0.7.0-SNAPSHOT</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>

  <artifactId>hawkular-metrics-core-api</artifactId>
  <packaging>bundle</packaging>

  <name>Hawkular Metrics Core API</name>
  <description>Hawkular Metrics Core API</description>

  <dependencies>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
    </dependency>

    <dependency>
      <groupId>io.reactivex</groupId>
      <artifactId>rxjava</artifactId>
    </dependency>

    <dependency>
      <groupId>io.reactivex</groupId>
      <artifactId>rxjava-math</artifactId>
    </dependency>

    <!-- test -->

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>

  </dependencies>
</project>

redpajama_set_name: RedPajamaGithub


text:
<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2005-2014 The Kuali Foundation

 Licensed under the Educational Community License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.osedu.org/licenses/ECL-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans         http://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean id="ReportTracking" parent="ReportTracking-parentBean" />
    <bean id="ReportTracking-parentBean" abstract="true" parent="BusinessObjectEntry">
        <property name="businessObjectClass" value="org.kuali.kra.award.paymentreports.awardreports.reporting.ReportTracking" />
		<property name="objectLabel" value="Award Reporting" />
        <property name="lookupDefinition" >
            <ref bean="ReportTracking-lookupDefinition" />
        </property>
        <property name="attributes" >
            <list>
                <ref bean="ReportTracking-awardReportTermId" />
                <ref bean="ReportTracking-awardNumber" />
                <ref bean="ReportTracking-piName" />
                <ref bean="ReportTracking-leadUnitNumber" />
                <ref bean="ReportTracking-leadUnit.unitName" />
                <ref bean="ReportTracking-reportClassCode" />
                <ref bean="ReportTracking-reportClass.description" />
                <ref bean="ReportTracking-reportCode" />
                <ref bean="ReportTracking-report.description" />
                <ref bean="ReportTracking-frequencyCode" />
                <ref bean="ReportTracking-frequency.description" />
                <ref bean="ReportTracking-frequencyBaseCode" />
                <ref bean="ReportTracking-frequencyBase.description" />
                <ref bean="ReportTracking-ospDistributionCode" />
                <ref bean="ReportTracking-distribution.description"/>
                <ref bean="ReportTracking-statusCode" />
                <ref bean="ReportTracking-reportStatus.description" />
                <ref bean="ReportTracking-baseDate" />
                <ref bean="ReportTracking-dueDate" />
                <ref bean="ReportTracking-overdue" />
                <ref bean="ReportTracking-activityDate" />
                <ref bean="ReportTracking-comments" />
                <ref bean="ReportTracking-preparerName" />
                <ref bean="ReportTracking-preparerId" />
                <ref bean="ReportTracking-preparer.fullName"/>
                <ref bean="ReportTracking-sponsorCode" />
                <ref bean="ReportTracking-sponsor.sponsorName" />
                <ref bean="ReportTracking-sponsorAwardNumber" />
                <ref bean="ReportTracking-title" />
                <ref bean="ReportTracking-lastUpdateUser" />
                <ref bean="ReportTracking-lastUpdateDate" />
                <ref bean="ReportTracking-versionNumber" />
                <ref bean="ReportTracking-multiEditSelected"/>
            </list>
        </property>
    </bean>

    <!-- Attribute Definitions -->
    <bean id="ReportTracking-awardReportTermId" parent="ReportTracking-awardReportTermId-parentBean" />
	<bean id="ReportTracking-awardReportTermId-parentBean" abstract="true" parent="AwardReportTerm-awardReportTermId" />
    <bean id="ReportTracking-awardNumber" parent="ReportTracking-awardNumber-parentBean" />
    <bean id="ReportTracking-awardNumber-parentBean" abstract="true" parent="Award-awardNumber"/>
    <bean id="ReportTracking-piName" parent="ReportTracking-piName-parentBean" />
    <bean id="ReportTracking-piName-parentBean" abstract="true" parent="AwardContact-fullName">
    	<property name="name" value="piName" />
        <property name="label" value="Principal Investigator" />
        <property name="shortLabel" value="Principal Investigator" />
        <property name="required" value="false" />
    </bean>

    <bean id="ReportTracking-leadUnitNumber" parent="ReportTracking-leadUnitNumber-parentBean" />
    <bean id="ReportTracking-leadUnitNumber-parentBean" abstract="true" parent="Award-unitNumber">
    	<property name="name" value="leadUnitNumber"/>
    </bean>

    <bean id="ReportTracking-leadUnit.unitName" parent="ReportTracking-leadUnit.unitName-parentBean" />
    <bean id="ReportTracking-leadUnit.unitName-parentBean" abstract="true" parent="Award-leadUnit.unitName" />
    <bean id="ReportTracking-reportClassCode" parent="ReportTracking-reportClassCode-parentBean" />
    <bean id="ReportTracking-reportClassCode-parentBean" abstract="true" parent="AwardReportTerm-reportClassCode">
    	<property name="label" value="Report Class" />
		<property name="shortLabel" value="Report Class" />
		<property name="summary" value="Report Class" />
		<property name="description" value="Report Class" />
		<property name="control" >
      <bean parent="SelectControlDefinition" p:businessObjectClass="org.kuali.kra.award.paymentreports.ReportClass" p:valuesFinderClass="org.kuali.coeus.sys.framework.keyvalue.ExtendedPersistableBusinessObjectValuesFinder" p:includeKeyInLabel="false" p:includeBlankRow="false" p:keyAttribute="reportClassCode" p:labelAttribute="description"/>
    </property>
    <property name="optionsFinder">
      <bean class="org.kuali.coeus.sys.framework.keyvalue.ExtendedPersistableBusinessObjectValuesFinder">
        <property name="businessObjectClass" value="org.kuali.kra.award.paymentreports.ReportClass"/>
        <property name="includeKeyInDescription" value="false"/>
        <property name="includeBlankRow" value="false"/>
        <property name="keyAttributeName" value="reportClassCode"/>
        <property name="labelAttributeName" value="description"/>
      </bean>
    </property>
    <property name="controlField">
      <bean parent="Uif-DropdownControl"/>
		</property>
    </bean>

    <bean id="ReportTracking-reportClassDesc" parent="ReportTracking-reportClassDesc-parentBean" />
    <bean id="ReportTracking-reportClassDesc-parentBean" abstract="true" parent="ReportClass-description">
    	<property name="name" value="reportClassDesc"/>
    	<property name="label" value="Report Class" />
		<property name="shortLabel" value="Report Class" />
		<property name="summary" value="Report Class" />
		<property name="description" value="Report Class" />
    </bean>

    <bean id="ReportTracking-reportClass.description" parent="ReportTracking-reportClass.description-parentBean" />
    <bean id="ReportTracking-reportClass.description-parentBean" abstract="true" parent="ReportClass-description">
    	<property name="name" value="reportClass.description"/>
    	<property name="label" value="Report Class" />
		<property name="shortLabel" value="Report Class" />
		<property name="summary" value="Report Class" />
		<property name="description" value="Report Class" />
    </bean>

    <bean id="ReportTracking-reportCode" parent="ReportTracking-reportCode-parentBean" />
    <bean id="ReportTracking-reportCode-parentBean" abstract="true" parent="AwardReportTerm-reportCode">
    	<property name="label" value="Report" />
		<property name="shortLabel" value="Report" />
		<property name="summary" value="Report" />
		<property name="description" value="Report" />
    </bean>

    <bean id="ReportTracking-report.description" parent="ReportTracking-report.description-parentBean" />
    <bean id="ReportTracking-report.description-parentBean" abstract="true" parent="Report-description">
    	<property name="name" value="report.description"/>
    	<property name="label" value="Report" />
		<property name="shortLabel" value="Report" />
		<property name="summary" value="Report" />
		<property name="description" value="Report" />
    </bean>

    <bean id="ReportTracking-frequencyCode" parent="ReportTracking-frequencyCode-parentBean" />
    <bean id="ReportTracking-frequencyCode-parentBean" abstract="true" parent="AwardReportTerm-frequencyCode" />
    <bean id="ReportTracking-frequency.description" parent="ReportTracking-frequency.description-parentBean" />
    <bean id="ReportTracking-frequency.description-parentBean" abstract="true" parent="Frequency-description">
    	<property name="name" value="frequency.description"/>
    	<property name="label" value="Frequency" />
		<property name="shortLabel" value="Frequency" />
		<property name="summary" value="Frequency" />
		<property name="description" value="Frequency" />
    </bean>

    <bean id="ReportTracking-frequencyBaseCode" parent="ReportTracking-frequencyBaseCode-parentBean" />
    <bean id="ReportTracking-frequencyBaseCode-parentBean" abstract="true" parent="AwardReportTerm-frequencyBaseCode" />
    <bean id="ReportTracking-frequencyBase.description" parent="ReportTracking-frequencyBase.description-parentBean" />
    <bean id="ReportTracking-frequencyBase.description-parentBean" abstract="true" parent="FrequencyBase-description">
    	<property name="name" value="frequencyBase.description"/>
    	<property name="label" value="Frequency Base" />
		<property name="shortLabel" value="Frequency Base" />
		<property name="summary" value="Frequency Base" />
		<property name="description" value="Frequency Base" />
    </bean>

    <bean id="ReportTracking-ospDistributionCode" parent="ReportTracking-ospDistributionCode-parentBean" />
    <bean id="ReportTracking-ospDistributionCode-parentBean" abstract="true" parent="AwardReportTerm-ospDistributionCode" />
    <bean id="ReportTracking-distribution.description" parent="ReportTracking-distribution.description-parentBean" />
    <bean id="ReportTracking-distribution.description-parentBean" abstract="true" parent="Distribution-description">
    	<property name="name" value="distribution.description"/>
    	<property name="label" value="OSP File Copy" />
		<property name="shortLabel" value="OSP File Copy" />
		<property name="summary" value="OSP File Copy" />
		<property name="description" value="OSP File Copy" />
    </bean>

    <bean id="ReportTracking-statusCode" parent="ReportTracking-statusCode-parentBean" />
    <bean id="ReportTracking-statusCode-parentBean" abstract="true" parent="AttributeDefinition">
    	<property name="name" value="statusCode" />
		<property name="required" value="true" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Status" />
		<property name="shortLabel" value="Status" />
		<property name="maxLength" value="22" />
		<property name="validationPattern" >
			<bean parent="NumericValidationPattern" />
		</property>
    <property name="validCharactersConstraint">
      <bean parent="NumericPatternConstraint"/>
    </property>
		<property name="control" >
      <bean parent="SelectControlDefinition" p:businessObjectClass="org.kuali.kra.award.paymentreports.ReportStatus" p:valuesFinderClass="org.kuali.coeus.sys.framework.keyvalue.ExtendedPersistableBusinessObjectValuesFinder" p:includeKeyInLabel="false" p:includeBlankRow="false" p:keyAttribute="reportStatusCode" p:labelAttribute="description"/>
    </property>
    <property name="optionsFinder">
      <bean class="org.kuali.coeus.sys.framework.keyvalue.ExtendedPersistableBusinessObjectValuesFinder">
        <property name="businessObjectClass" value="org.kuali.kra.award.paymentreports.ReportStatus"/>
        <property name="includeKeyInDescription" value="false"/>
        <property name="includeBlankRow" value="false"/>
        <property name="keyAttributeName" value="reportStatusCode"/>
        <property name="labelAttributeName" value="description"/>
      </bean>
    </property>
    <property name="controlField">
      <bean parent="Uif-DropdownControl"/>
		</property>
		<property name="summary" value="Status" />
		<property name="description" value="Status" />
    </bean>

    <bean id="ReportTracking-reportStatus.description" parent="ReportTracking-reportStatus.description-parentBean" />
    <bean id="ReportTracking-reportStatus.description-parentBean" abstract="true" parent="ReportStatus-description">
    	<property name="name" value="reportStatus.description"/>
    	<property name="label" value="Status" />
		<property name="shortLabel" value="Status" />
		<property name="summary" value="Status" />
		<property name="description" value="Status" />
    </bean>

    <bean id="ReportTracking-baseDate" parent="ReportTracking-baseDate-parentBean" />
    <bean id="ReportTracking-baseDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="baseDate" />
        <property name="label" value="Base Date" />
        <property name="shortLabel" value="Base Date" />
        <property name="summary" value="Base Date" />
        <property name="description" value="Base Date" />
    </bean>

    <bean id="ReportTracking-dueDate" parent="ReportTracking-dueDate-parentBean" />
    <bean id="ReportTracking-dueDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="dueDate" />
        <property name="label" value="Due Date" />
        <property name="shortLabel" value="Due Date" />
        <property name="summary" value="Due Date" />
        <property name="description" value="Due Date" />
    </bean>

    <bean id="ReportTracking-overdue" parent="ReportTracking-overdue-parentBean" />
    <bean id="ReportTracking-overdue-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="overdue" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Overdue" />
        <property name="shortLabel" value="Overdue" />
        <property name="maxLength" value="22" />
        <property name="validationPattern" >
            <bean parent="NumericValidationPattern" />
        </property>
    <property name="validCharactersConstraint">
      <bean parent="NumericPatternConstraint"/>
    </property>
        <property name="control" >
      <bean parent="TextControlDefinition" p:size="10"/>
    </property>
    <property name="controlField">
      <bean p:size="10" parent="Uif-TextControl"/>
        </property>
        <property name="summary" value="Overdue" />
        <property name="description" value="Overdue" />
    </bean>

    <bean id="ReportTracking-activityDate" parent="ReportTracking-activityDate-parentBean" />
    <bean id="ReportTracking-activityDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="activityDate" />
        <property name="label" value="Activity Date" />
        <property name="shortLabel" value="Activity Date" />
        <property name="summary" value="Activity Date" />
        <property name="description" value="Activity Date" />
    </bean>

    <bean id="ReportTracking-comments" parent="ReportTracking-comments-parentBean" />
    <bean id="ReportTracking-comments-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="comments" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Comments" />
        <property name="shortLabel" value="Comments" />
        <property name="maxLength" value="200" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
    <property name="validCharactersConstraint">
      <bean parent="AlphaNumericPatternConstraint"/>
    </property>
        <property name="control" >
      <bean parent="TextareaControlDefinition" p:rows="4" p:cols="20"/>
    </property>
    <property name="controlField">
      <bean parent="Uif-TextAreaControl" p:rows="4" p:cols="20"/>
        </property>
        <property name="summary" value="Comments" />
        <property name="description" value="Comments" />
    </bean>

    <bean id="ReportTracking-preparerName" parent="ReportTracking-preparerName-parentBean" />
    <bean id="ReportTracking-preparerName-parentBean" abstract="true" parent="KcPerson-fullName" >
        <property name="name" value="preparerName" />
        <property name="label" value="Preparer Name" />
        <property name="shortLabel" value="Preparer Name" />
        <property name="summary" value="Preparer Name" />
        <property name="description" value="Preparer Name" />
    </bean>

    <bean id="ReportTracking-preparerId" parent="ReportTracking-preparerId-parentBean" />
    <bean id="ReportTracking-preparerId-parentBean" abstract="true" parent="AttributeDefinition" >
        <property name="name" value="preparerId" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Preparer" />
        <property name="shortLabel" value="Preparer" />
        <property name="maxLength" value="40" />
        <property name="validationPattern" >
            <bean parent="AlphaNumericValidationPattern" />
        </property>
    <property name="validCharactersConstraint">
      <bean parent="AlphaNumericPatternConstraint"/>
    </property>
        <property name="control" >
            <bean parent="HiddenControlDefinition" p:size="10" />
        </property>
    <property name="controlField">
      <bean parent="Uif-HiddenControl"/>
    </property>
        <property name="summary" value="Preparer" />
        <property name="description" value="Preparer" />
    </bean>

    <bean id="ReportTracking-preparer.fullName" parent="ReportTracking-preparer.fullName-parentBean" />
    <bean id="ReportTracking-preparer.fullName-parentBean" abstract="true" parent="AwardContact-fullName">
    	<property name="name" value="preparer.fullName"/>
    	<property name="label" value="Preparer" />
		<property name="shortLabel" value="Preparer" />
		<property name="summary" value="Preparer" />
		<property name="description" value="Preparer" />
    </bean>

    <bean id="ReportTracking-sponsorCode" parent="ReportTracking-sponsorCode-parentBean" />
    <bean id="ReportTracking-sponsorCode-parentBean" abstract="true" parent="Award-sponsorCode" />
    <bean id="ReportTracking-sponsor.sponsorName" parent="ReportTracking-sponsor.sponsorName-parentBean" />
    <bean id="ReportTracking-sponsor.sponsorName-parentBean" abstract="true" parent="Sponsor-sponsorName">
		<property name="name" value="sponsor.sponsorName" />
		<property name="label" value="Sponsor Name" />
		<property name="shortLabel" value="Sponsor Name" />
		<property name="validationPattern">
			<bean p:allowWhitespace="true" parent="AnyCharacterValidationPattern" />
		</property>
    <property name="validCharactersConstraint">
      <bean parent="AnyCharacterPatternConstraint">
        <property name="allowWhitespace" value="true"/>
      </bean>
    </property>
		<property name="control">
			<bean p:size="60" parent="TextControlDefinition" />
		</property>
    <property name="controlField">
      <bean p:size="60" parent="Uif-TextControl"/>
    </property>
		<property name="summary" value="Sponsor Name" />
		<property name="description" value="Sponsor Name" />
    </bean>

    <bean id="ReportTracking-multiEditSelected" parent="ReportTracking-multiEditSelected-parentBean"/>
    <bean id="ReportTracking-multiEditSelected-parentBean" abstract="true" parent="AttributeDefinition">
    	<property name="name" value="multiEditSelected" />
        <property name="forceUppercase" value="false" />
        <property name="label" value="Select" />
        <property name="shortLabel" value="Select" />
        <property name="maxLength" value="1" />
	    <property name="validationPattern" >
	      <bean parent="AlphaNumericValidationPattern" />
	    </property>
    <property name="validCharactersConstraint">
      <bean parent="AlphaNumericPatternConstraint"/>
    </property>
	    <property name="control" >
	      <bean parent="CheckboxControlDefinition" />
	    </property>
    <property name="controlField">
      <bean parent="Uif-CheckboxControl"/>
    </property>
        <property name="summary" value="Select" />
        <property name="description" value="Select" />
    </bean>

    <bean id="ReportTracking-sponsorAwardNumber" parent="ReportTracking-sponsorAwardNumber-parentBean" />
    <bean id="ReportTracking-sponsorAwardNumber-parentBean" abstract="true" parent="Award-sponsorAwardNumber" />
    <bean id="ReportTracking-title" parent="ReportTracking-title-parentBean" />
    <bean id="ReportTracking-title-parentBean" abstract="true" parent="Award-title" />
    <bean id="ReportTracking-versionNumber" parent="ReportTracking-versionNumber-parentBean" />
  <bean id="ReportTracking-versionNumber-parentBean" abstract="true" parent="AttributeReferenceDummy-versionNumber"/>
	<bean id="ReportTracking-lastUpdateUser" parent="ReportTracking-lastUpdateUser-parentBean"/>
	<bean id="ReportTracking-lastUpdateUser-parentBean" abstract="true" parent="AwardContact-fullName">
    	<property name="name" value="lastUpdateUser"/>
    	<property name="label" value="Last Updated By" />
		<property name="shortLabel" value="Last Updated By" />
		<property name="summary" value="Last Updated By" />
		<property name="description" value="Last Updated By" />
    </bean>

    <bean id="ReportTracking-lastUpdateDate" parent="ReportTracking-lastUpdateDate-parentBean" />
    <bean id="ReportTracking-lastUpdateDate-parentBean" abstract="true" parent="KraAttributeReferenceDummy-genericDate" >
        <property name="name" value="lastUpdateDate" />
        <property name="label" value="Last Updated Date" />
        <property name="shortLabel" value="Last Updated Date" />
        <property name="summary" value="Last Updated Date" />
        <property name="description" value="Last Updated Date" />
    </bean>

    <!-- Business Object Lookup Definition -->
    <bean id="ReportTracking-lookupDefinition" parent="ReportTracking-lookupDefinition-parentBean" />
  <bean id="ReportTracking-LookupView" parent="ReportTracking-LookupView-parentBean"/>
    <bean id="ReportTracking-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition">
        <property name="title" value="Award Reporting Lookup" /><property name="lookupableID" value="reportTrackingLookupable" />
        <property name="defaultSort" >
      <bean parent="SortDefinition"/>
        </property>
        <property name="lookupFields" >
            <list>
        <bean parent="FieldDefinition" p:attributeName="awardNumber"/>
        <bean parent="FieldDefinition" p:attributeName="piName"/>
        <bean parent="FieldDefinition" p:attributeName="dueDate"/>
        <bean parent="FieldDefinition" p:attributeName="reportClassCode"/>
        <bean parent="FieldDefinition" p:attributeName="reportCode"/>
        <bean parent="FieldDefinition" p:attributeName="statusCode"/>
        <bean parent="FieldDefinition" p:attributeName="leadUnitNumber"/>
        <bean parent="FieldDefinition" p:attributeName="leadUnit.unitName"/>
        <bean parent="FieldDefinition" p:attributeName="overdue"/>
        <bean parent="FieldDefinition" p:attributeName="frequencyCode"/>
        <bean parent="FieldDefinition" p:attributeName="frequencyBaseCode"/>
        <bean parent="FieldDefinition" p:attributeName="activityDate"/>
        <bean parent="FieldDefinition" p:attributeName="comments"/>
        <bean parent="FieldDefinition" p:attributeName="preparerName"/>
        <bean parent="FieldDefinition" p:attributeName="sponsorCode"/>
        <bean parent="FieldDefinition" p:attributeName="sponsor.sponsorName"/>
        <bean parent="FieldDefinition" p:attributeName="sponsorAwardNumber"/>
            </list>
        </property>
        <property name="resultFields" >
            <list>
        <bean parent="FieldDefinition" p:attributeName="awardNumber"/>
        <bean parent="FieldDefinition" p:attributeName="piName"/>
        <bean parent="FieldDefinition" p:attributeName="dueDate"/>
        <bean parent="FieldDefinition" p:attributeName="reportClass.description"/>
        <bean parent="FieldDefinition" p:attributeName="report.description"/>
        <bean parent="FieldDefinition" p:attributeName="reportStatus.description"/>
        <bean parent="FieldDefinition" p:attributeName="leadUnitNumber"/>
        <bean parent="FieldDefinition" p:attributeName="leadUnit.unitName"/>
        <bean parent="FieldDefinition" p:attributeName="overdue"/>
        <bean parent="FieldDefinition" p:attributeName="frequency.description"/>
        <bean parent="FieldDefinition" p:attributeName="frequencyBase.description"/>
        <bean parent="FieldDefinition" p:attributeName="activityDate"/>
        <bean parent="FieldDefinition" p:attributeName="comments"/>
        <bean parent="FieldDefinition" p:attributeName="preparerName"/>
        <bean parent="FieldDefinition" p:attributeName="sponsorCode"/>
        <bean parent="FieldDefinition" p:attributeName="sponsor.sponsorName"/>
        <bean parent="FieldDefinition" p:attributeName="sponsorAwardNumber"/>
        <bean parent="FieldDefinition" p:attributeName="baseDate"/>
        <bean parent="FieldDefinition" p:attributeName="distribution.description"/>
        <bean parent="FieldDefinition" p:attributeName="title"/>
      </list>
    </property>
  </bean>

  <bean id="ReportTracking-LookupView-parentBean" abstract="true" parent="Uif-LookupView">
    <property name="dataObjectClassName" value="org.kuali.kra.award.paymentreports.awardreports.reporting.ReportTracking"/>
    <property name="headerText" value="Award Reporting Lookup"/>
    <property name="criteriaFields">
      <list>
        <bean p:propertyName="awardNumber" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="piName" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="dueDate" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="reportClassCode" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="reportCode" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="statusCode" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="leadUnitNumber" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="leadUnit.unitName" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="overdue" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="frequencyCode" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="frequencyBaseCode" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="activityDate" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="comments" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="preparerName" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="sponsorCode" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="sponsor.sponsorName" parent="Uif-LookupCriteriaInputField"/>
        <bean p:propertyName="sponsorAwardNumber" parent="Uif-LookupCriteriaInputField"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean p:propertyName="awardNumber" parent="Uif-DataField"/>
        <bean p:propertyName="piName" parent="Uif-DataField"/>
        <bean p:propertyName="dueDate" parent="Uif-DataField"/>
        <bean p:propertyName="reportClass.description" parent="Uif-DataField"/>
        <bean p:propertyName="report.description" parent="Uif-DataField"/>
        <bean p:propertyName="reportStatus.description" parent="Uif-DataField"/>
        <bean p:propertyName="leadUnitNumber" parent="Uif-DataField"/>
        <bean p:propertyName="leadUnit.unitName" parent="Uif-DataField"/>
        <bean p:propertyName="overdue" parent="Uif-DataField"/>
        <bean p:propertyName="frequency.description" parent="Uif-DataField"/>
        <bean p:propertyName="frequencyBase.description" parent="Uif-DataField"/>
        <bean p:propertyName="activityDate" parent="Uif-DataField"/>
        <bean p:propertyName="comments" parent="Uif-DataField"/>
        <bean p:propertyName="preparerName" parent="Uif-DataField"/>
        <bean p:propertyName="sponsorCode" parent="Uif-DataField"/>
        <bean p:propertyName="sponsor.sponsorName" parent="Uif-DataField"/>
        <bean p:propertyName="sponsorAwardNumber" parent="Uif-DataField"/>
        <bean p:propertyName="baseDate" parent="Uif-DataField"/>
        <bean p:propertyName="distribution.description" parent="Uif-DataField"/>
        <bean p:propertyName="title" parent="Uif-DataField"/>
            </list>
        </property>
    </bean>
</beans>