Can someone clarify the 'posts read' TL3 promotion logic?

The tl3_requires_posts_read site setting is a percentage. Let’s say it’s 10. While the cap keeps the requirement bound to something reasonable. Let’s say it’s 100.

“A user must read 10% of all the posts in the period, but not more than 100

Let’s say there were 500 posts made in that period.

In that case, it’d take reading 50 posts to meet the requirement (10% of those posts)

The arithmetic happens to be done as 500 * (10.0/100.0) to get the result 50

The cap sets an upper bound though.

If your cap is bigger than 50 (say 100), then it has no effect.

[50, 100].min returns 50

But what if there are 100,000 posts one month? In that case, without the cap, someone would have to read 10,000 posts to meet the requirement.

The 100 cap keeps that under control

[100000 * (10.0/100.0), 100].min returns 100

That make sense?