Skip to content

Fix: add y-informed fallback when num_classes is None to robustly nor…

c52922c
Select commit
Loading
Failed to load commit list.
Closed

Fix: add ensure_channel_first in utils and integrate into DiceHelper (refs #8366) #8532

Fix: add y-informed fallback when num_classes is None to robustly nor…
c52922c
Select commit
Loading
Failed to load commit list.
DCO / DCO required action Aug 25, 2025 in 0s

DCO

There are 3 commits incorrectly signed off. This means that the author(s) of these commits failed to include a Signed-off-by line in their commit message.

To avoid having PRs blocked in the future, always include Signed-off-by: Author Name <authoremail@example.com> in every commit message. You can also do this automatically by using the -s flag (i.e., git commit -s).

Here is how to fix the problem so that this code can be merged.


Preferred method: Commit author adds a DCO remediation commit

A DCO Remediation Commit contains special text in the commit message that applies a missing Signed-off-by line in a subsequent commit. The primary benefit of this method is that the project’s history does not change, and there is no risk of breaking someone else’s work.

These authors can unblock this PR by adding a new commit to this branch with the following text in their commit message:

林旻佑 <linminyou@linminyoudeMacBook-Air.local>

DCO Remediation Commit for 林旻佑 <linminyou@linminyoudeMacBook-Air.local>

I, 林旻佑 <linminyou@linminyoudeMacBook-Air.local>, hereby add my Signed-off-by to this commit: f063cc2cb0f1984e36737e31b010077bc396c6d8
I, 林旻佑 <linminyou@linminyoudeMacBook-Air.local>, hereby add my Signed-off-by to this commit: dc721d4ca53fa2b6be12b332fcd2f8773d3fcfbb
I, 林旻佑 <linminyou@linminyoudeMacBook-Air.local>, hereby add my Signed-off-by to this commit: 95c58a097b91d2728cab4f0c98ab95df37bba291

Signed-off-by: 林旻佑 <linminyou@linminyoudeMacBook-Air.local>

Please note: You should avoid adding empty commits (i.e., git commit -s --allow-empty), because these will be discarded if someone rebases the branch / repo.


Least preferred method: Rebase the branch

If you have a local git environment and meet the criteria below, one option is to rebase the branch and add your Signed-off-by lines in the new commits. Please note that if others have already begun work based upon the commits in this branch, this solution will rewrite history and may cause serious issues for collaborators (described in the git documentation under "The Perils of Rebasing").

You should only do this if:

  • You are the only author of the commits in this branch
  • You are absolutely certain nobody else is doing any work based upon this branch
  • There are no empty commits in the branch (for example, a DCO Remediation Commit which was added using --allow-empty)

To add your Signed-off-by line to every commit in this branch:

  1. Ensure you have a local copy of your branch by checking out the pull request locally via command line.
  2. In your local branch, run: git rebase HEAD~17 --signoff
  3. Force push your changes to overwrite the branch: git push --force-with-lease origin fix/8366

Summary

Commit sha: f063cc2, Author: 林旻佑, Committer: 林旻佑; The sign-off is missing.
Commit sha: dc721d4, Author: 林旻佑, Committer: 林旻佑; The sign-off is missing.
Commit sha: 95c58a0, Author: 林旻佑, Committer: 林旻佑; The sign-off is missing.