DetermineFactor move to ai project