Make config python script detect hash collisions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Start in scripts/config_mapping/lifecycle_config.py and review PR 527 for the portable run-target hashing function. Implement the equivalent hashing and collision validation in the config-validation script. Done means the script detects duplicate hashes, communicates the collision, and exits with status 1.
Written by the indexing model from the issue text.
Description
What
Since PR https://github.com/eclipse-score/lifecycle/pull/527 we have a portable hashing function to get the hash of the run-targets. Currently we assume that no hash collisions happen which is a bit unsafe. But with the changes we could validate that no hash collisions happen in the python script that is ran to validate configs lifecycle_config.py by implementing the same hashing function in python.
I think for now it shall just exit and communicate the error, I don't think we should append or modify the name since we might get into weird behaviour.
Acceptance Criteria (DoD)
- Script validates names and exits 1 if a hash collision is detected.
How
No response
- Dominant language
- C++
- Stars
- 6
- Forks
- 34
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 83
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-score/lifecycle
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
eclipse-score/lifecycle#407 ·
-
cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eclipse-score/lifecycle#375 ·
-
Feature Req Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
eclipse-score/lifecycle#664 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
eclipse-score/lifecycle#652 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
eclipse-score/lifecycle#649 · 1 comment ·
All issues in eclipse-score/lifecycle
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·