parameters: ()
docstring: A very light sanity check for backfilling schedule imports
      Diff the results before and after parsing changes
docstring_summary: A very light sanity check for backfilling schedule imports
      Diff the results before and after parsing changes
docstring_tokens: A very light sanity check for backfilling schedule imports Diff the results before and after parsing changes
function: def print_user_schedule_debug():
      """
      A very light sanity check for backfilling schedule imports
      Diff the results before and after parsing changes
      """
      for user in m.User.objects():
          items = user.get_all_schedule_items()
  
          courses = set()
          for i in items:
              courses.add(i.course_id)
  
          safe_name = user.name.encode('utf-8')
          print "%s, %s, %d USIs, %d courses" % (
                  str(user.id), safe_name, len(items), len(courses))
function_tokens: def print_user_schedule_debug ( ) : for user in m . User . objects ( ) : items = user . get_all_schedule_items ( ) courses = set ( ) for i in items : courses . add ( i . course_id ) safe_name = user . name . encode ( 'utf-8' ) print "%s, %s, %d USIs, %d courses" % ( str ( user . id ) , safe_name , len ( items ) , len ( courses ) )