It gets sealed, serviceably. The pit connects to drain tile under the whole slab, making an open sump one of the largest radon entries in the house. A proper cover is airtight, clear or ported so you can see the pump, and removable for service.
More detail
A sump pit fed by perimeter drain tile is plumbed, by design, to the soil under your entire foundation, which is wonderful for water and terrible for soil gas. During mitigation the pit is sealed with a gasketed, airtight lid, with cord and discharge penetrations booted, and the seal done in a way that comes apart for pump service and goes back together without a contractor visit, silicone rather than permanent adhesive at the rim. In some houses the pit itself becomes a tie-in to the suction system, since the drain tile reaches everywhere the fan wants to reach, though a pit with an active pump gets evaluated carefully before serving that role. Owner maintenance is the part people miss: after any pump swap, reseal the lid, and if your radon number creeps up a year after a plumber visit, the sump lid is the first suspect. See levels crept back up.