Skip to content

Remove obsolete knobs and compat paths; strict input validation; docs cleanup - #113

Merged
networmix merged 1 commit into
mainfrom
cleanup/obsolete-knobs
Oct 2, 2026
Merged

networmix merged 1 commit into
mainfrom
cleanup/obsolete-knobs

Conversation

@networmix

Copy link
Copy Markdown
Owner

Summary

  • Breaking removals of knobs that had no effect or only served back-compat: placement_rounds, acceptance_rule, integer/blank flow_policy, the ngraph.dsl.selectors re-exports, edge_select on shortest_path_cost/k_shortest_paths, include_flow_summary, CapacityEnvelope flow summaries, active_seed, inspect --output, and the pandas dependency. The [Unreleased] section of CHANGELOG.md lists every item.
  • Strict inputs: unknown keys anywhere in a scenario, mode on a bound context, alpha with alpha_from_step, non-integer parallelism, invalid hardware counts and duplicate risk group names now raise instead of being ignored.
  • Fixes: exclusive link-end BOM counts round up as documented; inspect --detail shows enum parameters by name; inspect errors go to stderr.
  • Docs: every reference page checked against the code and examples executed; history wording and filler removed from docs, docstrings and comments; API reference and pipeline diagram regenerated.
  • Tests: the scenario_4 integration fixture never created its leaf-spine links and every MaxFlow step returned 0 while tests asserted >= 0; fixed, and the tests now assert concrete capacities. New tests/dev/ covers two dev-tooling fixes (API doc generator, per-profile perf fits).

Test plan

  • bash .superset/workspace.sh check: 1284 tests pass, 93% coverage, API reference in sync, strict docs build
  • pre-commit run --all-files
  • CI green on 3.11 to 3.14 and 3.14t

🤖 Generated with Claude Code

… cleanup

- Remove placement_rounds, acceptance_rule, integer/blank flow_policy,
  ngraph.dsl.selectors re-exports, edge_select on shortest_path_cost and
  k_shortest_paths, include_flow_summary, CapacityEnvelope flow summaries,
  active_seed, inspect --output and the pandas dependency (CHANGELOG
  [Unreleased] lists everything)
- Raise on inputs that were silently ignored: unknown keys in any scenario
  section, mode on a bound context, alpha with alpha_from_step, non-integer
  parallelism, invalid hardware counts, duplicate risk group names
- Round exclusive link-end BOM counts up; show enum step parameters by name
  in inspect; send inspect errors to stderr
- Docs: check every reference page against the code, drop history wording
  and filler, rewrite the integration test README, regenerate the API
  reference and pipeline diagram
- Fix the scenario_4 fixture (leaf-spine links were never created and every
  MaxFlow returned 0) and integration tests that could not fail
- Dev tooling: emphasis and fenced-code handling in the API doc generator,
  per-profile complexity fits in dev/perf, tests under tests/dev

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T02:33:29.972972Z 6128af9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@networmix
networmix merged commit 209db65 into main Oct 2, 2026
10 checks passed
@networmix
networmix deleted the cleanup/obsolete-knobs branch October 2, 2026 02:38
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.

1 participant