Interesting idea, but there is no way you can measure quality in forum that easy.
I would say that with current formula your script more appropriate name is Quantity Score.
For getting more accurate Quality score you should include more factors, maybe how many members read and merited posts.
PS
OP you should release the code on Greasyfork.org website, that makes it more visible and easier to install.
Your observation is correct but difficult to implement! As already mentioned, the tool does not check the content of posts, nor does it check where the posts are written.
Basically, it fetches the user profile page and obtains the data it needs to examine. It also takes the time data from bitlist to see if the user has recent activity or is inactive.
What it returns is a snapshot of what the community thinks of me or you, or of fillippone or LoyceV, babo, etc.
It does not examine quality in the strict sense of the word, but only what each of us has done during our time on this forum.
We wouldn't even need a tool to understand that, on average, I have received 0.8 Merit for each of my posts! But the formula would serve to eliminate false positives as much as possible, not reward shitposters, and understand, for better or worse, how we have behaved on the forum, whether we have been appreciated or not.
As far as you are concerned, I can openly say that vod has created a truly fantastic and impressive tool. It will not replace the Merit system, but rather serve as a different form of "voting" to understand how much we appreciate the contributions of others, without limiting the vote. I don't know if I'm explaining myself well, but in short, to give 1 Merit, I first have to earn 2, which in itself is a limitation.
I'm not saying that the Merit system has problems, but simply that it's not entirely fair!
In my opinion, this is precisely what gives rise to merit abusers.
I almost forgot! The tool will be released on Greasyfork as soon as I have a stable formula, so it will be clearly visible to everyone.