Computational enumeration of  superspecial hyperelliptic curves

Problem Setting
Let g be an integer > 1 and p a rational prime.
Given (g,p), enumerating superspecial (s.sp. for short) curves of genus g over a field K of characteristic p is a very important problem in arithmetic and algebraic geometry. 

The word "enumerate" means to list representatives (defining equations) for all isomorphism classes of those curves, where we consider isomorphisms over K, or its algebraic closure L.
Note that only finite such curves exist, up to isomorphism over L.
For the field of definition, the most important case is K=GF(p^2), since any s.sp. curve over K is L-isomorphic to one over GF(p^2).

In this page, we focus on the enumeration of s.sp. hyperelliptic curves of genus > 3.

Magma codes, log files and a table of results

The following code enumerates s.sp. hyperelliptic curves of genus 4 defined by H_{a,b} : y^2 = f_{a,b} = x^10 + x^7 + a*x^4 + b*x, where a, b in GF(p^2).

The code works over Magma V.2.26-10 (or later versions).