feat: redteam fixes and improvements#28
Merged
Merged
Conversation
…nings - Add `--no-wa` CLI flag to completely disable WolframAlpha fallbacks for improved OpSec. - Update `parse_options` and REPL inline option parsing to support `--no-wa`. - Improve `solve()` ambiguity detection and provide clearer diagnostics. - Prevent matrix keyword arguments from crashing `solve()`. - Update `README.md` to clarify `solve()` behavior. - Suppress `RuntimeWarning` caused by test suite execution of the `__main__` entrypoint. - Add comprehensive test coverage for `--no-wa` and `solve()` enhancements. - Add REDTEAM_REPORT.md containing security and architectural review.
Keep CLI docs consistent by listing --no-wa in the usage synopsis.\n\nUnify matrix-style solve rejection so assignment-wrapped inputs (for example a=solve(A=..., b=...)) return the same clear ValueError and downstream hint path as direct solve(...) calls.\n\nAdd regression coverage for the updated help text, assignment-wrapped matrix solve rejection, and diagnostics hint behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore direct solve() calls to SymPy-compatible behavior for ambiguous symbolic expressions while keeping the matrix-keyword recovery path for solve(A=..., b=...).\n\nUpdate tests and docs to match the shipped behavior so the release scope stays accurate and non-breaking.
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.
--no-waCLI flag to completely disable WolframAlpha fallbacks for improved OpSec.parse_optionsand REPL inline option parsing to support--no-wa.solve()ambiguity detection and provide clearer diagnostics.solve().README.mdto clarifysolve()behavior.RuntimeWarningcaused by test suite execution of the__main__entrypoint.--no-waandsolve()enhancements.