facebookresearch / facebookresearch/CodeGen

Hash function

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
777
Forks
144
PR merge metrics
No merged PRs in 30d

Description

If you are storing files from several projects inside a unique repository from where you take the data, the hash function, will apply the same hash to every project, this due to how the assigning is done:

![image](https://github.com/facebookresearch/CodeGen/assets/104654405/dab6d25d-d819-4cd3-8a9e-f6bac6378a5e)

Only if the name is CodeNet will work because takes the second part of the name, meanwhile in every other case it will take only the first part of the path which will be the name of the repository not the name of the projects stored inside as it would be for the CodeNet case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.