Gay Monte Carlo Measurements
/plugin marketplace add plurigrid/asi/plugin install asi-skills@asi-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
GayMonteCarloMeasurements.jl extends MonteCarloMeasurements.jl with Gay.jl chromatic identity for deterministic color-coded uncertainty propagation.
using MonteCarloMeasurements
using Gay
# Construct uncertain parameters with color tracking
gay_seed!(0xcd0a0fde6e0a8820)
a = π ± 0.1 # Particles{Float64,2000}
# Propagate through nonlinear functions
sin(a) # → Particles with full distribution
using Enzyme
# Learnable colorspace parameters
params = OkhslParameters()
function loss(params, seed, target_gamut=:srgb_boundary)
color = forward_color(params, projection, seed)
gamut_penalty = out_of_gamut_distance(color, target_gamut)
bandwidth_reward = color_distinctiveness(color)
return gamut_penalty - 0.1 * bandwidth_reward
end
∂params = Enzyme.gradient(Reverse, loss, params, seed)
fit(Gamma, p) for any Particlesplot(p) shows histogram, density(p) shows KDE| Trit | Role | Operation |
|---|---|---|
| +1 | PLUS | Generative sampling |
| 0 | ERGODIC | Distribution transport |
| -1 | MINUS | Constraint verification |
next_color() → visited check
│
├─ fresh → XOR into fingerprint
│
└─ collision → triadic fork
0xcd0a0fde6e0a8820gay-julia - Core Gay.jl integrationspi-parallel-verify - Fingerprint verificationfokker-planck-analyzer - Equilibrium analysis