Skip to content

Commit 03f5392

Browse files
committed
chore: format
1 parent a4f5cf3 commit 03f5392

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

lambench/metrics/direct_task_weights.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,41 @@ AQM:
33
energy_weight: 1.0
44
force_weight: 1.0
55
virial_weight: null
6-
energy_std:
6+
energy_std:
77
wB97: 0.026886363885976483
88
PBE: 0.0274237364941365
9-
force_std:
9+
force_std:
1010
wB97: 0.48079757014613167
1111
PBE: 0.36804974289536174
12-
virial_std:
12+
virial_std:
1313
wB97: null
1414
PBE: null
1515
H_nature_2022:
1616
domain: Molecules
1717
energy_weight: 1.0
1818
force_weight: 1.0
1919
virial_weight: null
20-
energy_std:
20+
energy_std:
2121
wB97: 0.39558742361833016
2222
PBE: 0.3680732527625157
23-
force_std:
23+
force_std:
2424
wB97: 1.9680702171137432
2525
PBE: 2.075534952128696
26-
virial_std:
26+
virial_std:
2727
wB97 : null
2828
PBE: null
2929
AIMD_Chig:
3030
domain: Molecules
3131
energy_weight: 1.0
3232
force_weight: 1.0
3333
virial_weight: null
34-
energy_std:
34+
energy_std:
3535
wB97: 0.011235040126809573
3636
PBE: 0.009639542241251055
37-
force_std:
37+
force_std:
3838
wB97: 0.8434356010200169
3939
PBE: 0.8628550274940282
40-
virial_std:
40+
virial_std:
4141
wB97: null
4242
PBE: null
4343
HEA25_S:
@@ -135,4 +135,4 @@ Si_ZEO22:
135135
virial_weight: null
136136
energy_std: 0.035252909678594395
137137
force_std: 1.232529293429265
138-
virial_std: null
138+
virial_std: null

lambench/metrics/vishelper/results_fetcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def aggregate_ood_results_for_one_model(
4141
model_name=model.model_name, task_name=task
4242
)
4343
task_config = DIRECT_TASK_WEIGHTS[task].copy()
44-
44+
4545
if task in ["AQM", "H_nature_2022", "AIMD_Chig"]:
4646
if model.supports_omol:
4747
task_config["energy_std"] = task_config["energy_std"]["wB97"]
@@ -51,7 +51,7 @@ def aggregate_ood_results_for_one_model(
5151
task_config["energy_std"] = task_config["energy_std"]["PBE"]
5252
task_config["force_std"] = task_config["force_std"]["PBE"]
5353
task_config["virial_std"] = task_config["virial_std"]["PBE"]
54-
54+
5555
if task_config["virial_weight"] is not None:
5656
weight_virial = True
5757
if len(task_result) != 1:

lambench/tasks/direct/direct_tasks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ AQM:
33
PBE: "/bohr/lambench-ood-zwtr/v5/LAMBench-TestData-v4/AQM_PBE"
44
wB97: "/bohr/lambench-ood-zwtr/v5/LAMBench-TestData-v4/AQM_wB97"
55
H_nature_2022:
6-
test_data:
6+
test_data:
77
PBE: "/bohr/lambench-ood-zwtr/v5/LAMBench-TestData-v4/H2combustion_PBE"
88
wB97: "/bohr/lambench-ood-zwtr/v5/LAMBench-TestData-v4/H2combustion_wB97"
99
AIMD_Chig:
10-
test_data:
10+
test_data:
1111
PBE: "/bohr/lambench-ood-zwtr/v5/LAMBench-TestData-v4/AIMDChig_PBE"
1212
wB97: "/bohr/lambench-ood-zwtr/v5/LAMBench-TestData-v4/AIMDChig_wB97"
1313
HEA25_S:

0 commit comments

Comments
 (0)