The algorithm black box

A photo of pills with numbers on them.
Illustration: Sarah Grillo / Axios

One of the biggest mysteries within the Express Scripts contract template is the algorithm that determines whether a drug is a brand or a generic. Here is an example of how the algorithm could be used at the smallest scale.