The goal is not to eliminate failure, which is impossible, but to detect it earlier, while it is still cheap and before patients are exposed.
What an early warning would look like
A useful early signal would take the information already available about a candidate, such as its chemical structure, laboratory measurements, and how similar compounds behaved in the past, and produce a risk estimate before human trials. It would inform a decision rather than make it. A high risk estimate would not prove a drug will fail, and a low one would not prove it will succeed; both would simply shift how much confidence a team places in a candidate as it decides what to pursue next.