Couldn't think of a better way to explain it in the title, my bad.
This is a problem I'm running into in a programming project. Here's the situation:
Say a partner is due to be paid $1000 for providing 100 leads or something. Lets say that 25% of the leads are from the US/UK (highly valuable), another 25% are from, say, Span (valuable, but not as much) and the rest are from Sierra Leone (not valuable).
I want to be able to assign weight to them so to speak, and subtract from the $1000 (that number is pre-determined based on a bunch of other things; I simply want to adjust it based on the quality of the leads)
I need to make a formula that takes these into account. If the partner only provides the poorest quality installs, I want to cut it down to like $200.
I'm not sure how to even tag this problem.
The simplest is to assign point values based on where the leads are. Maybe 3 points for the highest value leads, 2 for medium, 1 for low (pick the numbers to suit). Now the requirement needs to be adjusted to 2000 points or something like that.