Conversation
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
Test Results 8 files 8 suites 1h 40m 6s ⏱️ Results for commit 59bf08f. ♻️ This comment has been updated with latest results. |
|
@copilot Do you use numpy. Import from pyrecest.backend instead (as in other files). |
…and test file Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/78b31902-3c78-449b-a645-678fb545c8c8 Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
Fixed in commit 2b99f99. Replaced |
|
@copilot Fix this mmary info ============================ |
Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/66951ab0-0a68-4d90-9ce4-6d6a474c8135 Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
|
@copilot Suppress the redefined-builtin and fix the others pyrecest.backend.any' imported but unused ❌ PYTHON / pylint - 14 errors ************* Module pyrecest.tests.test_association_models |
…ix broad exception Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/c7c29d85-7792-4238-a930-3d16ee8ad40c Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
Fixed in commit 5093096:
|
@copilot Can you fix this? If not throw an error for these functions when jax backend is used (and use skipif for the test cases).
|
- Replace boolean masking + mutable assignment in _sigmoid with where() - Replace ones_like + mutable index assignment for regularization_mask with concatenate([zeros, ones]) to avoid JAX immutable-array violations - Remove now-unused empty_like and ones_like imports Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/4633c27e-1295-4978-8d52-61f5a18bcdf7 Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/4633c27e-1295-4978-8d52-61f5a18bcdf7 Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
Fixed in commit 980d312. The JAX incompatibilities were caused by two mutable-array operations:
Also removed the now-unused |
|
@copilot The tests for jax still fail. Can you fix it? =========================== short test summary info ============================
|
…e tolerance - Replace generator expression in _ensure_binary_labels with array operation (jnp.all doesn't accept Python generators) - Wrap Python list [self.intercept_] in asarray() for concatenate (jnp.concatenate requires ndarray, not list) - Adapt convergence tolerance to dtype machine epsilon (JAX float32 can't converge to 1e-8, use 1000*eps as minimum tolerance) Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/3a3a1e57-7eec-4680-b573-94a9b37f5a75 Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/3a3a1e57-7eec-4680-b573-94a9b37f5a75 Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
Fixed in commit 454ae00. Three JAX incompatibilities remained:
All 6 tests now pass with the JAX backend. |
7b21428 to
429a157
Compare

No description provided.