[kelvin, neil] X fix python/js naming mismatch in distribution planning