Skip to content

Commit

Permalink
Removed the sorting by rate because there is no guaranteed order when…
Browse files Browse the repository at this point in the history
… rates are equal
  • Loading branch information
sringuette committed Mar 21, 2024
1 parent f48a243 commit e17b54b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 273 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,270 +433,6 @@
</item>
</list>
</component>
<component name="rankByRate">
<list>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">AimLoan</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03000</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">1.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">3966</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">337596</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">67519.2</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1423.318353709273</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1154298007315222</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">Home Loans Today</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03125</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">1.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">285</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">333915</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66783</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1430.409890005697</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1219478687825963</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">Sebonic</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03125</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">0.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">4028</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">334358</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66871.6</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1432.307593257341</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1207829702481527</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">AimLoan</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03125</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">0.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">4317</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">334647</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66929.4</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1433.545598313153</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1200230251545745</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">eRates Mortgage</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03125</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">1.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">2518</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">336148</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">67229.6</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1439.975513845245</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1160760438900096</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">eClick Lending</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03200</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">1.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">2700</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">336330</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">67266</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1454.51580776472</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1137029731874643</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">Home Loans Today</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03250</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">0.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">822</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">331152</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66230.4</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1441.194429734607</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1261025270361139</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">AimLoan</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03250</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">0</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">1995</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">331995</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66399</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1444.863219004387</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1238778822515175</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">eClickLending</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03375</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">0.1</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">1200</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">331530</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66306</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1465.681565899816</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1219807467513794</value>
</component>
</item>
<item>
<component name="lenderName">
<value xsi:type="xsd:string">Oceans Capital</value>
</component>
<component name="rate">
<value xsi:type="xsd:decimal">.03500</value>
</component>
<component name="points">
<value xsi:type="xsd:decimal">0</value>
</component>
<component name="fee">
<value xsi:type="xsd:decimal">0</value>
</component>
<component name="loanAmt">
<value xsi:type="xsd:decimal">330000</value>
</component>
<component name="downPmtAmt">
<value xsi:type="xsd:decimal">66000</value>
</component>
<component name="paymentAmt">
<value xsi:type="xsd:decimal">1481.847469769075</value>
</component>
<component name="equity36moPct">
<value xsi:type="xsd:decimal">0.1229130806675829</value>
</component>
</item>
</list>
</component>
<component name="rankByDownPmt">
<list>
<item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
<itemComponent name="metricsTable" id="_0ee333d1-03fc-4a77-8798-d0b351a19a36">
<typeRef>tMetrics</typeRef>
</itemComponent>
<itemComponent name="rankByRate" id="_f0790a52-d95d-466a-bc51-5766c046c717">
<typeRef>tMetrics</typeRef>
</itemComponent>
<itemComponent name="rankByDownPmt" id="_d54127c6-8418-45df-89da-2f84bedae37c">
<typeRef>tMetrics</typeRef>
</itemComponent>
Expand Down Expand Up @@ -233,12 +230,6 @@
<text>for i in Bankrates return FinancialMetrics(i,RequestedAmt)</text>
</literalExpression>
</contextEntry>
<contextEntry>
<variable typeRef="tMetrics" name="rankByRate"/>
<literalExpression>
<text>sort(metricsTable, function(x,y) x.rate&lt;y.rate)</text>
</literalExpression>
</contextEntry>
<contextEntry>
<variable typeRef="tMetrics" name="rankByDownPmt"/>
<literalExpression>
Expand Down

0 comments on commit e17b54b

Please sign in to comment.