Skip to content

Source Integrals/MonteCarloIntegration from master in test env - #338

Closed
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-x86-mci-sources
Closed

ChrisRackauckas-Claude wants to merge 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-x86-mci-sources

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

  • The x86 CI lane failed during precompile: the registered MonteCarloIntegration v0.2.0 caps QuasiMonteCarlo at 0.3.x, which pins LatticeRules 0.0.1. On 32-bit Julia, typemax(UInt32) + 1 in LatticeRules 0.0.1 wraps to zero (ArgumentError: maximum number of points n must be less than or equal to 2^32).
  • MonteCarloIntegration master (v0.3.0, unregistered) allows QuasiMonteCarlo 0.4, which lifts LatticeRules to 0.0.2 where the arithmetic is widened.
  • Adds MonteCarloIntegration to extras/test target and [sources] overrides for Integrals and MonteCarloIntegration (same approach as NeuralPDE.jl#1162 and BoundaryValueDiffEq.jl#634). Can be reverted once MCI 0.3.0 and a compatible Integrals are registered.
  • Note: QA failures (:shape undefined export) are separately covered by Drop dangling shape reexport #336.

Test plan

  • Fresh resolve + precompile on Julia 1.12.7 x86: resolves QuasiMonteCarlo 0.4.4, LatticeRules 0.0.2, MonteCarloIntegration 0.3.0, Integrals master — all precompile cleanly (previously LatticeRules/QuasiMonteCarlo/MonteCarloIntegration/Integrals all failed)

🤖 Generated with Devin CLI 3000.10.21 (model: SWE-2 Max)
Session: /home/crackauc/.local/share/devin/cli/summaries/history_66ef0886b194479c.md

The registered MonteCarloIntegration v0.2.0 caps QuasiMonteCarlo at
0.3.x, which pins LatticeRules 0.0.1 — whose `typemax(UInt32) + 1`
wraps to zero on 32-bit Julia, failing precompile in the x86 CI lane.
MCI master (v0.3.0, unregistered) allows QuasiMonteCarlo 0.4 which
lifts LatticeRules to 0.0.2 with the widened arithmetic.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Devin <noreply@cognition.ai>
Agent-Harness: Devin CLI 3000.10.21
Agent-Model: SWE-2 Max
Agent-Session: /home/crackauc/.local/share/devin/cli/summaries/history_66ef0886b194479c.md
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.

2 participants