Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/missionmatch / cmd/aioe-sim/main.go |
| Date | Not specified in source |
| Repository | Janady13/missionmatch |
| Revision | 720d47fae476b0d38477ae4401697d372b1ea2bc |
| Branch | feature/opportunity-to-outcome |
| Path or archive member | cmd/aioe-sim/main.go |
| Original SHA-256 | 424125802ca5bf563b71f88a86fbc2db6d69d89caab61f2259af29eb5dd265c0 |
| Git blob SHA | 1a25031469d0953f472f577133cf28d503038f0d |
| Reading-copy SHA-256 | 424125802ca5bf563b71f88a86fbc2db6d69d89caab61f2259af29eb5dd265c0 |
Every recorded occurrence
These 2 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/missionmatch / cmd/aioe-sim/main.go | feature/opportunity-to-outcome | 720d47fae476b0d38477ae4401697d372b1ea2bc | Open original |
| Janady13/missionmatch / cmd/aioe-sim/main.go | feature/aioe-upgrade | 2178e7298d0e5d9af83afa12402fd587f0ba6ed8 | Open original |
Recovered source transcript
Download complete source text ↓42 lines · 1.5 KB
// Command aioe-sim characterizes the Adaptive Intelligence Optimization Engine updater under known
// synthetic outcome regimes and prints a report for the AEDT model card. It is a PURE calibration
// harness: no database, no client data, no network. It proves the deterministic update converges
// sensibly, keeps its clamps, and never runs away. The weights it produces are a validation
// artifact, never a shipped model: they only recover the correlations the synthetic regime encodes.
//
// Usage: aioe-sim [-cycles 40] [-events 200]
package main
import (
"flag"
"fmt"
"github.com/missionworkforce/missionmatch/internal/aioe"
)
func main() {
cycles := flag.Int("cycles", 40, "number of update cycles to run per regime")
events := flag.Int("events", 200, "synthetic outcomes generated per cycle")
flag.Parse()
p := aioe.DefaultParams()
fmt.Printf("AIOE updater characterization (pure simulation, no client data)\n")
fmt.Printf("params: eta=%s beta=%s maxStep=%s floor=%s ceiling=%s minEvents=%d windowDays=%d\n\n",
p.Eta, p.Beta, p.MaxStep, p.Floor, p.Ceiling, p.MinEvents, p.WindowDays)
allSound := true
for _, r := range aioe.StandardRegimes() {
s := aioe.Simulate(r, *cycles, *events, p)
fmt.Print(s.Report())
fmt.Println()
if !s.SumAlways1 || !s.ClampsHeld {
allSound = false
}
}
if allSound {
fmt.Println("RESULT: every regime kept the sum-to-one invariant and the clamps. The updater is bounded and stable.")
} else {
fmt.Println("RESULT: an invariant was violated. Investigate before promoting any profile.")
}
}