For millennia, fluvial dikes (also called levees) have been built along long stretches of the world's rivers to protect population and property from flooding (Ward et al., 2017). However, failure of fluvial dikes leads to devastating human, economic, and environmental consequences worldwide (e.g.,