Threshold-gates, coin-weighing and indecomposable hypergraphs (DRAFT)