Skip to content

[Retrieval] request to release the idx (idx in corpus) of each candidate code. #10

Description

@izhx

Currently, the positive_code and negative_code provide the code string. Could you release the corresponding corpus idx of each candidate? And, if possible, with the corresponding corpus filename.

This would be helpful for using this data in tools like beir.

Thanks.


now (such as retrieval_code_code/validation/Java_code_code_dev_file.jsonl) :

    "positive_code": [
        {"source_code": "xxxx"}, 
        ....
    ],
    "negative_code": [
        {"source_code": "yyyy"}, 
        ....
    ],

expected:

    "positive_code": [
        {"idx": "x", "file_name": "java.jsonl", "source_code": "xxxx"}, 
        ....
    ],
    "negative_code": [
        {"idx": "y", "file_name": "java.jsonl", "source_code": "yyyy"}, 
        ....
    ],

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions