Skip to content

Commit c0b0639

Browse files
committed
Changing regression tests for liquids to grid search for speed up.
1 parent 697cc5d commit c0b0639

33 files changed

Lines changed: 561 additions & 79 deletions

tests/regression/baselines/benzaldehyde.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@
66
],
77
"force_file": "/home/ogo12949/CodeEntropy/.testdata/benzaldehyde/forces.frc",
88
"file_format": "MDCRD",
9-
"kcal_force_units": false,
9+
"kcal_force_units": true,
1010
"selection_string": "all",
1111
"start": 0,
1212
"end": 1,
1313
"step": 1,
1414
"bin_width": 30,
1515
"temperature": 298.0,
1616
"verbose": false,
17-
"output_file": "/tmp/pytest-of-ogo12949/pytest-1/test_regression_matches_baseli1/job001/output_file.json",
17+
"output_file": "/tmp/pytest-of-ogo12949/pytest-5/test_regression_matches_baseli1/job001/output_file.json",
1818
"force_partitioning": 0.5,
1919
"water_entropy": true,
2020
"grouping": "molecules",
2121
"combined_forcetorque": true,
2222
"customised_axes": true,
23-
"search_type": "RAD"
23+
"search_type": "grid"
2424
},
2525
"provenance": {
2626
"python": "3.13.5",
2727
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
2828
"codeentropy_version": "2.0.0",
29-
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
29+
"git_sha": "697cc5da0af766f2f69b0fa31254f2ce7b2b1141"
3030
},
3131
"groups": {
3232
"0": {
3333
"components": {
34-
"united_atom:Transvibrational": 158.90339720185818,
35-
"united_atom:Rovibrational": 143.87250586343512,
36-
"residue:FTmat-Transvibrational": 106.71035236014967,
37-
"residue:FTmat-Rovibrational": 95.07735227595549,
34+
"united_atom:Transvibrational": 24.88518233240474,
35+
"united_atom:Rovibrational": 27.950376507672583,
36+
"residue:FTmat-Transvibrational": 71.03412922724692,
37+
"residue:FTmat-Rovibrational": 59.44169664956799,
3838
"united_atom:Conformational": 0.0,
3939
"residue:Conformational": 0.0,
40-
"residue:Orientational": 25.3107189764825
40+
"residue:Orientational": 59.5156759876787
4141
},
42-
"total": 529.874326677881
42+
"total": 242.82706070457093
4343
}
4444
}
4545
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/ogo12949/CodeEntropy/.testdata/benzaldehyde/molecules.top",
5+
"/home/ogo12949/CodeEntropy/.testdata/benzaldehyde/trajectory.crd"
6+
],
7+
"force_file": "/home/ogo12949/CodeEntropy/.testdata/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-ogo12949/pytest-1/test_regression_matches_baseli1/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+
"search_type": "RAD"
24+
},
25+
"provenance": {
26+
"python": "3.13.5",
27+
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
28+
"codeentropy_version": "2.0.0",
29+
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
30+
},
31+
"groups": {
32+
"0": {
33+
"components": {
34+
"united_atom:Transvibrational": 158.90339720185818,
35+
"united_atom:Rovibrational": 143.87250586343512,
36+
"residue:FTmat-Transvibrational": 106.71035236014967,
37+
"residue:FTmat-Rovibrational": 95.07735227595549,
38+
"united_atom:Conformational": 0.0,
39+
"residue:Conformational": 0.0,
40+
"residue:Orientational": 25.3107189764825
41+
},
42+
"total": 529.874326677881
43+
}
44+
}
45+
}

