refactor treatment factors to swap the level and amount variables
Reviewer: Dan V. (post-commit)
Issue: GCP-9627