The Karma FAQ on the main site says that guidelines for calculating karma are including with the open source package, but I haven't found them. Were they written or am I not looking in the right place?
Inspect this file to see how it's calculated:
It looks to be well commented to make it easy to establish your own set of rules. I've pasted the code into the collapsible block below.