Did Ancient Greek Architecture implement factors of safety? Were there "building codes" to abide by?

by normankhoo
rotmoset

Follow up question: did the romans do this as well?