tests/regression/baselines/benzene.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@
66
],
77
"force_file": "/home/ogo12949/CodeEntropy/.testdata/benzene/forces.frc",
88
"file_format": "MDCRD",
9-
"kcal_force_units": false,
9+
"kcal_force_units": true,
1010
"selection_string": "all",
1111
"start": 0,
1212
"end": 1,
1313
"step": 1,
1414
"bin_width": 30,
1515
"temperature": 298.0,
1616
"verbose": false,
17-
"output_file": "/tmp/pytest-of-ogo12949/pytest-1/test_regression_matches_baseli2/job001/output_file.json",
17+
"output_file": "/tmp/pytest-of-ogo12949/pytest-5/test_regression_matches_baseli2/job001/output_file.json",
1818
"force_partitioning": 0.5,
1919
"water_entropy": true,
2020
"grouping": "molecules",
2121
"combined_forcetorque": true,
2222
"customised_axes": true,
23-
"search_type": "RAD"
23+
"search_type": "grid"
2424
},
2525
"provenance": {
2626
"python": "3.13.5",
2727
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
2828
"codeentropy_version": "2.0.0",
29-
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
29+
"git_sha": "697cc5da0af766f2f69b0fa31254f2ce7b2b1141"
3030
},
3131
"groups": {
3232
"0": {
3333
"components": {
34-
"united_atom:Transvibrational": 93.55450341182438,
35-
"united_atom:Rovibrational": 143.68264201362132,
36-
"residue:FTmat-Transvibrational": 108.34125737284016,
37-
"residue:FTmat-Rovibrational": 95.57598285903227,
34+
"united_atom:Transvibrational": 9.081853431559052,
35+
"united_atom:Rovibrational": 27.534380126250227,
36+
"residue:FTmat-Transvibrational": 72.66211800013413,
37+
"residue:FTmat-Rovibrational": 59.93761874375924,
3838
"united_atom:Conformational": 0.0,
3939
"residue:Conformational": 0.0,
40-
"residue:Orientational": 12.282076945243183
40+
"residue:Orientational": 41.237966715197246
4141
},
42-
"total": 453.43646260256133
42+
"total": 210.45393701689989
4343
}
4444
}
4545
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/ogo12949/CodeEntropy/.testdata/benzene/molecules.top",
5+
"/home/ogo12949/CodeEntropy/.testdata/benzene/trajectory.crd"
6+
],
7+
"force_file": "/home/ogo12949/CodeEntropy/.testdata/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-ogo12949/pytest-1/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+
"search_type": "RAD"
24+
},
25+
"provenance": {
26+
"python": "3.13.5",
27+
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
28+
"codeentropy_version": "2.0.0",
29+
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
30+
},
31+
"groups": {
32+
"0": {
33+
"components": {
34+
"united_atom:Transvibrational": 93.55450341182438,
35+
"united_atom:Rovibrational": 143.68264201362132,
36+
"residue:FTmat-Transvibrational": 108.34125737284016,
37+
"residue:FTmat-Rovibrational": 95.57598285903227,
38+
"united_atom:Conformational": 0.0,
39+
"residue:Conformational": 0.0,
40+
"residue:Orientational": 12.282076945243183
41+
},
42+
"total": 453.43646260256133
43+
}
44+
}
45+
}

tests/regression/baselines/cyclohexane.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@
66
],
77
"force_file": "/home/ogo12949/CodeEntropy/.testdata/cyclohexane/forces.frc",
88
"file_format": "MDCRD",
9-
"kcal_force_units": false,
9+
"kcal_force_units": true,
1010
"selection_string": "all",
1111
"start": 0,
1212
"end": 1,
1313
"step": 1,
1414
"bin_width": 30,
1515
"temperature": 298.0,
1616
"verbose": false,
17-
"output_file": "/tmp/pytest-of-ogo12949/pytest-1/test_regression_matches_baseli3/job001/output_file.json",
17+
"output_file": "/tmp/pytest-of-ogo12949/pytest-5/test_regression_matches_baseli3/job001/output_file.json",
1818
"force_partitioning": 0.5,
1919
"water_entropy": true,
2020
"grouping": "molecules",
2121
"combined_forcetorque": true,
2222
"customised_axes": true,
23-
"search_type": "RAD"
23+
"search_type": "grid"
2424
},
2525
"provenance": {
2626
"python": "3.13.5",
2727
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
2828
"codeentropy_version": "2.0.0",
29-
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
29+
"git_sha": "697cc5da0af766f2f69b0fa31254f2ce7b2b1141"
3030
},
3131
"groups": {
3232
"0": {
3333
"components": {
34-
"united_atom:Transvibrational": 109.02761125847158,
35-
"united_atom:Rovibrational": 227.2888326629934,
36-
"residue:FTmat-Transvibrational": 106.06698045971194,
37-
"residue:FTmat-Rovibrational": 99.10449330958527,
34+
"united_atom:Transvibrational": 11.726471858700231,
35+
"united_atom:Rovibrational": 47.71088602161552,
36+
"residue:FTmat-Transvibrational": 70.3922327806972,
37+
"residue:FTmat-Rovibrational": 63.44920824648768,
3838
"united_atom:Conformational": 0.0,
3939
"residue:Conformational": 0.0,
40-
"residue:Orientational": 13.963860657362106
40+
"residue:Orientational": 47.30759597445523
4141
},
42-
"total": 555.4517783481243
42+
"total": 240.58639488195587
4343
}
4444
}
4545
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"args": {
3+
"top_traj_file": [
4+
"/home/ogo12949/CodeEntropy/.testdata/cyclohexane/molecules.top",
5+
"/home/ogo12949/CodeEntropy/.testdata/cyclohexane/trajectory.crd"
6+
],
7+
"force_file": "/home/ogo12949/CodeEntropy/.testdata/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-ogo12949/pytest-1/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+
"search_type": "RAD"
24+
},
25+
"provenance": {
26+
"python": "3.13.5",
27+
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
28+
"codeentropy_version": "2.0.0",
29+
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
30+
},
31+
"groups": {
32+
"0": {
33+
"components": {
34+
"united_atom:Transvibrational": 109.02761125847158,
35+
"united_atom:Rovibrational": 227.2888326629934,
36+
"residue:FTmat-Transvibrational": 106.06698045971194,
37+
"residue:FTmat-Rovibrational": 99.10449330958527,
38+
"united_atom:Conformational": 0.0,
39+
"residue:Conformational": 0.0,
40+
"residue:Orientational": 13.963860657362106
41+
},
42+
"total": 555.4517783481243
43+
}
44+
}
45+
}

