Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LHCb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 193
    • Issues 193
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • LHCb
  • Merge requests
  • !3754

PyConf: Deterministic identity of components and data

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rosen Matev requested to merge rm-deterministic-hashes into master Aug 30, 2022
  • Overview 9
  • Commits 2
  • Pipelines 4
  • Changes 6

hash(alg/tool/data_handle) are non-deterministic since Algorithm, Tool and DataHandle use hash to construct their "identity" (which is returned by their __hash__). This makes the iteration order of sets of objects non-deterministic, which can be a problem since, at least currently, the names of Algorithms depends on instantiation order.

This is fixed here by using deterministic hashing.

Goes with Rec!3099 (merged)

See Moore!1737 (comment 5951216)

/cc @gunther

Edited Aug 31, 2022 by Rosen Matev
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: rm-deterministic-hashes