HF RL Explorer

Task: Demonstrate Git Hash Collision Properties and Short Hash Behavior

Task: Demonstrate Git Hash Collision Properties and Short Hash Behavior: a task in Terminal-Lego-15k (Harbor dataset). Create a script that demonstrates how Git's SHA-1 hashing works, specifically showing that: 1. Git does NOT guarantee the first few characters are "ultra-unique" — all bits are…

The task

Create a script that demonstrates how Git's SHA-1 hashing works, specifically showing that: 1. Git does NOT guarantee the first few characters are "ultra-unique" — all bits are generated uniformly by SHA-1 2. Short hash references (e.g., 4 characters) work only because Git finds the shortest unambiguous prefix in a…

Part of PrimeIntellect/Terminal-Lego-15k.