Skip to content

Add check on off-diag quadratics#80

Open
LucaMantani wants to merge 3 commits into
mainfrom
check_off_diag_quads
Open

Add check on off-diag quadratics#80
LucaMantani wants to merge 3 commits into
mainfrom
check_off_diag_quads

Conversation

@LucaMantani
Copy link
Copy Markdown
Collaborator

This PR adds two checks on off-diag quadratics:

  • No duplicate contributions exist, i.e. no theory table has Op1*Op2 and Op2*Op1. This test passes ✅
  • Check that off-diag contributions appear, i.e. that if Op1 and Op2 are present in the dictionary, then also Op1*Op2 or Op2*Op1 is present. This test does not pass ❌

Some tables (the Higgs ones) I knew would not pass because they are currently missing some contributions, now implemented in #77 . However, other tables are missing contributions. It might be that some of them are missing them because they are zero, in which case it is not strictly a problem (smefit would fill in zeros), but we could discuss whether we want to have a policy where we write the zeros explicitly to not create ambiguity?

@jacoterh
Copy link
Copy Markdown
Collaborator

Yes, I think it'd be good to write explicit zeros. This way we keep a consistent structure which makes it easier to design tests without cornercases

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