The variables are how badly does the employer want to avoid negative press and an EEOC investigation. On the other hand, lawyers wouldn't take a case on contingency unless the litigant had a chance. In fact, it's a litmus test. Don't sue for discrimination if no lawyer will take the case on contingency. For example, Ellen Pao had to pay for her own lawyers. I chatted with my employment lawyer friends and they said her case was weak.
[1] https://www.eeoc.gov/laws/types/sexual_harassment.cfm
[2] https://www.eeoc.gov/search/search?q=sexual&btnG=Search&entq...
It's not just ongoing harassment, but also claims of retaliation when someone who has complained about sexual harassment is later terminated for (ostensibly) other reasons.
Pao's case was extraordinarily expensive.
After investigating, the EEOC shares their evaluation. So both parties should know how strong or weak the claims are. The requirements for a case are stringent, as you can see from the previous link. This is because EEOC understands the damage done by frivolous cases.