Depending on a state’s specific statutes, factors used by a judge in assessing dangerousness may include: 1. the nature of the offense 2. The extent and nature of prior criminal history 3. The nature and severity of mental or substance use disorders. These factors may be used to determine bail as well as eligibility for a diversion program.