Suppose $X$ is a Riemann surface (or curve) of genus $g$, and $G=$SmallGroup$(n,d)$ is a group acting on $X$ as automorphisms of $X$, with quotient space $Y=X/G$ of genus $g_0$. Then the mapping $X \to Y$ is branched at $r$ points in $Y$ and the corresponding generators of the monodromy group have order $m_1$, $m_2$, $\ldots$, $m_r$. The values $[g_0; m_1, \ldots, m_r]$ are called the signature of the group action.

The label for the family of higher genus curves with a group $G \cong$ SmallGroup$(n,d)$ acting on it with signature $[g_0; m_1, \ldots, m_r]$ is given as $$g.n-d.g_0.m_1-m_2- \cdots -m_r$$ For example, the genus 3 Hurwitz curve with automorphism group PSL$(2,7) \cong $SmallGroup$(168,42)$ and signature $[0;2,3,7]$ is labeled: $$5.168-42.0.2-3-7$$ There may be several inequivalent actions described by that label, though. We also distinguish the actions by which conjugacy classes in $G$ the monodromy generators are from, creating passport labels. For our previous example $$5.168-42.0.2-3-7.1 \text{ and } 5.168-42.0.2-3-7.2$$ represent the two distinct actions of PSL$(2,7)$ as a Hurwitz group on a genus $3$ curve up to refined passports.

The numbers $1$ and $2$ are assigned based on the increasing order of the numbers labeling the corresponding conjugacy classes in Magma when the data is initially produced. At that point, we use a particular function to convert a group of the form SmallGroup$(n,d)$ to a subgroup of $S_{|G|}$, the symmetric group on $|G|$ elements. The conjugacy class numbers in the data correspond to this particular permutation group in Magma.