Accuracy Function Python Example Maintenance