// Magma code for the lmfdb family of higher genus curves 10.108-17.0.2-6-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,17];
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,2,6,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:=[[82, 83, 84, 88, 89, 90, 85, 86, 87, 100, 101, 102, 106, 107, 108, 103, 104, 105, 91, 92, 93, 97, 98, 99, 94, 95, 96, 55, 56, 57, 61, 62, 63, 58, 59, 60, 73, 74, 75, 79, 80, 81, 76, 77, 78, 64, 65, 66, 70, 71, 72, 67, 68, 69, 28, 29, 30, 34, 35, 36, 31, 32, 33, 46, 47, 48, 52, 53, 54, 49, 50, 51, 37, 38, 39, 43, 44, 45, 40, 41, 42, 1, 2, 3, 7, 8, 9, 4, 5, 6, 19, 20, 21, 25, 26, 27, 22, 23, 24, 10, 11, 12, 16, 17, 18, 13, 14, 15], [42, 41, 40, 43, 45, 44, 38, 37, 39, 33, 32, 31, 34, 36, 35, 29, 28, 30, 51, 50, 49, 52, 54, 53, 47, 46, 48, 15, 14, 13, 16, 18, 17, 11, 10, 12, 6, 5, 4, 7, 9, 8, 2, 1, 3, 24, 23, 22, 25, 27, 26, 20, 19, 21, 96, 95, 94, 97, 99, 98, 92, 91, 93, 87, 86, 85, 88, 90, 89, 83, 82, 84, 105, 104, 103, 106, 108, 107, 101, 100, 102, 69, 68, 67, 70, 72, 71, 65, 64, 66, 60, 59, 58, 61, 63, 62, 56, 55, 57, 78, 77, 76, 79, 81, 80, 74, 73, 75], [77, 76, 78, 75, 74, 73, 79, 81, 80, 59, 58, 60, 57, 56, 55, 61, 63, 62, 68, 67, 69, 66, 65, 64, 70, 72, 71, 104, 103, 105, 102, 101, 100, 106, 108, 107, 86, 85, 87, 84, 83, 82, 88, 90, 89, 95, 94, 96, 93, 92, 91, 97, 99, 98, 23, 22, 24, 21, 20, 19, 25, 27, 26, 5, 4, 6, 3, 2, 1, 7, 9, 8, 14, 13, 15, 12, 11, 10, 16, 18, 17, 50, 49, 51, 48, 47, 46, 52, 54, 53, 32, 31, 33, 30, 29, 28, 34, 36, 35, 41, 40, 42, 39, 38, 37, 43, 45, 44]];
cc:=[4,9,10];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=1;
gen_vect_label:=1;
full_auto:=[216,87];
full_sign:=[0,2,4,6];
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>);
