dev: ra: simplify code using utils.memoize()
test: Update commit test