old_contents: from __future__ import absolute_import, unicode_literals
  from YAQueueProject.celery_app import app
  
  
  @app.task
  def add(x, y):
      return x + y
  
  
  i = 0
  j = 0
  
  
  @app.task
  def inc(f):
      if f:
          global i
          i += 1
          return i
      else:
          global j
          j += 1
          return j
  
new_contents: from __future__ import absolute_import, unicode_literals
  from YAQueueProject.celery_app import app
  
  
  @app.task
  def add(x, y):
      return x + y
  
  
  i = 0
  j = 0
  
  
  @app.task
  def inc(f):
      if f % 2 == 0:
          global i
          i += 1
          return i
      else:
          global j
          j += 1
          return j
  
subject: Update experiment function