{
  "schema_version": 1,
  "source": "Kappen (2005), sections 6.1 and 6.2; finite-penalty teaching adaptation",
  "source_url": "https://arxiv.org/abs/physics/0505066",
  "plant_seed": 8102,
  "planner_seed": 1008102,
  "trials": 128,
  "samples_per_update": 4096,
  "settings": {
    "low_noise": {
      "nu": 0.015,
      "r": 1.0,
      "kappa": 1.0,
      "final_time": 3.0,
      "enter": 1.0,
      "leave": 2.0,
      "dt": 0.025,
      "x0": -0.3,
      "intervals": [
        [
          -0.18,
          0.18
        ],
        [
          -1.7,
          -0.7
        ]
      ],
      "penalty": 40.0
    },
    "high_noise": {
      "nu": 0.3,
      "r": 1.0,
      "kappa": 1.0,
      "final_time": 3.0,
      "enter": 1.0,
      "leave": 2.0,
      "dt": 0.025,
      "x0": -0.3,
      "intervals": [
        [
          -0.18,
          0.18
        ],
        [
          -1.7,
          -0.7
        ]
      ],
      "penalty": 40.0
    }
  },
  "metrics": {
    "low_noise": {
      "path_integral": {
        "cost": {
          "mean": 0.22077486780321004,
          "ci95_halfwidth": 0.08476015483431282
        },
        "effort": {
          "mean": 0.045060473797018566,
          "ci95_halfwidth": 0.00535686554500865
        },
        "penalty": {
          "mean": 0.171875,
          "ci95_halfwidth": 0.08166164272604692
        },
        "failure": {
          "mean": 0.1328125,
          "ci95": [
            0.08460158144609939,
            0.2024216342915737
          ]
        },
        "wide": {
          "mean": 0.0,
          "ci95": [
            0.0,
            0.02913799589810803
          ]
        },
        "update_failures": 0,
        "median_ess": 926.1213718848035
      },
      "mean_dynamics": {
        "cost": {
          "mean": 5.310354102357763,
          "ci95_halfwidth": 0.913891918333637
        },
        "effort": {
          "mean": 0.07069440136091112,
          "ci95_halfwidth": 0.010037606049533482
        },
        "penalty": {
          "mean": 5.234375,
          "ci95_halfwidth": 0.906201293491566
        },
        "failure": {
          "mean": 0.734375,
          "ci95": [
            0.6518454567766524,
            0.8032461076461094
          ]
        },
        "wide": {
          "mean": 0.0,
          "ci95": [
            0.0,
            0.02913799589810803
          ]
        },
        "update_failures": 0
      },
      "reference": {
        "cost": {
          "mean": 0.19661544745293819,
          "ci95_halfwidth": 0.07841536645162933
        },
        "effort": {
          "mean": 0.044346442890687815,
          "ci95_halfwidth": 0.005302201602382441
        },
        "penalty": {
          "mean": 0.1484375,
          "ci95_halfwidth": 0.07559177928337431
        },
        "failure": {
          "mean": 0.1171875,
          "ci95": [
            0.07231618236850768,
            0.18436759574098127
          ]
        },
        "wide": {
          "mean": 0.0,
          "ci95": [
            0.0,
            0.02913799589810803
          ]
        },
        "update_failures": 0
      },
      "paired_cost_gap_pi_minus_mean": {
        "mean": -5.089579234554553,
        "ci95_halfwidth": 0.8828581913077315
      }
    },
    "high_noise": {
      "path_integral": {
        "cost": {
          "mean": 1.8078669556713556,
          "ci95_halfwidth": 0.28926475818121555
        },
        "effort": {
          "mean": 1.1419802740646428,
          "ci95_halfwidth": 0.13079243675675423
        },
        "penalty": {
          "mean": 0.4453125,
          "ci95_halfwidth": 0.17769711999765947
        },
        "failure": {
          "mean": 0.21875,
          "ci95": [
            0.1559042491230976,
            0.29798587356958817
          ]
        },
        "wide": {
          "mean": 0.984375,
          "ci95": [
            0.9448179261814565,
            0.9957046402922513
          ]
        },
        "update_failures": 0,
        "median_ess": 571.680181020321
      },
      "mean_dynamics": {
        "cost": {
          "mean": 11.303466548101893,
          "ci95_halfwidth": 1.183608653208691
        },
        "effort": {
          "mean": 1.5306868638643722,
          "ci95_halfwidth": 0.19190458150474893
        },
        "penalty": {
          "mean": 9.6796875,
          "ci95_halfwidth": 1.036700033931272
        },
        "failure": {
          "mean": 0.953125,
          "ci95": [
            0.9015012401106195,
            0.97834245110672
          ]
        },
        "wide": {
          "mean": 0.25,
          "ci95": [
            0.18301177076150696,
            0.331557227187547
          ]
        },
        "update_failures": 0
      },
      "reference": {
        "cost": {
          "mean": 1.7670600079526546,
          "ci95_halfwidth": 0.278872244280638
        },
        "effort": {
          "mean": 1.086259194503468,
          "ci95_halfwidth": 0.112932530226548
        },
        "penalty": {
          "mean": 0.4609375,
          "ci95_halfwidth": 0.18306044747534092
        },
        "failure": {
          "mean": 0.21875,
          "ci95": [
            0.1559042491230976,
            0.29798587356958817
          ]
        },
        "wide": {
          "mean": 0.984375,
          "ci95": [
            0.9448179261814565,
            0.9957046402922513
          ]
        },
        "update_failures": 0
      },
      "paired_cost_gap_pi_minus_mean": {
        "mean": -9.495599592430539,
        "ci95_halfwidth": 1.0700758059181636
      }
    }
  },
  "scalar": {
    "seed": 1907,
    "samples": 200000,
    "dt": 0.1,
    "steps": 10,
    "nu": 0.5,
    "r": 1.0,
    "lambda": 0.5,
    "proposal_mean": 0.4,
    "corrected_mean": 0.8006112965386363,
    "uncorrected_mean": 0.8806739532647143,
    "corrected_first_control": 0.8029291691413092,
    "analytic": 0.8,
    "uncorrected_analytic": 0.88,
    "ess": 100392.25946340476
  },
  "convergence": {
    "sampling": [
      {
        "samples": 256,
        "seeds": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31
        ],
        "reference_control": -0.7221220512623902,
        "estimate": {
          "mean": -0.8273231604481354,
          "ci95_halfwidth": 0.3181696436733886
        },
        "rmse": 0.9099251460416382
      },
      {
        "samples": 1024,
        "seeds": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31
        ],
        "reference_control": -0.7221220512623902,
        "estimate": {
          "mean": -0.7347839083796296,
          "ci95_halfwidth": 0.15597513587545453
        },
        "rmse": 0.4432588430061334
      },
      {
        "samples": 4096,
        "seeds": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31
        ],
        "reference_control": -0.7221220512623902,
        "estimate": {
          "mean": -0.7606984798485625,
          "ci95_halfwidth": 0.07276347941890945
        },
        "rmse": 0.21026789941191493
      },
      {
        "samples": 16384,
        "seeds": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31
        ],
        "reference_control": -0.7221220512623902,
        "estimate": {
          "mean": -0.6968795367374584,
          "ci95_halfwidth": 0.03508606460467518
        },
        "rmse": 0.10281567781066975
      }
    ],
    "time_step": [
      {
        "nu": 0.015,
        "dt": 0.05,
        "dx": 0.0025,
        "control": 0.1999303726049533,
        "value": 0.04555902789010041
      },
      {
        "nu": 0.015,
        "dt": 0.025,
        "dx": 0.0025,
        "control": 0.20583255901394734,
        "value": 0.04696352426109568
      },
      {
        "nu": 0.015,
        "dt": 0.0125,
        "dx": 0.0025,
        "control": 0.20948323563502363,
        "value": 0.047913472811464554
      },
      {
        "nu": 0.015,
        "dt": 0.00625,
        "dx": 0.0025,
        "control": 0.2117719262032606,
        "value": 0.048558241658214873
      },
      {
        "nu": 0.15,
        "dt": 0.05,
        "dx": 0.0025,
        "control": -0.17258570062350062,
        "value": 0.6510848164259359
      },
      {
        "nu": 0.15,
        "dt": 0.025,
        "dx": 0.0025,
        "control": -0.2820453763359466,
        "value": 0.7027435370096915
      },
      {
        "nu": 0.15,
        "dt": 0.0125,
        "dx": 0.0025,
        "control": -0.36562846009153377,
        "value": 0.7356632980920872
      },
      {
        "nu": 0.15,
        "dt": 0.00625,
        "dx": 0.0025,
        "control": -0.41222377361501283,
        "value": 0.7524792833543658
      },
      {
        "nu": 0.3,
        "dt": 0.05,
        "dx": 0.0025,
        "control": -0.680865134275823,
        "value": 1.237640421369518
      },
      {
        "nu": 0.3,
        "dt": 0.025,
        "dx": 0.0025,
        "control": -0.7250135674354651,
        "value": 1.2905949647947035
      },
      {
        "nu": 0.3,
        "dt": 0.0125,
        "dx": 0.0025,
        "control": -0.7422263812221307,
        "value": 1.3178234388146268
      },
      {
        "nu": 0.3,
        "dt": 0.00625,
        "dx": 0.0025,
        "control": -0.7488177427548974,
        "value": 1.3294073513036553
      }
    ],
    "space_and_domain": [
      {
        "dx": 0.01,
        "extent": 6,
        "control": -0.7201352444529008
      },
      {
        "dx": 0.005,
        "extent": 6,
        "control": -0.7221220512623902
      },
      {
        "dx": 0.0025,
        "extent": 6,
        "control": -0.7250135674354651
      },
      {
        "dx": 0.005,
        "extent": 8,
        "control": -0.7221220512624227
      }
    ],
    "mean_dynamics_grid": [
      {
        "nu": 0.015,
        "dx": 0.01,
        "action_spacing": 0.39999999999999997,
        "control_cap": 24,
        "max_executed_control": 3.146972447934409,
        "cap_hit": false,
        "cost": {
          "mean": 3.783877216456704,
          "ci95_halfwidth": 0.6363500304106023
        }
      },
      {
        "nu": 0.015,
        "dx": 0.005,
        "action_spacing": 0.19999999999999998,
        "control_cap": 24,
        "max_executed_control": 2.9995619878833892,
        "cap_hit": false,
        "cost": {
          "mean": 4.970083516122264,
          "ci95_halfwidth": 0.8166163238998304
        }
      },
      {
        "nu": 0.015,
        "dx": 0.0025,
        "action_spacing": 0.09999999999999999,
        "control_cap": 24,
        "max_executed_control": 2.946807478695843,
        "cap_hit": false,
        "cost": {
          "mean": 5.310354102357763,
          "ci95_halfwidth": 0.913891918333637
        }
      },
      {
        "nu": 0.015,
        "dx": 0.00125,
        "action_spacing": 0.049999999999999996,
        "control_cap": 24,
        "max_executed_control": 2.94680747869546,
        "cap_hit": false,
        "cost": {
          "mean": 4.915119851998437,
          "ci95_halfwidth": 0.9244315616252369
        }
      },
      {
        "nu": 0.3,
        "dx": 0.01,
        "action_spacing": 0.39999999999999997,
        "control_cap": 24,
        "max_executed_control": 11.657679205015375,
        "cap_hit": false,
        "cost": {
          "mean": 10.443349038968382,
          "ci95_halfwidth": 1.176145454477341
        }
      },
      {
        "nu": 0.3,
        "dx": 0.005,
        "action_spacing": 0.19999999999999998,
        "control_cap": 24,
        "max_executed_control": 11.849488052998964,
        "cap_hit": false,
        "cost": {
          "mean": 10.930117620571373,
          "ci95_halfwidth": 1.1767839461521343
        }
      },
      {
        "nu": 0.3,
        "dx": 0.0025,
        "action_spacing": 0.09999999999999999,
        "control_cap": 24,
        "max_executed_control": 11.94948805299897,
        "cap_hit": false,
        "cost": {
          "mean": 11.303466548101893,
          "ci95_halfwidth": 1.183608653208691
        }
      },
      {
        "nu": 0.3,
        "dx": 0.00125,
        "action_spacing": 0.049999999999999996,
        "control_cap": 24,
        "max_executed_control": 11.949488052994145,
        "cap_hit": false,
        "cost": {
          "mean": 11.445644191254933,
          "ci95_halfwidth": 1.1854249430284083
        }
      }
    ]
  },
  "slit_validation": {
    "samples": 4096,
    "replicates": 32,
    "nu": 1,
    "x": 0.2,
    "penalty": 20,
    "points": [
      {
        "remaining": 0.25,
        "exact_control": 1.7352105350261606,
        "exact_value": 3.0801716156354124,
        "estimate": {
          "mean": 1.751725271644598,
          "ci95_halfwidth": 0.026298079233863188
        },
        "value_estimate": {
          "mean": 3.0672602863332177,
          "ci95_halfwidth": 0.013699865779662718
        }
      },
      {
        "remaining": 0.5,
        "exact_control": 0.3392658377967296,
        "exact_value": 2.630194217597685,
        "estimate": {
          "mean": 0.3529068405192683,
          "ci95_halfwidth": 0.026320750356881008
        },
        "value_estimate": {
          "mean": 2.6221623619694814,
          "ci95_halfwidth": 0.013579313730254821
        }
      },
      {
        "remaining": 0.75,
        "exact_control": 0.07412948171421223,
        "exact_value": 2.5357181072243007,
        "estimate": {
          "mean": 0.077421813911274,
          "ci95_halfwidth": 0.015490113810061207
        },
        "value_estimate": {
          "mean": 2.5266476463411545,
          "ci95_halfwidth": 0.015400781841425104
        }
      },
      {
        "remaining": 1,
        "exact_control": -0.005471448717034831,
        "exact_value": 2.523986810263308,
        "estimate": {
          "mean": -0.004740587326420822,
          "ci95_halfwidth": 0.01258124080876513
        },
        "value_estimate": {
          "mean": 2.515184469678559,
          "ci95_halfwidth": 0.01539048489508985
        }
      },
      {
        "remaining": 1.5,
        "exact_control": -0.045829443531771916,
        "exact_value": 2.5662475467209354,
        "estimate": {
          "mean": -0.043928322231952935,
          "ci95_halfwidth": 0.00952016255193326
        },
        "value_estimate": {
          "mean": 2.5633854716025852,
          "ci95_halfwidth": 0.01764225079392816
        }
      },
      {
        "remaining": 2,
        "exact_control": -0.05053273628986174,
        "exact_value": 2.62796495638382,
        "estimate": {
          "mean": -0.047615570678385094,
          "ci95_halfwidth": 0.008275400014899487
        },
        "value_estimate": {
          "mean": 2.6204935017138737,
          "ci95_halfwidth": 0.019310764054198053
        }
      }
    ]
  },
  "runtime_seconds": 64.162,
  "notes": [
    "Intervals include endpoints; failure means any sampled outside visit for enter<t<=leave.",
    "Wide-passage frequency is occupancy at t=1.5, not conditioning on successful survival.",
    "Cost uncertainty is normal-approximation 95% CI over independent trials; proportions use Wilson intervals.",
    "Each trial shares plant increments across controllers. Planner RNG is independent and never sees future plant increments.",
    "The sampled first-increment estimator and convolution reference use the same time discretization.",
    "Between-step crossings are not counted; the time-step sweep documents discretization sensitivity.",
    "Guided trajectories determine only proposal densities; executed controls are weighted first-increment means."
  ]
}
