Skip to content

chore: finish the legacy-ReFL deletion sweep - #293

Merged
CjhHa1 merged 1 commit into
mainfrom
chore/refl-deletion-sweep
Aug 2, 2026
Merged

chore: finish the legacy-ReFL deletion sweep#293
CjhHa1 merged 1 commit into
mainfrom
chore/refl-deletion-sweep

Conversation

@haonan3

@haonan3 haonan3 commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Post-merge sweep completing #281's deletion blast radius — these fixes raced the squash-merge and landed on the already-closed branch, so main never got them:

  • experimental/refl README: add a Deliberately not ported section listing the capability cuts vs the deleted core path (periodic eval + eval_rewards suites from feat(trainer): add periodic eval to PE / ReFL / UnifiedModel #202, reward_fraction cross-slab placement, param_checksum / activation_checkpoint_vae knobs) with the bring-back rule — so reviewers stop rediscovering them as migration gaps (one external review already misread the rewrite as "fork drift").
  • Docstring scrub: rewrite the six comments/docstrings that still referenced the deleted RewardBackpropTrainer / ReFLPolicy / draft_generate (experimental trainer.py / roles.py / wan21 example yaml, unirl/models/sd3/pipeline.py build_conditions, unirl/trainer/eval_suites.py ×2).
  • CODEOWNERS: drop the two rules covering deleted paths (/unirl/train/refl/, /unirl/train_refl.py).

No behavior change — docs, comments, and review-routing rules only.

Related Issue

Follow-up to #281 (same genre as the #290 post-merge sweep).

Test Plan

  • grep -rn 'train_refl\|RewardBackpropTrainer\|ReFLPolicy\|draft_generate\|models\.draft' --include='*.py' --include='*.yaml' --include='*.md' . → zero references to deleted symbols outside historical notes.
  • grep -n refl .github/CODEOWNERS → empty.
  • pre-commit run --files <touched files> → pass.

Compatibility / Risk

None — no executable code changed. AI-assisted (Claude); overlap checked against #290's refl nits (disjoint files).

🤖 Generated with Claude Code

Post-merge sweep completing #281's blast radius (these fixes raced the
squash-merge and landed on the closed branch):

- experimental/refl README: list the deliberate capability cuts vs the
  deleted core path (periodic eval + eval_rewards suites, reward_fraction
  placement, debug knobs) with the bring-back rule, so reviewers don't
  rediscover them as migration gaps.
- Rewrite docstrings that still referenced the deleted
  RewardBackpropTrainer / ReFLPolicy / draft_generate (experimental
  trainer/roles/example yaml, sd3 build_conditions, eval_suites).
- CODEOWNERS: drop the two rules covering deleted paths.

grep-level zero references to the deleted symbols remain.
@github-actions github-actions Bot added the need review Ready and waiting for review label Aug 2, 2026

@CjhHa1 CjhHa1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CjhHa1
CjhHa1 merged commit 6be466a into main Aug 2, 2026
8 checks passed
@CjhHa1
CjhHa1 deleted the chore/refl-deletion-sweep branch August 2, 2026 04:16
@github-actions github-actions Bot removed the need review Ready and waiting for review label Aug 2, 2026
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.

2 participants