WARREN (CBS Detroit/AP) — A 17-year-old girl accused of fatally stabbing a classmate at Warren’s Fitzgerald High School in an alleged dispute over a boy has been found competent to stand trial.

A judge issued the ruling Thursday after Tanaya Lewis underwent a competency exam to determine if she understood the murder charge and could assist her lawyer.

READ MORE: ACLU Sues Michigan State Police, Claims Racial Profiling, Black Drivers Pulled Over More

Lewis is accused of stabbing 16-year-old Danyna Gibson in a classroom on Sept. 12. Investigators say the attack occurred in front of a teacher and about 20 students, and that Lewis was laughing as she chased Gibson and stabbed her in the chest and back.

READ MORE: Woman Finds 95-Year-Old Message In A Bottle In Michigan

A hearing to determine if the case goes to trial is scheduled for Feb. 15. Following Thursday’s hearing, defense lawyer Mark Brown told The Macomb Daily that it’s “a sad case.”

MORE NEWS: Here's A List Of Bills Gov. Whitmer Signed Into Law Thursday

© 2018 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.