-
Notifications
You must be signed in to change notification settings - Fork 27
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
Merge l1t-tsg-v5 into CMSSW #243
Comments
Data area PRs are here: |
Stand-in PR into 80x is here: cms-sw#14024 |
I really really really think this is a bad idea to rewrite the history.
This is all because people don't want too many commits in the git history? I'm sure the servers aren't complaining, and git is happy to have plenty of commits. In particular, merge commits are very lightweight objects if not changing anything, which is the case whenever there is no merge conflict. |
Rewriting history can be good or bad, it depends how you do it. I agree that simply squashing the whole set of changes that came after l1t-tsg-v4 into a single commit is a bad idea. Squashing each set of commits into one or two could definitely increase the readability of the changes. For example, now when someone asks "what changed between these two tags" he sees a bunch commits with messages like
which clearly are not particularly useful. Personally, I would be in favour of structuring the pull requests along the philosophy used by the patches for the linux kernel, https://www.kernel.org/doc/Documentation/SubmittingPatches, section 3:
|
Ahh you found a few gems I should have squashed. : < In principle we can cut the number of merge commits down to 1 by this method of development: git checkout -b $USER-dev-$CMSSW_VERSION cms-l1t-offline/l1t-integration-$CMSSW_VERSION
git cms-sparse-checkout $CMSSW_VERSION HEAD
git read-tree -mu HEAD
scram b
# hack...
git push cms-l1t-offline $USER-dev-$CMSSW_VERSION and then when merging the PR, just allow github to do it with one merge commit from feature to master. For fun I made this diagram of what's happened since l1-tsg-v4: |
Hi Nate, I understand and share your concerns but in this case it is the lesser of two evils. Bear in mind:
There are pluses and minus to each of the various approaches, and in this case, I think this one is optimal choice. |
|
I invite any interested parties, as an exercise, to take tag l1t-tsg-v5 and break it into 3-4 smaller PRs without changing any commit history. And don't forget not to include the data area in any commit that goes to CMSSW while you are at it! Time how long it takes you. I've done such an experiment with earlier tags... it is definitely possible (except for the data area) but it takes forever, for very marginal gains. I'm open to suggestions, honestly, but I've experimented quite heavily and am choosing what seems optimal to me. |
I actually tried to do it for l1t-tsg-v4, and eventually failed to even get the same final code :-( |
These are now obsolete, removing from summary and recording here:
|
I've been doing some bitwise comparisons of l1t-tsg-v5 to the above PRs. I prepare l1t-tsg-v5 according to the standard recipe plus:
Then I compare with the 80X PR after:
This gives me bitwise agreement for mc production and re-emulation, except for the Menu, which differs by the External Conditions (which aren't yet re-emulated in 80x):
So this all looks good. The only ones I'm not sure of are those last ones, which don't explicitly list an external... |
Algorithms with correlation conditions (WdEta, WdPhi etc) in this menu are place holders as explained at The conditions used for these algorithms are EXT_BPTX_plus_AND_minus.v0 as can be seen at |
OK, thanks, Takashi. |
Also compared the 80x PR and the 81x PR. They differ only by trigger results from externals (which are emulated in 81x but not yet in 80x) |
As additional check, in 80X PR:
Likewise for 81x PR:
And checked that these discrepancies are all expected... |
cms-sw#14104 is ready for merge. |
Clint stopped by to say he had seem some discrepancies with his rate studies using HLT recipe in 805+PR 14141 and Zhenbin's studies (802 + l1t-tsg-v5). I ran full statistics bitwise comparisons and had perfect agreements between 805+PR 14141 and l1t-tsg-v5 (in 802 as in recipe) plus:
I think the discrepancies must therefore be between the different analysis software of Zhenbin and Clint. One remaining good comparison tests would be to check vanilla 810_pre3 against 805+PR14141 and nothing else... |
On 26 April 2016 at 01:58, mulhearn [email protected] wrote:
Clint is using the uGt emulator, while Zhenbin is simulating the L1 Len and Zhenbin have already reported some discrepancies from a similar This does not mean that there is anything wrong with l1t-tsg-v5 (apart from .A |
@fwyzard The difference between uGT emulator and C++ implementation mostly exists for the correlation conditions for now. The VBF jet are fixed. Clint saw a large discrepancy with my singleMu rate. I got 10kHz while he got 5kHz ( similar to the TSGv4 value). I suspected he is using the old TSGv4 tag. But it seems not the case... |
This issue covers the preparations to merge l1t-tsg-v5 into CMSSW.
Currently, the PRs bring us upto date with l1t-tsg-v34.0
The 81x Prs are:
The 80x Prs are:
The external data requests are:
NOTE: Will need a small increment to add configuration change of caloParams to use Tau Iso LUTs option-5 (i.e. l1t-tsg-v5.1)
The text was updated successfully, but these errors were encountered: