Exemple #1
0
 def renewal_rate(self):
     """The percentage of lease renewals as a total of leases due to expire."""
     # XXX I'm utterly unconvinced that this is a sensible metric, but it is
     # specified in Sprint 1. -Dave
     return div_or_0(self.lease_renewal_notices, self.resident_decisions)
Exemple #2
0
 def lease_cd_rate(self):
     """The percentage of lease cancellations as a total of lease applications."""
     # XXX this also seems like a nonsense number to me. -Dave
     return div_or_0(self.lease_cds, self.lease_applications)
Exemple #3
0
 def cost_per_exe_vs_lowest_monthly_rent(self):
     """Return the percentage of the monthly rent required to get a lease execution."""
     return float(div_or_0(self.cost_per_exe, self.lowest_monthly_rent))
Exemple #4
0
 def leased_rate(self):
     """The percentage of leasable units that are actually leased at end of period."""
     return div_or_0(self.leased_units, self.total_units)
Exemple #5
0
 def app_exe_perc(self):
     """The conversion rate from lease applications to executions."""
     return div_or_0(self.leases_executed, self.lease_applications)
Exemple #6
0
 def usv_exe_perc(self):
     """The conversation rate from usvs to lease executions."""
     return div_or_0(self.leases_executed, self.usvs)
Exemple #7
0
 def inq_tou_perc(self):
     """The conversion rate from inquiries to tours."""
     return div_or_0(self.tours, self.inquiries)
Exemple #8
0
 def tou_app_perc(self):
     """The conversion rate from tours to lease applications."""
     return div_or_0(self.lease_applications, self.tours)
Exemple #9
0
 def usv_inq_perc(self):
     """The conversation rate from usvs to inquiries."""
     return div_or_0(self.inquiries, self.usvs)
Exemple #10
0
 def occupancy_rate(self):
     """The percentage of occupiable units that are actually occupied at end of period."""
     return div_or_0(self.occupied_units, self.total_units)
Exemple #11
0
 def target_lease_cd_rate(self):
     """The target number of lease cancellations units we'd like to achieve."""
     # XXX copied from lease_cd_rate
     return div_or_0(self.target_lease_cds, self.target_lease_applications)
Exemple #12
0
 def target_renewal_rate(self):
     """The target number of leased units we'd like to achieve."""
     return div_or_0(self.target_lease_renewal_notices,
                     self.target_resident_decisions)
Exemple #13
0
def occupancy_rate_calc(occupied_units, occupiable_units):
    print(occupied_units, occupiable_units)
    return div_or_0(occupied_units, occupiable_units)