model = SlopeModel[
<|"Height" -> 10., "SlopeAngle" -> 26.57 Degree,
"FoundationDepth" -> 10., "CrestLength" -> 22.,
"ToeLength" -> 22., "XStart" -> -12.|>,
<|"Regions" -> {<|"Name" -> "Clay", "Base" -> 0.,
"UnitWeight" -> 20., "Cohesion" -> 10.,
"FrictionAngle" -> 20. Degree|>}|>];
res = BishopCriticalCircle[model, "Grid" -> 12];
JanbuFoS[model, SurfaceFromCircle[model, Append[res["Center"], res["Radius"]]]]["FoS"]