Skip to content

normalized CER #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

normalized CER #129

wants to merge 5 commits into from

Conversation

bertsky
Copy link
Contributor

@bertsky bertsky commented Apr 15, 2025

But perhaps this should be in the form of a user choice / parameter, in which case of course the change would be much bigger.

@bertsky bertsky mentioned this pull request Apr 15, 2025
@mikegerber
Copy link
Member

Because I was complaining elsewhere: I welcome this PR, I just want to give it a proper discussion and review as it gives different CER values compared to the current implementation in master.

@mikegerber mikegerber self-assigned this Apr 17, 2025
@mikegerber
Copy link
Member

I've rebased this to the current master branch, to fix the tests.

Changing to draft for now, because I would probably want at least to make this optional. Please don't change anything just yet, I want to review it/the normalized CER first and this probably have to wait until after Easter.

@mikegerber mikegerber marked this pull request as draft April 17, 2025 07:32
@bertsky
Copy link
Contributor Author

bertsky commented Apr 17, 2025

mikegerber force-pushed the normalized-cer branch from a33b713 to 7a79bae
5 hours ago

Speaking about Github etiquette and collaboration best practices: force-pushing on someone's forked PR is really bad practice!

You yourself have asked me to turn this into a PR. I was relying on that branch for my own (and other users') purposes. Now I have to go back in the reflog (if it's still there) to re-instate that branch on my own fork...

Changing to draft for now, because I would probably want at least to make this optional. Please don't change anything just yet, I want to review it/the normalized CER first and this probably have to wait until after Easter.

Sure, if you want to make that optional, and give it proper documentation, the change would have to be bigger.

(For me it was just a matter of necessity.)

@mikegerber
Copy link
Member

Speaking about Github etiquette and collaboration best practices: force-pushing on someone's forked PR is really bad practice!

No it isn't? It's the way a maintainer can make changes to a PR. And this case it was just a rebase to let the tests run.

You yourself have asked me to turn this into a PR. I was relying on that branch for my own (and other users') purposes. Now I have to go back in the reflog (if it's still there) to re-instate that branch on my own fork...

Ah, I wasn't aware of that. Need to think about this. It certainly wasn't my intention to destroy anything and we may need to establish a workflow that makes both uses possible (1. you keep your branch and 2. I can make changes to the PR)

@mikegerber
Copy link
Member

No it isn't? It's the way a maintainer can make changes to a PR. And this case it was just a rebase to let the tests run.

Was the rebase (with the force-push) the issue and not the editing? I think I can work with that, either by

A. maybe cherry-picking the master fixes would have sufficed
B. coordinating the rebase before I do it

@mikegerber
Copy link
Member

The current changes illustrate a part of the problem: because you use the same branch for your fork and the PR I now have unrelated changes in the PR (which are already fixed in master).

If you don't use a separate branch for the PR, all I am left with is closing this, and to create a new branch for a new PR.

@mikegerber
Copy link
Member

All things considered, the issue seems to be that you use your fork as the source branch for the PR. If you would create a new branch for the PR (one command!), the problems go away.

If you would just create a new branch (e.g. pr-foo-bar) identical to the original branch (e.g. my-fork), this would

a. enable the maintainer to work on pr-foo-bar

b. not break your my-fork

Maintainers working with the source branch of the PR also is the way for a maintainer to make changes to the PR. GitHub even has the option to disabe it. The only other possibility for a maintainer to change a PR is to close it and make a new PR.

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