// Magma code for the lmfdb family of higher genus curves 10.108-22.0.3-3-6.1
// The results are stored in a list of records called 'data'

RecFormat:=recformat<group,gp_id, signature,gen_vectors,conj_classes,genus,dimension,r,g0, passport_label,gen_vect_label, is_hyperelliptic, hyp_involution, is_cyclic_trigonal,cyc_auto,full_auto, full_sign,topological_class,braid_class>;

data:=[];

// Create group as a permutation group, and generate data which is the same for all entries.
gp_id:=[108,22];
H:=SmallGroup(gp_id[1],gp_id[2]); n:=#H; LP:=[]; LG:=[g : g in H]; for i in [1..n] do x:=LG[i]; Tx:=[LG[j]*x : j in [1..n]]; permL:=[]; for j in [1..n] do for k in [1..n] do if Tx[j] eq LG[k] then permL[j]:=k;  break; end if; end for; end for; Append(~LP,permL); end for; G:=PermutationGroup<n|LP>; 
signature:=[0,3,3,6];
genus:=10;
r:=#signature-1;
g0:=signature[1];
dim:=3*g0-3+r;
S:=Sym(gp_id[1]);

// Here we add an action to data.
gen_vectors:=[[37, 40, 38, 39, 41, 44, 42, 43, 45, 48, 46, 47, 53, 56, 54, 55, 57, 60, 58, 59, 49, 52, 50, 51, 69, 72, 70, 71, 61, 64, 62, 63, 65, 68, 66, 67, 73, 76, 74, 75, 77, 80, 78, 79, 81, 84, 82, 83, 89, 92, 90, 91, 93, 96, 94, 95, 85, 88, 86, 87, 105, 108, 106, 107, 97, 100, 98, 99, 101, 104, 102, 103, 1, 4, 2, 3, 5, 8, 6, 7, 9, 12, 10, 11, 17, 20, 18, 19, 21, 24, 22, 23, 13, 16, 14, 15, 33, 36, 34, 35, 25, 28, 26, 27, 29, 32, 30, 31], [103, 101, 102, 104, 107, 105, 106, 108, 99, 97, 98, 100, 75, 73, 74, 76, 79, 77, 78, 80, 83, 81, 82, 84, 95, 93, 94, 96, 87, 85, 86, 88, 91, 89, 90, 92, 31, 29, 30, 32, 35, 33, 34, 36, 27, 25, 26, 28, 3, 1, 2, 4, 7, 5, 6, 8, 11, 9, 10, 12, 23, 21, 22, 24, 15, 13, 14, 16, 19, 17, 18, 20, 67, 65, 66, 68, 71, 69, 70, 72, 63, 61, 62, 64, 39, 37, 38, 40, 43, 41, 42, 44, 47, 45, 46, 48, 59, 57, 58, 60, 51, 49, 50, 52, 55, 53, 54, 56], [23, 24, 21, 22, 15, 16, 13, 14, 19, 20, 17, 18, 35, 36, 33, 34, 27, 28, 25, 26, 31, 32, 29, 30, 11, 12, 9, 10, 3, 4, 1, 2, 7, 8, 5, 6, 59, 60, 57, 58, 51, 52, 49, 50, 55, 56, 53, 54, 71, 72, 69, 70, 63, 64, 61, 62, 67, 68, 65, 66, 47, 48, 45, 46, 39, 40, 37, 38, 43, 44, 41, 42, 95, 96, 93, 94, 87, 88, 85, 86, 91, 92, 89, 90, 107, 108, 105, 106, 99, 100, 97, 98, 103, 104, 101, 102, 83, 84, 81, 82, 75, 76, 73, 74, 79, 80, 77, 78]];
cc:=[7,10,15];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=1;
gen_vect_label:=1;
full_auto:=[216,92];
full_sign:=[0,2,3,12];
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, full_auto:=full_auto, full_sign:=full_sign>);
