Yeah... it's a bit of a hack to be honest but IIRC it's supposed to deal with the fact that actuator states don't necessarily need to be integers/floats. This "translates" them that type.  You're right, I should lookat what pydoc smap.actuate spits out and try to make it more useful -- that's usually where I start with the sphinx docs too.