Text this: Algorithms for Worst-Case Design and Applications to Risk Management /