action(time :: seconds, pts, prob, loadedFuel) = {
time,
pts: pts.pts * prob,
rpMetrics: { fuel: pts.fuel, towerPts: pts.towerPts },
loadedFuel: loadedFuel,
}
consistentAction(time :: seconds, pts, prob, loadedFuel) = {
auto: action(time, pts, prob, loadedFuel),
teleop: action(time, pts, prob, loadedFuel),action(time :: seconds, pts, prob) = {
time,
pts: pts.pts * prob,
rpMetrics: {
notes: (pts.note ? 1 : 0) * prob,
stagePts: pts.stagePts * prob,
},
}
consistentAction(time :: seconds, pts, prob) = {/* Generated by Squiggle AI. Workflow ID: 270a8939-68c6-4ec7-919a-d1239ddfa560 */ // Tutorial: Modeling When Electric Vehicles Will Reach 50% Market Share // This demonstrates time-series modeling with cumulative probabilities import "hub:ozziegooen/sTest" as sTest // Domain: years from 2024 to 2044 domain = [Date(2024), Date(2044)]
action(time :: seconds, pts, prob) = { time, pts, prob, likelyPts: pts * prob }
consistentAction(time :: seconds, pts, prob) = {
auto: action(time, pts, prob),
teleop: action(time, pts, prob),
}
constants = { autoTime: 15, teleopTime: 135 }
actions = {
coralToReef: consistentAction(3 to 6, 0, 1),crises__per_decade = 1 to 7 chance_sentinel_identifies_a_crisis_a_week_to_two_months_beforehand = beta(3,10) people_affected = truncateRight(10M to 8B, 8B) share_of_their_life_affectd = beta(1, 20) chance_we_can_avert_or_mitigate_catastrophic_risk = beta(2,10) how_much_averted = beta(1,50) expected_impact_in_lives = crises__per_decade * chance_sentinel_identifies_a_crisis_a_week_to_two_months_beforehand *
// Model for the expected value of donations to a US House of Representatives campaign. Based on Eric Neyman's model of the expected value of donating to Alex Bores' 2026 campaign: https://ericneyman.wordpress.com/2025/10/20/consider-donating-to-alex-bores-author-of-the-raise-act/
@name("Key Inputs")
inputs = {
@name("Dollars per Vote ($)")
@doc(
"Cost per vote in a House race. Eric Neyman assumed a typical campaign costs $100 per vote based mainly on 'numbers thrown around casually by experts', then multiplied by 3 because New York has higher costs.
I spent 15 minutes looking for literature and I found:
/* Make a model trying to quantify the amount of uncertainty we might have in our forecasts of how a technology will progress */ a = normal(2, 5)
/*
Generated by Squiggle AI. Workflow ID: 4314add4-2a10-4053-b14f-e9f5de966369
*/
// Choose scenario: "small", "medium", or "large"
scenario = "medium"
// Scenario-specific parameters
params = {
small: {
durationMonths: 12,/* Generated by Squiggle AI. Workflow ID: ca63c333-eaa6-40be-a4b5-798a2ba5e8d4 David Reinstein -- edited from this starting point. The original model started with https://acbmcostcalculator.ucdavis.edu/ */ /// Initial code generated by GPT5 based on conversation at https://chatgpt.com/share/68b9b37b-810c-8002-9300-1f6c6a8da252 on 4 Sep 2025. /// [NB: that link stopped working -- https://chatgpt.com/c/68e39548-8240-8011-b6d0-865fb359bd23 is the internal link that moves that ACBM model /// Cultured Meat Cost (CM-COGS) — Simple Scenario Model (v0.1) /// Audience: economists & non-engineers /// Epistemic status: starter scaffold with reasonable ranges; replace with your own data.
// MODELING THE RELATIVE COST-EFFECTIVENESSES OF DIFFERENT CLEAN ENERGY TECHNOLOGIES
// Innovation data with correlated lognormal distributions
// Source: https://docs.google.com/spreadsheets/d/1DKomktGl1JxDRpALD8euBf2Ybrnuofb3vMOZ0hNsvZA/edit?usp=sharing
techData = [
{name: "SHR Geothermal", weight: 117, min: 0.43, max: 8.82},
{name: "SMR", weight: 966, min: 0.29, max: 7.64},
{name: "EGS", weight: 170, min: 0.22, max: 4.41},
{name: "Plant-Based Protein", weight: 153, min: 0.18, max: 4.04},
{name: "Cultivated Protein", weight: 117, min: 0.00001, max: 0.07}, // Avoid zero for lognormal/*
Generated by Squiggle AI. Workflow ID: c45c9658-b3f0-4fcd-bd39-ea10b971c6c5
*/
// Cost-Effectiveness Estimate for The Mission Motor's "Just Organizations" One-on-One Support (2025)
import "hub:ozziegooen/sTest" as sTest
// == COST SIDE ==
@name("TMM 2025 Inputs")/*
Reproduction of Eric Neyman's model for the expected value of electing Alex Bores to US Congress.
source: https://www.lesswrong.com/posts/TbsdA7wG9TvMQYMZj/consider-donating-to-alex-bores-author-of-the-raise-act-1#Comparison_to_non_AI_safety_opportunities
*/
@name("ΔP(Doom) If USA Behaves Wisely")
@format(".0%")
@doc("Absolute change in P(doom) given that the USA behaves wisely rather than unwisely.")
dp_doom_given_usa_wise = -5%// 2060 EGS Capacity GW capacity_35 = truncateRight(10 to 1000, 2000) // 35 years from 2025 capacity(t) = max((t - 10) * capacity_35 / 25, 0) // Global annual decline in carbon intensity of electricity after 2025 annual_carbon_intensity_decline = 0.5% to 7.5% // Clobal annual increase in climate resilience after 2025 annual_increase_in_resilience = 0.5% to 8%
/*
* Cost-effectiveness of DOE funding based on case studies of Enhanced Geothermal Systems (EGS) and Fracking
*/
// ===== EGS Model 1 =====
@name("EGS Model 1 Inputs")
egs1_inputs = {
@name("Impact of 300GW EGS by 2050 (GT averted)")
@doc("Estimated gigatonnes of CO2 averted in a scenario with 300GW EGS deployment by 2050")
impact_300gw = normal(5, 1.24)// Model estimating the change in probability of AI doom from electing a pro-AI-safety representative to the U.S. House.
// TODO: AI wrote all the docstrings (based on my suggestions), I have not reviewed for accuracy, all I did was remove the four million "this value is highly uncertain" tics that the AI loves.
@name("Include Weak-Bill Path?")
@doc("If 0, zero out the weak-bill path to impact. If 1, include it.")
include_weak_bill_path = 1
@name("Include Strong-Bill Path?")
@doc("If 0, zero out the strong-bill path to impact. If 1, include it. Removing the strong-bill path still allows strong bills to be passed via weak bills or via warning shots, but not directly via voting/advocacy.")import "hub:ozziegooen/sTest" as sTest
// Model for estimating blades of grass on an American football field
@name("Field Dimensions")
fieldDimensions = {
@name("Field Length (m)")
@doc(
"American football field is 120 yards (109.73m) including end zones, or 100 yards (91.44m) without"
)