def get_activity_name(activity):
    name = activity['name']
    if activity['isReplicate']:
        return name[:(- 3)]
    return name
def get_activity_name(activity):
    name = activity['name']
    if activity['isReplicate']:
        return name[:(- 3)]
    return name