Repository navigation
physXAI 1.0.0 – Phase 0: foundation and AgentLib-MPC contract tests - #70
Merged
Merged
Conversation
- Static versioning in pyproject.toml (1.0.0.dev0), physXAI.__version__, CHANGELOG.md and a version check workflow; setuptools-scm removed - Python >= 3.11, CI on Linux and Windows (3.11-3.13), casadi declared, GitPython and requirements.txt removed, ruff + pre-commit - physXAI.io.Run replaces the global Logger for new code (explicit paths, no prompts, no git root resolution, Windows safe names) - physXAI.io.save_for_agentlib / check_agentlib_compatibility - Contract tests against AgentLib-MPC: generate_physxai_model end to end, CasADi translation of all custom layers, loading legacy models and agreement of the compatibility rules with AgentLib-MPC - AgentLib example scripts migrated to Run (train_model signature unchanged) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
This was referenced Nov 6, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 0 of the physXAI 1.0.0 refactoring (foundation and safety net). Base:
refactoring_v1.0.0.Summary
versioninpyproject.toml(1.0.0.dev0),physXAI.__version__viaimportlib.metadata,CHANGELOG.md, version check workflow for release tags. setuptools-scm removed.casadideclared (was imported but missing); GitPython and the outdatedrequirements.txtremoved; extrasdev,agentlib,docs; ruff + pre-commit.physXAI.io.Runreplaces the globalLoggerfor new code: explicit paths (no git root resolution, works when installed as a package), no interactive prompts, never deletes files, Windows-safe names.save_for_agentlib/check_agentlib_compatibility: write exactly the files AgentLib-MPC reads and validate the AgentLib rules before training.unittests/contract, skipped withoutagentlib_mpc):generate_physxai_modelend to end for an ANN (example_ci) and a LinReg onChange(T)with a derived input;.kerasmodels;Run; thetrain_modelsignature and the output files are unchanged.Test plan
pytest: 43 passed (21 existing, 22 new).tests/test_physXAI_plugin: 3 passed.examples/one_room_mpc/physXAI_plugin/simple_mpc_nn_physXAI.run_example(testing=True)runs.Bug #37 of the refactoring plan (coverage badge committed into PR branches) is not addressed yet; planned for phase 6.
🤖 Generated with Claude Code