A 27-year-old woman avoids jail time after pleading guilty in the Perth Magistrates Court to assaulting and choking her seven-month-old baby.