def METHOD_NAME(self, grading_id, score=None, pre_record_hook=None, comment=None):
    request = {"resultRecord": {"sourcedGUID": {"sourcedId": grading_id}}}
    if score is not None:
        request["resultRecord"]["result"] = {
            "resultScore": {"language": "en", "textString": score}
        }
    if pre_record_hook:
        request = pre_record_hook(score=score, request_body=request)
    self._send_request({"replaceResultRequest": request})