Skip to content

Commit 3a8532e

Browse files
committed
apply independent-replica simulation power gate
1 parent 52827f8 commit 3a8532e

10 files changed

Lines changed: 3248 additions & 0 deletions

File tree

239 KB
Loading

‎active_solvai/figures/v2_independent_replicas/power_gate.svg‎

Lines changed: 2546 additions & 0 deletions
Loading
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Power and precision gate for independent PIMD2 replicas
2+
3+
**Prospective protocol:** commit `52827f851ed0d1a540b0492c63c3df269cf774e1`
4+
**Decision:** FAIL — the registered eight-molecule simulation must not launch.
5+
6+
This calculation precedes every new simulation. It asks whether two 50-ps replicas on the eight frozen sentinels can resolve a true cross-replica oracle advantage of 0.30 kcal mol-1 at both five and seven windows while also producing a reliable dense reference.
7+
8+
## Registered eight-molecule design
9+
10+
| Quantity | Result |
11+
|---|---:|
12+
| Power, 5 windows | 0.000 |
13+
| Power, 7 windows | 0.000 |
14+
| Conservative power, 5 windows | 0.000 |
15+
| Conservative power, 7 windows | 0.001 |
16+
| Probability dense-reference gate passes | 0.446 |
17+
| Required probability for each primary gate | 0.800 |
18+
| Projected production GPU-hours | 32.44 |
19+
| Operational reservation GPU-hours | 36.01 |
20+
21+
The design is launchable only when both budget-specific powers and dense reliability are at least 0.80. The decision is therefore mechanical rather than result-dependent.
22+
23+
## Smallest adequately powered alternative
24+
25+
No design on the frozen grid passed all power and reliability criteria.
26+
27+
This alternative is **not authorized or launched**. If it requires more than eight molecules, those molecules must be chosen under a separate chemistry-first prospective freeze; this power calculation does not select them.
28+
29+
No amount of additional trajectory length or molecule replication on the registered empirical effect distribution makes the *full* decision rule adequately powered: after centering to a mean benefit of 0.30 kcal mol-1, only 4/8 molecules at five windows and 5/8 at seven windows retain favorable effects, below the required 75% consistency. Increased sample size therefore estimates that inconsistency more precisely rather than curing it.
30+
31+
For planning context only, dropping the consistency requirement and asking solely whether the **mean** effect is below zero gives a first passing boundary at **105 molecules, two replicas, 15 windows and 75 ps per replica**. Its simulated powers are 0.801 and 0.817, with dense-reference reliability probability 0.940. It requires 638.7 projected production GPU-h and 708.9 reserved GPU-h. This would resolve an average effect only; it cannot establish stable, broadly shared molecule-specific placement and is not recommended or authorized.
32+
33+
## Interpretation
34+
35+
The analysis preserves the observed between-molecule effect pattern, shifts only its mean to the scientifically meaningful alternative of -0.30 kcal mol-1, and projects finite-trajectory residual variance from 2.5 ps to the candidate duration by inverse-time scaling. The conservative sensitivity doubles residual variance. Dense-integral reliability is independently projected from the observed complementary-half discrepancies.
36+
37+
The calculation cannot prove that inverse-time scaling will hold or that a true oracle benefit exists. It only determines whether the proposed experiment has a reasonable chance to resolve an effect worth pursuing under the most favorable registered noise law. Failure therefore blocks simulation; passing merely authorizes the frozen experiment.
38+
39+
## Reproduction
40+
41+
```bash
42+
uv run --project active_solvai python active_solvai/scripts/run_independent_replica_power.py
43+
```
44+
45+
Machine-readable results are in `active_solvai/results/v2_independent_replicas/power/`.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"active_solvai/results/v2_independent_replicas/power/dense_reliability_inputs.csv": "0c657de405e85a19eeaf047301e3c7efaf1c4c2e97a8d1dad91402e3b7aabb0f",
3+
"active_solvai/results/v2_independent_replicas/power/effect_variance_components.csv": "a54ed20773898027497bbbb56ec6dc4fbfbfed9873a4862a148282858bfab01c",
4+
"active_solvai/results/v2_independent_replicas/power/mean_only_planning_boundary.csv": "dbc530b63ec2d8f5ba991e0cd36162ff289b66f9da7de0a6055f3ef53a75cd49",
5+
"active_solvai/results/v2_independent_replicas/power/power_analysis.json": "70a486901e85eba0828d8a94f479c702c860acdebcf131e033b6177259de5381",
6+
"active_solvai/results/v2_independent_replicas/power/power_design_grid.csv": "0ec67cfa9bcf23fdff7d4ac6f92044ac4b44600d5973b276ddb75e740ac36a55",
7+
"active_solvai/reports/INDEPENDENT_REPLICA_POWER_ANALYSIS.md": "54efc79bf8ef92511a9309e457ba48f10126bb3556f7b4d820e91f61a0beea19",
8+
"active_solvai/figures/v2_independent_replicas/power_gate.png": "5b830f45244bb1c390b633d491a5877e81c3b920fb247ddc426678b5f52bb8ea",
9+
"active_solvai/figures/v2_independent_replicas/power_gate.svg": "a0de2fa5588c7dfa0783ee67eec5101329cc59acc1a481b3fe433997d10c3c7c"
10+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
molecule_name,0,1,2,mean_abs_dense_difference_2p5ps
2+
Acetamide,1.2992162326899075,2.206400945757913,2.985758953056134,2.1637920438346514
3+
AceticAcid,1.1174992382219635,0.9429388214059936,0.6395081427360676,0.8999820674546749
4+
Anthracene,5.438364966555291,1.1247119464356832,0.8534544078649642,2.4721771069519796
5+
Cyclohexane,1.541464181845252,0.8517495305674241,0.1039081553633392,0.8323739559253384
6+
DiMethylEther,0.940323024511545,0.8143294699786101,1.4514842866320437,1.0687122603740662
7+
EthylAcetate,1.7266349741905076,3.0627249985758533,2.1775060795658385,2.3222886841107333
8+
Octane,3.70444890980538,0.4611154087169365,2.300061359599397,2.1552085593739045
9+
Octanol,4.038551969340157,3.682725800249309,1.313211691768446,3.0114964871193037
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
budget,molecule_name,observed_mean_effect,centered_effect,target_shifted_effect,partition_0_effect,partition_1_effect,partition_2_effect,pooled_residual_variance_2p5ps
2+
5,Acetamide,2.3316685723335993,1.9006650746854903,1.6006650746854902,2.6056018270487966,2.196330189790255,2.1930737001617455,1.104762133168894
3+
5,AceticAcid,-0.7323109339041588,-1.1633144315522679,-1.463314431552268,-0.6783551246195243,-0.8704032793201533,-0.6481743977727987,1.104762133168894
4+
5,Anthracene,0.9793346772688961,0.5483311796207871,0.24833117962078716,1.9243730739350378,0.9596539846547065,0.053976973216943946,1.104762133168894
5+
5,Cyclohexane,0.5092738537031057,0.07827035605499677,-0.22172964394500322,1.3696763051507506,0.3996217221856678,-0.2414764662271014,1.104762133168894
6+
5,DiMethylEther,-0.8814612908419632,-1.3124647884900722,-1.6124647884900722,-0.5799617450283856,-1.6603741037771538,-0.4040480237203501,1.104762133168894
7+
5,EthylAcetate,-1.3372255962540323,-1.7682290939021412,-2.0682290939021413,-0.9507713470413586,-1.16560317589941,-1.895302265821328,1.104762133168894
8+
5,Octane,0.9787617226560723,0.5477582250079633,0.24775822500796335,1.6718872108497007,-0.24189735811995122,1.5062953152384675,1.104762133168894
9+
5,Octanol,1.5999869762233534,1.1689834785752444,0.8689834785752444,3.77003435793547,1.882569450055434,-0.8526428793208427,1.104762133168894
10+
7,Acetamide,2.1309375352555926,1.7221689086571854,1.4221689086571854,1.926548671857974,2.4184842644780264,2.0477796694307777,1.2639718108521694
11+
7,AceticAcid,-0.32979140088316744,-0.7385600274815746,-1.0385600274815745,-0.292560240385221,-0.21673970182063362,-0.48007426044364765,1.2639718108521694
12+
7,Anthracene,0.4919075153284835,0.08313888873007635,-0.21686111126992363,0.038943013697139595,1.5035801649831368,-0.06680063269482606,1.2639718108521694
13+
7,Cyclohexane,0.09691064785833332,-0.3118579787400738,-0.6118579787400737,0.7751926315149527,0.15049924556696337,-0.634959933506916,1.2639718108521694
14+
7,DiMethylEther,-1.2010707327701318,-1.609839359368539,-1.909839359368539,-1.2727874001102464,-1.7964450477965772,-0.5339797504035717,1.2639718108521694
15+
7,EthylAcetate,-0.7377473331896162,-1.1465159597880232,-1.4465159597880233,-0.5017595634647967,-0.6301253721365794,-1.0813570639674726,1.2639718108521694
16+
7,Octane,1.9145026343247988,1.5057340077263917,1.2057340077263916,4.0055126477905025,-0.9696499842637141,2.7076452394476087,1.2639718108521694
17+
7,Octanol,0.9045001468629641,0.49573152026455697,0.19573152026455698,1.7612233792832201,1.5021446403497154,-0.5498675790440433,1.2639718108521694
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
n_molecules,production_ps_per_replica,mean_only_power_budget_5,mean_only_power_budget_7,dense_reliability_probability,mean_only_adequately_powered,projected_production_gpu_hours,operational_reservation_gpu_hours,supports_registered_consistency_claim
2+
157,50,0.84658,0.8646,0.47252,False,636.6551140572368,706.6871766035329,False
3+
104,75,0.79941,0.8157,0.93997,False,632.5999859422226,702.1859843958671,False
4+
105,75,0.80094,0.81724,0.94008,True,638.6826781147439,708.9377727073658,False
5+
78,100,0.76532,0.78218,0.99091,False,632.5999859422226,702.1859843958671,False
6+
52,150,0.68084,0.72325,0.99925,False,632.5999859422226,702.1859843958671,False
7+
39,200,0.58831,0.63731,0.99973,False,632.5999859422226,702.1859843958671,False
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"schema_version": 1,
3+
"protocol_commit": "52827f851ed0d1a540b0492c63c3df269cf774e1",
4+
"monte_carlo_seed": 20260904,
5+
"monte_carlo_trials": 100000,
6+
"target_mean_effect_kcal_mol": -0.3,
7+
"input_hashes": {
8+
"cross_block_predictions": "e6492f5754aab9d4724e10c9b5e2d08863e669beb9b252a4f68a3e0b88a715fa",
9+
"molecule_level_metrics": "7be6b7c3580b8386e6f31395463a9a6d6723d41c1590f2d714a066dd4fff3679",
10+
"dense_reproducibility": "feec7765a4705ca9390e87fd83eeb29847539cbc18f2aaa16f08bc7c71c3df0e",
11+
"schedule_stability": "09a30eb8afacd2220544e4f6f07163e8655fa2b6975e3a2501669d80eda2cdeb",
12+
"canonical_metrics": "c0f01f65f3cfae4230d01fb536b7f375a1a0db29742a5023870ed53022cec2f4",
13+
"responses": "4ce191a2ebfabb10dfcf5e11f98fef91b0bd5b2993f066ab47cfa9cc261c1097",
14+
"replay": "a0dbc9b61c7f54848be8e56dcc5c22d12d511839c90cdbfe44900574112bf1fd",
15+
"config": "fc6afd2a4f8a255a641228df624769e6ed437dc4cc69dc244480a33c2936594d",
16+
"manifest": "9c46ad5b78af027f3c82d84ff300c1ea839fbd13650eba704bbfef95f5871358"
17+
},
18+
"pooled_residual_variance_2p5ps": {
19+
"5": 1.104762133168894,
20+
"7": 1.2639718108521694
21+
},
22+
"proposed_design": {
23+
"n_molecules": 8,
24+
"production_ps_per_replica": 50,
25+
"replicas": 2,
26+
"lambda_windows": 15,
27+
"target_mean_effect_kcal_mol": -0.3,
28+
"power_budget_5": 0.0,
29+
"power_budget_7": 1e-05,
30+
"conservative_power_budget_5": 3e-05,
31+
"conservative_power_budget_7": 0.00087,
32+
"dense_reliability_probability": 0.44602,
33+
"adequately_powered": false,
34+
"production_total_ps": 12000,
35+
"projected_production_gpu_hours": 32.441024920113975,
36+
"operational_reservation_gpu_hours": 36.00953766132652
37+
},
38+
"launch_authorized_by_gate": false,
39+
"smallest_adequately_powered_alternative": null,
40+
"planning_only_mean_effect_alternative": {
41+
"n_molecules": 105,
42+
"production_ps_per_replica": 75,
43+
"mean_only_power_budget_5": 0.80094,
44+
"mean_only_power_budget_7": 0.81724,
45+
"dense_reliability_probability": 0.94008,
46+
"mean_only_adequately_powered": true,
47+
"projected_production_gpu_hours": 638.6826781147439,
48+
"operational_reservation_gpu_hours": 708.9377727073658,
49+
"supports_registered_consistency_claim": false
50+
},
51+
"simulation_started": false
52+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
n_molecules,production_ps_per_replica,replicas,lambda_windows,target_mean_effect_kcal_mol,power_budget_5,power_budget_7,conservative_power_budget_5,conservative_power_budget_7,dense_reliability_probability,adequately_powered,production_total_ps,projected_production_gpu_hours,operational_reservation_gpu_hours
2+
8,50,2,15,-0.3,0.0,1e-05,3e-05,0.00087,0.44602,False,12000,32.441024920113975,36.00953766132652
3+
8,75,2,15,-0.3,0.0,0.0,0.0,7e-05,0.66706,False,18000,48.66153738017097,54.01430649198978
4+
8,100,2,15,-0.3,0.0,0.0,0.0,0.0,0.803,False,24000,64.88204984022795,72.01907532265304
5+
8,150,2,15,-0.3,0.0,0.0,0.0,0.0,0.92873,False,36000,97.32307476034194,108.02861298397956
6+
8,200,2,15,-0.3,0.0,0.0,0.0,0.0,0.97344,False,48000,129.7640996804559,144.03815064530608
7+
12,50,2,15,-0.3,0.07613,0.24182,0.08482,0.24093,0.4635,False,18000,48.66153738017097,54.01430649198978
8+
12,75,2,15,-0.3,0.07098,0.24443,0.0788,0.24455,0.70163,False,27000,72.99230607025645,81.02145973798466
9+
12,100,2,15,-0.3,0.07053,0.24433,0.07399,0.24276,0.8292,False,36000,97.32307476034194,108.02861298397956
10+
12,150,2,15,-0.3,0.07073,0.24162,0.0733,0.24407,0.94222,False,54000,145.9846121405129,162.0429194759693
11+
12,200,2,15,-0.3,0.07142,0.24354,0.0723,0.24432,0.97842,False,72000,194.64614952068388,216.0572259679591
12+
16,50,2,15,-0.3,0.04133,0.2147,0.04925,0.21105,0.47112,False,24000,64.88204984022795,72.01907532265304
13+
16,75,2,15,-0.3,0.0402,0.21437,0.04399,0.21589,0.72633,False,36000,97.32307476034194,108.02861298397956
14+
16,100,2,15,-0.3,0.03845,0.21435,0.04182,0.21496,0.86372,False,48000,129.7640996804559,144.03815064530608
15+
16,150,2,15,-0.3,0.0378,0.21258,0.03933,0.21359,0.96344,False,72000,194.64614952068388,216.0572259679591
16+
16,200,2,15,-0.3,0.03803,0.21293,0.03808,0.21628,0.98894,False,96000,259.5281993609118,288.07630129061215
17+
24,50,2,15,-0.3,0.01319,0.151,0.01582,0.14907,0.4785,False,36000,97.32307476034194,108.02861298397956
18+
24,75,2,15,-0.3,0.01163,0.15091,0.01434,0.15034,0.77342,False,54000,145.9846121405129,162.0429194759693
19+
24,100,2,15,-0.3,0.01182,0.15077,0.01262,0.15129,0.90924,False,72000,194.64614952068388,216.0572259679591
20+
24,150,2,15,-0.3,0.01102,0.14849,0.01219,0.14908,0.98539,False,108000,291.9692242810258,324.0858389519386
21+
24,200,2,15,-0.3,0.01156,0.14413,0.01166,0.14838,0.99751,False,144000,389.29229904136776,432.1144519359182
22+
32,50,2,15,-0.3,0.00393,0.10431,0.00582,0.1014,0.48033,False,48000,129.7640996804559,144.03815064530608
23+
32,75,2,15,-0.3,0.00405,0.10317,0.00433,0.10591,0.80724,False,72000,194.64614952068388,216.0572259679591
24+
32,100,2,15,-0.3,0.00358,0.10137,0.00412,0.10442,0.93675,False,96000,259.5281993609118,288.07630129061215
25+
32,150,2,15,-0.3,0.00359,0.10105,0.00359,0.10344,0.99387,False,144000,389.29229904136776,432.1144519359182
26+
32,200,2,15,-0.3,0.00356,0.10066,0.00357,0.10179,0.99934,False,192000,519.0563987218236,576.1526025812243
27+
48,50,2,15,-0.3,0.00063,0.0525,0.00063,0.04998,0.47912,False,72000,194.64614952068388,216.0572259679591
28+
48,75,2,15,-0.3,0.00049,0.05275,0.0006,0.05163,0.85594,False,108000,291.9692242810258,324.0858389519386
29+
48,100,2,15,-0.3,0.00037,0.05095,0.00038,0.05181,0.97002,False,144000,389.29229904136776,432.1144519359182
30+
48,150,2,15,-0.3,0.00031,0.05123,0.00053,0.05139,0.99873,False,216000,583.9384485620516,648.1716779038773
31+
48,200,2,15,-0.3,0.00044,0.04942,0.00033,0.0511,0.99996,False,288000,778.5845980827355,864.2289038718365
32+
64,50,2,15,-0.3,4e-05,0.02629,0.00011,0.02702,0.4806,False,96000,259.5281993609118,288.07630129061215
33+
64,75,2,15,-0.3,9e-05,0.02633,4e-05,0.02696,0.89067,False,144000,389.29229904136776,432.1144519359182
34+
64,100,2,15,-0.3,2e-05,0.02684,4e-05,0.02708,0.98467,False,192000,519.0563987218236,576.1526025812243
35+
64,150,2,15,-0.3,3e-05,0.0256,5e-05,0.02666,0.99979,False,288000,778.5845980827355,864.2289038718365
36+
64,200,2,15,-0.3,4e-05,0.02412,4e-05,0.02687,1.0,False,384000,1038.1127974436472,1152.3052051624486
37+
96,50,2,15,-0.3,0.0,0.00737,0.0,0.00716,0.47677,False,144000,389.29229904136776,432.1144519359182
38+
96,75,2,15,-0.3,0.0,0.0073,0.0,0.00811,0.93288,False,216000,583.9384485620516,648.1716779038773
39+
96,100,2,15,-0.3,0.0,0.00734,0.0,0.00805,0.99545,False,288000,778.5845980827355,864.2289038718365
40+
96,150,2,15,-0.3,1e-05,0.00736,0.0,0.00784,1.0,False,432000,1167.8768971241032,1296.3433558077545
41+
96,200,2,15,-0.3,0.0,0.00675,0.0,0.00738,1.0,False,576000,1557.169196165471,1728.457807743673

0 commit comments

Comments
 (0)