Skip to content

cleanup: remove orphaned comments referencing invisible context#1515

Closed
lb1192176991-lab wants to merge 1 commit into
MFlowCode:masterfrom
lb1192176991-lab:cleanup/orphaned-comments
Closed

cleanup: remove orphaned comments referencing invisible context#1515
lb1192176991-lab wants to merge 1 commit into
MFlowCode:masterfrom
lb1192176991-lab:cleanup/orphaned-comments

Conversation

@lb1192176991-lab
Copy link
Copy Markdown

What

Removes two stale comments that reference context no longer visible in the repository:

  1. case_validator.py: Dangling # Justification: Comprehensive validator covering all MFC parameter constraints comment after the module docstring — a leftover review note.
  2. params/definitions.py: "This replaces the definitions/ directory." — documents a past migration; that directory was already removed from the repo, so the note refers to invisible history.

Why

Dead comments create noise for new readers and suggest maintenance that is no longer happening.

Testing

Comment-only changes — no behavior impact. Python imports and module behavior are unaffected.

Fixes #1500.

- Remove dangling '# Justification: ...' comment after the module
  docstring in case_validator.py (leftover review note).
- Remove 'This replaces the definitions/ directory.' migration
  sentence from definitions.py docstring (the directory no longer
  exists in the repo, so the note refers to invisible history).

Fixes MFlowCode#1500.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.64%. Comparing base (08d12f8) to head (06f20d9).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1515   +/-   ##
=======================================
  Coverage   60.64%   60.64%           
=======================================
  Files          73       73           
  Lines       20213    20213           
  Branches     2936     2936           
=======================================
  Hits        12259    12259           
  Misses       5966     5966           
  Partials     1988     1988           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Remove internal-numbering / migration comments referencing invisible context

2 participants