log func extracted to world_log_timestep_stats