Better assertions [skip CI]
Better assertions [skip CI]


Former-commit-id: 7147237ed72addf84069ad45bc7c438b9a62bb1d [formerly 6e22cfe87197e994a1baaf4a9c11562ec735b179]
Former-commit-id: efc4e81e0fa0ef91bdbf1687147ecc24d5799d5d
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine