15.0 * if(contains(prop("Tags"), "next"), 1, 0) + 12.0 * if(dateBetween(now(), prop("Due"), "days") >= 7, 1, if(dateBetween(now(), prop("Due"), "days") >= -14, (dateBetween(now(), prop("Due"), "days") + 14.0) * 0.8 / 21.0 + 0.2, 0.2)) + 8.0 * if(empty(prop("Blocking")), 0, 1) + 6.0 * if(prop("Priority") == "High", 1, 0) + 3.9 * if(prop("Priority") == "Medium", 1, 0) + 1.8 * if(prop("Priority") == "Low", 1, 0) + 5.0 * if(empty(prop("Scheduled")) or prop("Scheduled") >= now(), 0, 1) + 4.0 * if(prop("Status") == "In Progress", 1, 0) + 2.0 * if(dateBetween(now(), prop("Created at"), "days") > 365, 1, dateBetween(now(), prop("Created at"), "days") / 365) + if(empty(prop("Tags")), 0, if(length(replaceAll(prop("Tags"), "[^,]", "")) + 1 == 1, 0.8, if(length(replaceAll(prop("Tags"), "[^,]", "")) + 1 == 2, 0.9, 1))) + if(empty(prop("Project")), 0, 1) + -5.0 * if(prop("Status") == "Blocked" or toNumber(replace(prop("Dependencies Complete"), "/[0-9]+$", "")) != toNumber(replace(prop("Dependencies Complete"), "^[0-9]+/", "")), 1, 0)
