“…Over the years, the following code-related properties were proven to hold when considering a metric determined by a hierarchical poset: (i) the weight enumerator of a code is completely determined by the weight enumerator of its dual code (MacWilliams-type Identity), [4]; (ii) a linear code determines an association scheme, [5]; (iii) isometric linear isomorphism between codes may be extended to the entire space (MacWilliams Extension Theorem), [6]; (iv) the packing radius of a code is a function of its minimum distance, [7]. These properties appear dispersed throughout the literature and were proved by using many different combinatorial and algebraic tools: characters, association schemes, matroids, etc.…”