You cant give 100% reward to someone, that would mean the others won't get anything.
Or I didn't get from what you are taking your 100% ...
What I meant by 100% reward is share value of an exactly diff matching submitted chain.
Anyway, the reward should try to match a % of the chain/day that the miner have, if this indicator is proven to be reliable.
But since chain/day cannot be used as a prof of work, you will have to finely tune the repartition of the shares.
chain/day is probably a deterministic model, the I could look at Sunny code and implement it on pool side I think. But as it's not accurate, does it worth it ?
if we allocate different value for each length, we should take :
S(L) = percentage of share allocated at length L.
C(L) = number of chain of length L found by all the pool miners.
M = block value in XPM
If a miner found F chain of length L he will gain for this length :
G(L) = M*F(L)*S(L)/C(L)
Your model is nice, but it's still discrete; to be reliable, share value need to be continuous as proof of work and diff are in primecoin network. That was my previous point. I give an example
Given a difficulty d
Let's call M(d) the value of a submitted share at difficulty d
Let's also call Dc the current diff and S the share value of a Dc-lenght chain
M(Dc)=S
In my previous post I stated M(Dc)=S as my reference share for all the other chain submitted. The share that worth 100%, and then calibrate reward system (M(d)) on this 100%-share with an exponential function. Let's call c the calibrated exponential function such as c(Dc)=1.
We therefore have M(Dc)= S . 1 = S . (c(Dc))
For example saying we accept share of [Dc-3] if we found S to be worth 2,5 XPM at diff 9.75 and choose a calibration of 1% for a 6.75-chain, 10% for 7.75-chain, 50% for a 8.75-chain, we have:
M(Dc=9.75) = 2,5
M(8.75) = 2.5 * 50%
M(7.75) = 2.5 * 10%
M(6.75) = 2.5 * 1%
That was my point.
But S is also function of total chains accepted during a round. If we call R the network block reward and Ci, each of these chains therefore we have to calculate S such as sum of all Ci weighted by internal reward percentage equal R.
That was my first idea of a more realistic reward for XPM pool. But I still think that others could bring something better