Skip to content
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

Add norm correction along with data and methods to analyze norm discrepancies #5

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

aldbr
Copy link
Collaborator

@aldbr aldbr commented Oct 27, 2021

This PR aims to resolve #3 and includes:

  • score-analysis:
    • DB12Analysis.ipynb a jupyter notebook to analyze discrepancies between python2 and python3 executions.
    • resources to generate and use further data in the analysis, this will be needed to update db12 in the future.
    • README.md to get details about how to get data and run the analysis.
  • src/db12/benchmark.get_norm_correction(): method intending to transform a python3 score into a python2 one.
  • src/db12/factors.json: a json file containing the factors to apply to the score to effectively transform a score.

Copy link
Contributor

@fstagni fstagni left a comment

Choose a reason for hiding this comment

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

You have added the results of the score analysis in, which are of course rather large files, that I don't think deserves being kept here (they are not for being version-controlled). If you want to save them, maybe somewhere else?

score-analysis/resources/tools/DB12.py Outdated Show resolved Hide resolved
@fstagni fstagni merged commit e9ea7d4 into DIRACGrid:master Nov 11, 2021
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.

Port to python3: discrepancies in the results
2 participants