Charlie Stewart, 22, was ordered to perform unpaid work for assaulting her ex-partner.
She previously pleaded guilty to attacking Dillon Jeffrey on Balmullo Square on October 16 last year.
Stewart, of Gardyne Place, seized Mr Jeffrey by the clothing before repeatedly pushing him on the body and repeatedly punching him on the head.
She returned to the dock after the preparation of social work reports.
Stewart was ordered to carry out 110 hours of unpaid work by Sheriff George Way.