Skip to content

Integrate RuntimeGeneratedFunctions to eliminate world-age errors in evalsim/eval_int/eval_split#388

Open
Copilot wants to merge 12 commits into
mainfrom
copilot/integrate-runtime-generated-functions
Open

Integrate RuntimeGeneratedFunctions to eliminate world-age errors in evalsim/eval_int/eval_split#388
Copilot wants to merge 12 commits into
mainfrom
copilot/integrate-runtime-generated-functions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 13, 2026

  • Reproduce failing 1-D Mat Generation test and inspect generated gensim AST
  • Update test/simulation.jl to avoid only(...) on an empty filter and support current gensim output shape
  • Keep assertion intent: verify generated code includes GenSim-M_⋆₁⁻¹ matrix call
  • Re-run the targeted 1-D Mat Generation test section
  • Run core simulation tests to ensure no regressions

Copilot AI linked an issue May 13, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits May 13, 2026 15:11
…alsim/eval_int/eval_split

Agent-Logs-Url: https://github.com/AlgebraicJulia/Decapodes.jl/sessions/85219f2e-6956-4b48-a203-8faa978d3c57

Co-authored-by: lukem12345 <70283489+lukem12345@users.noreply.github.com>
Copilot AI changed the title [WIP] Explore integration with RuntimeGeneratedFunctions for Decapodes Integrate RuntimeGeneratedFunctions to eliminate world-age errors in evalsim/eval_int/eval_split May 13, 2026
Copilot AI requested a review from lukem12345 May 13, 2026 15:44
Agent-Logs-Url: https://github.com/AlgebraicJulia/Decapodes.jl/sessions/e0f6de8f-6496-4105-b9eb-220df2cfb4c0

Co-authored-by: lukem12345 <70283489+lukem12345@users.noreply.github.com>
Copilot AI and others added 3 commits May 13, 2026 22:47
…docs and examples

Remove all uses of MLStyle @match pattern for operator dispatch across all
docs/ and examples/ files. Replace with sequential if-else short-circuits:

  my_symbol == :OpA && return some_lambda_a
  return default_dec_generate(sd, my_symbol, hodge)

Key changes:
- Remove all 'using MLStyle' imports from docs/ and examples/
- Replace @match my_symbol begin...end blocks with if-else chains
- Remove 'op = ' assignments and 'return (args...) -> op(args...)' wrappers
- Convert fallback '_ => error(...)' to plain error() at end of function
- Convert fallback '_ => default_dec_generate(...)' to return at end
- Replace @match sphere begin...end in mhd files with if-elseif-else chains
- src/ files are intentionally left unchanged

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: lukem12345 <70283489+lukem12345@users.noreply.github.com>
… function

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: lukem12345 <70283489+lukem12345@users.noreply.github.com>
Copilot AI and others added 2 commits May 14, 2026 17:16
@lukem12345 lukem12345 marked this pull request as ready for review May 14, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Considering RuntimeGeneratedFunctions

2 participants