Skip to content

Increase prompt hash length from 7 to 16#247

Merged
svarlamov merged 3 commits intomainfrom
feat/prompt-hash-len
Nov 30, 2025
Merged

Increase prompt hash length from 7 to 16#247
svarlamov merged 3 commits intomainfrom
feat/prompt-hash-len

Conversation

@svarlamov
Copy link
Copy Markdown
Member

@svarlamov svarlamov commented Nov 30, 2025

Reduce the collision p50 from 16k to 5Bn (more than enough for uniqueness within a single repo). No doc/spec updates as there were never any guarantees about the format of length of the prompt IDs (only that they are delimited by spaces in the authorship attributions)

@git-ai-cloud-dev
Copy link
Copy Markdown

git-ai-cloud-dev Bot commented Nov 30, 2025

Stats powered by Git AI

🧠 you    ████████████████████  100%
🤖 ai     ░░░░░░░░░░░░░░░░░░░░  0%
More stats
  • 0.0 lines generated for every 1 accepted
  • 0 seconds waiting for AI

AI code tracked with git-ai

@svarlamov svarlamov merged commit 5d3a52b into main Nov 30, 2025
6 checks passed
@svarlamov svarlamov deleted the feat/prompt-hash-len branch November 30, 2025 17:27
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.

1 participant