← Heta AssistantCONTENT HISTORY

Update to Heta Assistant

Snapshot Nov 17, 2026 · 12:10 UTC · version 0.3.2

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Heta Assistant and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Set up and use HetaSimulator.jl in Codex with a project-local Julia environment. Use for loading Heta platforms, configuring scenarios, running simulations, inspecting results, and requested fitting or ensemble analyses.",
  "included_files": [
    {
      "relative_path": "agents/openai.yaml",
      "size_in_bytes": 132
    },
    {
      "relative_path": "references/environment.md",
      "size_in_bytes": 6794
    },
    {
      "relative_path": "references/simulation.md",
      "size_in_bytes": 4095
    },
    {
      "relative_path": "references/tables-and-analysis.md",
      "size_in_bytes": 2817
    }
  ],
  "name": "heta-simulator",
  "skill_md_contents": "---\r\nname: heta-simulator\r\ndescription: Set up and use HetaSimulator.jl in Codex with a project-local Julia environment. Use for loading Heta platforms, configuring scenarios, running simulations, inspecting results, and requested fitting or ensemble analyses.\r\n---\r\n\r\n# HetaSimulator.jl\r\n\r\nUse HetaSimulator to execute Heta models in Julia. Preserve an existing project's\r\nenvironment, source structure, and simulation setup. The language and standalone\r\nCompiler workflow are covered by this plugin's `heta-language` and\r\n`heta-compiler` skills.\r\n\r\n## Environment\r\n\r\n- First try `julia --version`, then a small execution check such as\r\n  `julia -e 'println(1+1)'`. Resolve the actual executable path, especially\r\n  when the command is a Juliaup or Windows launcher. If the launcher fails,\r\n  search installed versions before concluding that Julia is absent. Test the\r\n  discovered executable and use its full path for subsequent project commands\r\n  if the launcher is unreliable. See [environment and compatibility](references/environment.md)\r\n  for search steps. If no executable works, ask the user for its location or\r\n  whether Julia needs to be installed.\r\n- Reuse an existing configured Julia environment and installed package versions.\r\n  Do not update it solely because a newer release exists.\r\n- Make every non-stdlib package imported by a runner a direct dependency of the\r\n  active project. Restore a recorded environment with `Pkg.instantiate()` when\r\n  needed; add missing packages required for the task to that project with\r\n  `Pkg.add`. Do not install optional packages merely because they appear in an\r\n  example or alter the shared default environment. See\r\n  [environment and compatibility](references/environment.md).\r\n- If no environment is configured, activate the **project root** with\r\n  `Pkg.activate(\".\")` (equivalent to `] activate .`) and install HetaSimulator\r\n  from the Julia registry. Use the latest registered stable release for a new\r\n  installation. See [environment and compatibility](references/environment.md).\r\n- Installation, precompilation, and first simulation can take time. Retain the\r\n  running session and wait for completion before reporting success.\r\n\r\nRecommended project dependencies, installed only when the task uses them:\r\n`HetaSimulator` for simulation; `Plots` for HetaSimulator's `plot` recipes and\r\nordinary custom plots; `DataFrames` for direct `DataFrame(results)` conversion\r\nand table analysis; `CSV` for direct CSV reading or writing; `XLSX` for direct\r\nExcel file handling; and `StatsPlots` for statistical recipes or table-aware\r\nplotting when those features are not already available in the installed Plots\r\nversion. Check compatibility before adding `StatsPlots`. See\r\n[environment and compatibility](references/environment.md).\r\n\r\n## Simulation workflow\r\n\r\n1. Load the existing Heta platform directly with HetaSimulator.\r\n   No manual standalone Compiler export is required.\r\n2. Reuse existing scenarios or define those needed for the requested task.\r\n3. Run the requested simulations and inspect their status and numerical outputs.\r\n4. Save the requested results with enough context to identify the scenario.\r\n\r\nFor reproducible project scenarios, prefer CSV tables in `scenarios/`. Load\r\nthem with `read_scenarios` and `add_scenarios!`, keeping scenario values in the\r\ntable rather than duplicating them in Heta declarations and Julia constants.\r\nSet the `model` column explicitly, including `nameless` when appropriate, as an\r\nomitted value may not resolve in the installed HetaSimulator version. Use a\r\nprogrammatic `Scenario` for an interactive diagnostic or when the user requests\r\nit. For several fixed scenarios, use `sim(platform)` and convert the returned\r\nresults with `DataFrame(results)` when a combined table is useful. Select an\r\nindividual result by scenario ID when only that result is needed. Avoid parsing\r\nscenario CSV rows by hand or copying all result values into another structure\r\nunless the task needs behavior that the native API does not provide.\r\n\r\nFor Heta simulations, result export, and trajectory comparison, prefer Julia as\r\nthe project analysis language. Use MATLAB or another language only when it is\r\nneeded to execute or inspect the source implementation, or when the user\r\nexplicitly requests that language. Run ordinary project scripts from the\r\nrepository root and form paths relative to that working directory. Use `@__DIR__`\r\nwhen the script must also work from another directory. Keep short runners as a\r\nlinear top-level sequence with the loading, scenario setup, simulation, checks,\r\nand outputs visible. Avoid deep nesting, a `main()` wrapper, and custom data\r\ncontainers when they add no clarity. Extract helpers for meaningful repetition\r\nor a distinct domain operation. Use `Base.invokelatest` only for a reproduced\r\ndispatch problem, not as a routine runner pattern. Follow an existing project's\r\nconventions when they differ.\r\n\r\nUse `sim` for one or many fixed deterministic scenarios, including all scenarios\r\nalready attached to a platform. Use `mc` for a parameter-variation ensemble\r\n(such as a virtual-patient or Monte Carlo analysis), not merely because several\r\nfixed scenarios exist. Use `fit` only when parameter identification against\r\nmeasurements is requested. Keep solver configuration, output reduction,\r\nparallelism, and parameter distributions explicit for the task at hand.\r\n\r\nShape an ordinary project runner after the current HetaSimulator tutorial\r\nworkflow: import the required packages, load the platform, load and attach the\r\nscenario CSV, run `sim`, inspect a baseline with `plot`, then convert results to\r\n`DataFrame` for tabular export or a custom analysis. Make paths, selected\r\nscenarios, plotted variables, and output locations explicit. This is a\r\nreadability pattern, not a copy-and-paste template: add code for events, `mc`,\r\n`fit`, or project-specific validation only when needed. Prefer current installed\r\nAPI examples over tutorial files marked for earlier releases.\r\n\r\nUse HetaSimulator's `plot` recipes directly on `SimResult`, `MCResult`, or their\r\nscenario collections for ordinary simulation and Monte Carlo figures; select\r\nvariables with `vars` when useful. Convert with `DataFrame(results)` when the\r\ntask needs a table, derived summaries, or a custom figure, then plot with\r\n`Plots` or, when needed and compatible, `StatsPlots`. Do not convert results\r\nsolely to reproduce a standard HetaSimulator plot. Keep the numeric results, time\r\ncoordinates, scenario identifiers, units, and event semantics available\r\nregardless of plotting level.\r\n\r\nRead [simulation and results](references/simulation.md) for the core workflow and\r\n[scenario tables and other analyses](references/tables-and-analysis.md) when\r\nworking with tabular scenarios, fitting, Monte Carlo, or sensitivity analysis.\r\n\r\n## Compiler compatibility\r\n\r\nThe standalone `heta` executable and the compiler bundled with HetaSimulator\r\ncan have different versions. If loading fails on builderVersion, report the\r\nrequired range and the actual bundled version. Propose a compatible range only\r\nafter checking that the model does not need newer features.\r\n\r\nFor example, if the bundled compiler is 0.12.1 and the model requests ^0.12.2,\r\npropose ^0.12.1 when appropriate. Explain the change and obtain the user's\r\nagreement before applying it; then retry loading. Do not silently remove the\r\nrequirement or downgrade an environment to suppress an error.\r\n\r\n## Documentation and scope\r\n\r\nThese references were reviewed against the\r\n[stable documentation](https://hetalang.github.io/HetaSimulator.jl/stable/)\r\non 2026-09-28. Stable documentation moves with releases; check installed-version\r\nhelp when an API differs. No local documentation checkout is required.\r\n\r\nThis skill operates simulations; it does not decide scientific acceptance\r\ncriteria or establish equivalence to another implementation. Fit parameters,\r\nrun ensembles, or change scientific settings only as part of the requested task.\r\n"
}

SHA-256 of public snapshot: 0bf83ab026d3b4fb22c72506a15fd9d7cc672baa4a6be508c574d8add20c6b94