// Magma code for the lmfdb family of higher genus curves 10.162-14.0.2-3-18.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:=[162,14];
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,3,18];
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, 89, 90, 88, 87, 85, 86, 100, 101, 102, 107, 108, 106, 105, 103, 104, 91, 92, 93, 98, 99, 97, 96, 94, 95, 109, 110, 111, 116, 117, 115, 114, 112, 113, 127, 128, 129, 134, 135, 133, 132, 130, 131, 118, 119, 120, 125, 126, 124, 123, 121, 122, 136, 137, 138, 143, 144, 142, 141, 139, 140, 154, 155, 156, 161, 162, 160, 159, 157, 158, 145, 146, 147, 152, 153, 151, 150, 148, 149, 1, 2, 3, 8, 9, 7, 6, 4, 5, 19, 20, 21, 26, 27, 25, 24, 22, 23, 10, 11, 12, 17, 18, 16, 15, 13, 14, 28, 29, 30, 35, 36, 34, 33, 31, 32, 46, 47, 48, 53, 54, 52, 51, 49, 50, 37, 38, 39, 44, 45, 43, 42, 40, 41, 55, 56, 57, 62, 63, 61, 60, 58, 59, 73, 74, 75, 80, 81, 79, 78, 76, 77, 64, 65, 66, 71, 72, 70, 69, 67, 68], [37, 38, 39, 41, 42, 40, 45, 43, 44, 50, 51, 49, 54, 52, 53, 46, 47, 48, 34, 35, 36, 29, 30, 28, 33, 31, 32, 64, 65, 66, 68, 69, 67, 72, 70, 71, 77, 78, 76, 81, 79, 80, 73, 74, 75, 61, 62, 63, 56, 57, 55, 60, 58, 59, 11, 12, 10, 15, 13, 14, 16, 17, 18, 24, 22, 23, 25, 26, 27, 20, 21, 19, 8, 9, 7, 3, 1, 2, 4, 5, 6, 118, 119, 120, 122, 123, 121, 126, 124, 125, 131, 132, 130, 135, 133, 134, 127, 128, 129, 115, 116, 117, 110, 111, 109, 114, 112, 113, 145, 146, 147, 149, 150, 148, 153, 151, 152, 158, 159, 157, 162, 160, 161, 154, 155, 156, 142, 143, 144, 137, 138, 136, 141, 139, 140, 92, 93, 91, 96, 94, 95, 97, 98, 99, 105, 103, 104, 106, 107, 108, 101, 102, 100, 89, 90, 88, 84, 82, 83, 85, 86, 87], [153, 151, 152, 150, 148, 149, 147, 145, 146, 138, 136, 137, 144, 142, 143, 141, 139, 140, 158, 159, 157, 155, 156, 154, 161, 162, 160, 97, 98, 99, 94, 95, 96, 91, 92, 93, 82, 83, 84, 88, 89, 90, 85, 86, 87, 105, 103, 104, 102, 100, 101, 108, 106, 107, 124, 125, 126, 121, 122, 123, 118, 119, 120, 109, 110, 111, 115, 116, 117, 112, 113, 114, 132, 130, 131, 129, 127, 128, 135, 133, 134, 72, 70, 71, 69, 67, 68, 66, 64, 65, 57, 55, 56, 63, 61, 62, 60, 58, 59, 77, 78, 76, 74, 75, 73, 80, 81, 79, 16, 17, 18, 13, 14, 15, 10, 11, 12, 1, 2, 3, 7, 8, 9, 4, 5, 6, 24, 22, 23, 21, 19, 20, 27, 25, 26, 43, 44, 45, 40, 41, 42, 37, 38, 39, 28, 29, 30, 34, 35, 36, 31, 32, 33, 51, 49, 50, 48, 46, 47, 54, 52, 53]];
cc:=[2,7,18];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=1;
gen_vect_label:=1;
is_hyperelliptic:=false;
is_cyclic_trigonal:=false;
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, is_hyperelliptic:=is_hyperelliptic,is_cyclic_trigonal:=is_cyclic_trigonal >);
