Skip to content

Commit ef7c342

Browse files
committed
test: add regression baselines and whitelist them in .gitignore
1 parent b1a3ea1 commit ef7c342

9 files changed

Lines changed: 359 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,6 @@ job*
127127
*.txt
128128

129129
.testdata/
130+
131+
!tests/regression/baselines/
132+
!tests/regression/baselines/*.json
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/benzaldehyde/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/benzaldehyde/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/benzaldehyde/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-60/test_regression_matches_baseli0/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 158.90339720185818,
34+
"united_atom:Rovibrational": 143.87250586343512,
35+
"residue:FTmat-Transvibrational": 106.71035236014967,
36+
"residue:FTmat-Rovibrational": 95.07735227595549,
37+
"united_atom:Conformational": 0.0,
38+
"residue:Conformational": 0.0
39+
},
40+
"total": 504.56360770139844
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/benzene/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/benzene/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/benzene/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-64/test_regression_matches_baseli0/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 93.55450341182438,
34+
"united_atom:Rovibrational": 143.68264201362132,
35+
"residue:FTmat-Transvibrational": 108.34125737284016,
36+
"residue:FTmat-Rovibrational": 95.57598285903227,
37+
"united_atom:Conformational": 0.0,
38+
"residue:Conformational": 0.0
39+
},
40+
"total": 441.15438565731813
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/cyclohexane/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/cyclohexane/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/cyclohexane/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-60/test_regression_matches_baseli2/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 109.02761125847158,
34+
"united_atom:Rovibrational": 227.2888326629934,
35+
"residue:FTmat-Transvibrational": 106.06698045971194,
36+
"residue:FTmat-Rovibrational": 99.10449330958527,
37+
"united_atom:Conformational": 0.0,
38+
"residue:Conformational": 0.0
39+
},
40+
"total": 541.4879176907622
41+
}
42+
}
43+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/dna/md_A4_dna.tpr",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/dna/md_A4_dna_xf.trr"
6+
],
7+
"force_file": null,
8+
"file_format": null,
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-60/test_regression_matches_baseli3/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 0.0,
34+
"united_atom:Rovibrational": 0.002160679012128457,
35+
"residue:Transvibrational": 0.0,
36+
"residue:Rovibrational": 3.376800684085249,
37+
"polymer:FTmat-Transvibrational": 12.341104347192612,
38+
"polymer:FTmat-Rovibrational": 0.0,
39+
"united_atom:Conformational": 7.269386795471401,
40+
"residue:Conformational": 0.0
41+
},
42+
"total": 22.989452505761392
43+
},
44+
"1": {
45+
"components": {
46+
"united_atom:Transvibrational": 0.0,
47+
"united_atom:Rovibrational": 0.01846427765949586,
48+
"residue:Transvibrational": 0.0,
49+
"residue:Rovibrational": 2.3863201082544565,
50+
"polymer:FTmat-Transvibrational": 11.11037253388596,
51+
"polymer:FTmat-Rovibrational": 0.0,
52+
"united_atom:Conformational": 6.410455987098191,
53+
"residue:Conformational": 0.46183561256411515
54+
},
55+
"total": 20.387448519462218
56+
}
57+
}
58+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/ethyl-acetate/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/ethyl-acetate/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/ethyl-acetate/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-60/test_regression_matches_baseli4/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 119.77870290196522,
34+
"united_atom:Rovibrational": 144.2366436580796,
35+
"residue:FTmat-Transvibrational": 103.5819666889598,
36+
"residue:FTmat-Rovibrational": 95.68311953660015,
37+
"united_atom:Conformational": 8.140778318198597,
38+
"residue:Conformational": 0.0
39+
},
40+
"total": 471.4212111038034
41+
}
42+
}
43+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/methane/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/methane/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/methane/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 112.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-60/test_regression_matches_baseli5/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 75.73291215434239,
34+
"united_atom:Rovibrational": 68.80103728327107,
35+
"united_atom:Conformational": 0.0
36+
},
37+
"total": 144.53394943761344
38+
}
39+
}
40+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/methanol/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/methanol/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/methanol/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-60/test_regression_matches_baseli6/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 0.0,
34+
"united_atom:Rovibrational": 85.74870264018092,
35+
"residue:FTmat-Transvibrational": 93.59616431728384,
36+
"residue:FTmat-Rovibrational": 59.61417719536213,
37+
"united_atom:Conformational": 0.0,
38+
"residue:Conformational": 0.0
39+
},
40+
"total": 238.9590441528269
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/octonol/molecules.top",
5+
"/home/tdo96567/BioSim/CodeEntropy/tests/data/octonol/trajectory.crd"
6+
],
7+
"force_file": "/home/tdo96567/BioSim/CodeEntropy/tests/data/octonol/forces.frc",
8+
"file_format": "MDCRD",
9+
"kcal_force_units": false,
10+
"selection_string": "all",
11+
"start": 0,
12+
"end": 1,
13+
"step": 1,
14+
"bin_width": 30,
15+
"temperature": 298.0,
16+
"verbose": false,
17+
"output_file": "/tmp/pytest-of-tdo96567/pytest-65/test_regression_matches_baseli0/job001/output_file.json",
18+
"force_partitioning": 0.5,
19+
"water_entropy": true,
20+
"grouping": "molecules",
21+
"combined_forcetorque": true,
22+
"customised_axes": true
23+
},
24+
"provenance": {
25+
"python": "3.14.0",
26+
"platform": "Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39",
27+
"codeentropy_version": "1.0.7",
28+
"git_sha": "226b37f7b206adba1b60253c41c7a0d467e75a58"
29+
},
30+
"groups": {
31+
"0": {
32+
"components": {
33+
"united_atom:Transvibrational": 222.4800037654818,
34+
"united_atom:Rovibrational": 345.86413400118744,
35+
"residue:FTmat-Transvibrational": 101.79847675768119,
36+
"residue:FTmat-Rovibrational": 92.71423842383722,
37+
"united_atom:Conformational": 20.4159084259166,
38+
"residue:Conformational": 0.0
39+
},
40+
"total": 783.2727613741043
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)