If there’s a box filter in my classroom, does that mean the ventilation is bad?

No. Criteria for room selection include MERV rating of the building’s filtration system, room-specific ventilation information, indoor air quality complaints, reliance on natural ventilation (presuming windows will need to be closed during wildfire smoke event and/or during colder winter months), occupancy and usage rates, and room size.