tests/regression/baselines/dna.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"bin_width": 30,
1515
"temperature": 298.0,
1616
"verbose": false,
17-
"output_file": "/tmp/pytest-of-ogo12949/pytest-1/test_regression_matches_baseli0/job001/output_file.json",
17+
"output_file": "/tmp/pytest-of-ogo12949/pytest-5/test_regression_matches_baseli0/job001/output_file.json",
1818
"force_partitioning": 0.5,
1919
"water_entropy": true,
2020
"grouping": "molecules",
@@ -26,7 +26,7 @@
2626
"python": "3.13.5",
2727
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
2828
"codeentropy_version": "2.0.0",
29-
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
29+
"git_sha": "697cc5da0af766f2f69b0fa31254f2ce7b2b1141"
3030
},
3131
"groups": {
3232
"0": {

tests/regression/baselines/ethyl-acetate.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@
66
],
77
"force_file": "/home/ogo12949/CodeEntropy/.testdata/ethyl-acetate/forces.frc",
88
"file_format": "MDCRD",
9-
"kcal_force_units": false,
9+
"kcal_force_units": true,
1010
"selection_string": "all",
1111
"start": 0,
1212
"end": 1,
1313
"step": 1,
1414
"bin_width": 30,
1515
"temperature": 298.0,
1616
"verbose": false,
17-
"output_file": "/tmp/pytest-of-ogo12949/pytest-1/test_regression_matches_baseli4/job001/output_file.json",
17+
"output_file": "/tmp/pytest-of-ogo12949/pytest-5/test_regression_matches_baseli4/job001/output_file.json",
1818
"force_partitioning": 0.5,
1919
"water_entropy": true,
2020
"grouping": "molecules",
2121
"combined_forcetorque": true,
2222
"customised_axes": true,
23-
"search_type": "RAD"
23+
"search_type": "grid"
2424
},
2525
"provenance": {
2626
"python": "3.13.5",
2727
"platform": "Linux-6.17.0-1012-oem-x86_64-with-glibc2.39",
2828
"codeentropy_version": "2.0.0",
29-
"git_sha": "3143bcbea9717e13135f61c00e6a0efa7814f82f"
29+
"git_sha": "697cc5da0af766f2f69b0fa31254f2ce7b2b1141"
3030
},
3131
"groups": {
3232
"0": {
3333
"components": {
34-
"united_atom:Transvibrational": 124.52960172835098,
35-
"united_atom:Rovibrational": 144.2366436580796,
36-
"residue:FTmat-Transvibrational": 103.5819666889598,
37-
"residue:FTmat-Rovibrational": 95.68311953660015,
34+
"united_atom:Transvibrational": 20.24374894231227,
35+
"united_atom:Rovibrational": 49.35007067210558,
36+
"residue:FTmat-Transvibrational": 67.91350627765567,
37+
"residue:FTmat-Rovibrational": 60.042233035077246,
3838
"united_atom:Conformational": 8.140778318198597,
3939
"residue:Conformational": 0.0,
40-
"residue:Orientational": 30.894081870911737
40+
"residue:Orientational": 65.3684992300889
4141
},
42-
"total": 507.0661918011009
42+
"total": 271.0588364754383
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)