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