Movie Money
Understanding Hollywood's (creative) Accounting Practices
9781879505865
This is THE book on the subject.
There's a lot more to it than that. Sometimes productions get creatively charged by the studios costs that may not be directly related to shift losses. Sometimes contracts redefine common terms so your points structure is completely misleading.