I modified the description because the new objective is to apply a factor based on the country the relays are based in, so we need to aggregate not only by family, but also by country.
We should play with deriving a factor that is inversely proportional to the total exit probability of the country, and combine that with a constant per country which can be tweaked in respect to laws (treaties etc).
quick draft pseudo code
for all relays: exitbw[relay.family][relay.country] += relay.exitbwfor family in [0..families]: for country in [0..countries]: cashout[family] += exitbw[family][country] * constantfactor[country] / exitprobability[country] # take care of 0
Hi. Does anyone know the most optimal method of grouping relays by family?
A family relationship only exists if two relays both declare each other to be in their family. That is to say, if relay A declares B to be in its family, but B doesn't declare A then no family exists.
I suppose you could process descriptors into sets of relays that all declare families with each other. Some relays may appear in multiple sets though. I don't know an elegant way of doing this offhand (code I have in mind is a little messy).
I suppose you could process descriptors into sets of relays that all declare families with each other. Some relays may appear in multiple sets though. I don't know an elegant way of doing this offhand (code I have in mind is a little messy).
If I have 3 relays A, B and C which have each other in their family. Ideally we should have one family formed. but if I group them with each other, I'd get 3 families no?
Hi. Does anyone know the most optimal method of grouping relays by family?
#6662 (moved) might be relevant. A summary might be to group by the largest mutual relationship unit and merge overlapping families, taking into account cached descriptors for relays that are not available at the time of examination.
I believe that either the "Exit Reimbursement Program" has ended long ago, or that whoever is in charge for that has found an alternative solution. Closing.
Trac: Severity: N/Ato Normal Resolution: N/Ato wontfix Reviewer: N/AtoN/A Status: new to closed Sponsor: N/AtoN/A