Skip to content
Success

Changes

Summary

  1. Remove the JAX error-message code registry (#1401) (details)
  2. Restrict BIT_CHANGING guidance to Fortran result changes (#1399) (details)
Commit aa8c2aa4037dda69d686ca97bcbbe1a8208401fd by noreply
Remove the JAX error-message code registry (#1401)

* Remove the JAX error-message code registry

Print failure details at the runtime checks that detect them. Remove the
extra reason_code field and its setters, decoder, initialization/reset
handling and exports; retain the normal per-column fatal-error status.
Update the scalar-guard assertions and add cached-call diagnostic checks.

Local CPU checks passed for the ErrInfo pytree, diagnostic output, driver
debug gates and state reset/batching behavior (65 cases across five modules).

* Correct the multiple-LHS diagnostic test's wp3 grid

Allocate synthetic wp3 on thermodynamic levels, as required by
calc_wp3_on_wp2, so the test reaches the multiple-LHS guard during tracing.

The 21 selected CPU diagnostic checks pass, covering cached-call output,
per-column fatal status and preservation of fields on the unsupported path.

* Restore the C2 explanation in the multiple-LHS diagnostic

Name C2rt, C2thl and C2rtthl when their unequal values prevent a single-LHS
solve. Keep the direct runtime print and existing fatal-status handling.

The focused CPU cached-call test passes, including the restored explanation,
quiet valid calls and preservation of incoming fields on failure.

* Revert "Restore the C2 explanation in the multiple-LHS diagnostic"

This reverts commit 170a13e2bc7af24e92d8d8bc9de9d9db601921ed.

* List single-LHS requirements in the JAX diagnostic

Print the approved static requirements after the unsupported multiple-LHS
message: explicit turbulent advection or ADG1, plus per-column equivalence
of C2thl and C2rtthl to C2rt within the relative epsilon tolerance.

The focused CPU cached-call test passes, checking the listed requirements,
quiet valid calls and preservation of incoming fields and fatal status.
The file was modifiedclubb_jax/pytests/auto_llm_generated_pytests/test_jit_compile.py (diff)
The file was addedclubb_jax/pytests/auto_llm_generated_pytests/test_xp2_error_diagnostics.py
The file was modifiedclubb_jax/src/CLUBB_core/numerical_check.py (diff)
The file was modifiedclubb_jax/pytests/auto_llm_generated_pytests/test_windm_edsclrm_scalar_indices.py (diff)
The file was modifiedclubb_jax/src/CLUBB_core/advance_xp2_xpyp_module.py (diff)
The file was modifiedclubb_jax/src/advance_clubb_to_end.py (diff)
The file was addedclubb_jax/pytests/auto_llm_generated_pytests/test_radiation_error_diagnostics.py
The file was modifiedclubb_jax/src/CLUBB_core/err_info.py (diff)
The file was modifiedclubb_jax/src/Radiation/radiation_module.py (diff)
The file was modifiedclubb_python_api/JAX_INTEROPERABILITY_PROPOSAL.md (diff)
The file was modifiedclubb_jax/src/CLUBB_core/__init__.py (diff)
The file was removedclubb_jax/src/CLUBB_core/err_info_codes.py
The file was modifiedclubb_jax/src/CLUBB_core/advance_windm_edsclrm_module.py (diff)
Commit 6e48f97c2a96bc78fb498c82f1ed0bb690235349 by noreply
Restrict BIT_CHANGING guidance to Fortran result changes (#1399)

Keep JAX numerical acceptance focused on agreement with the corresponding
Fortran implementation rather than preserving earlier JAX output. Clarify
the reporting rule and link it from the JAX porting workflow.

All 21 skill schemas, 112 local links and 7 heading anchors pass, along with
diff formatting. Only three skill Markdown files change.
The file was modified.agents/skills/clubb-documentation/change-messages/SKILL.md (diff)
The file was modified.agents/skills/clubb-testing-and-reporting/SKILL.md (diff)
The file was modified.agents/skills/clubb-jax-port/SKILL.md (diff)