[lecture] Unify guards for UG grid

Merged Hanchuan Wu requested to merge cleanup/unify-ug-guard-lecture-v3.4 into master

Merge request reports