The other thing to remember is that you want the easiest, least expensive part to be the 1st to fail. You don't want the hinge to be stronger than the wall that it's attached to because, then the wall is vulnerable to failure.
Now, the only fail-safe is the human that is sliding and folding the wall....