Accuracy Function Python Example Testamentary