Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Failed to generate create self-training dataset per transcoder-st doc

Open
#75 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, shell

Research direction

Start with docs/TransCoder-ST.md and create_self_training_dataset.sh, then inspect codegen_sources/test_generation/create_tests.py at line 260. Trace how the expected /checkpoint/broz/data/2021-04-19_selected_sa_java_functions_for_tests_deduped input is produced; done means the documented workflow reaches test creation without this assertion failure.

Written by the indexing model from the issue text.

Description

bug

Hi,

When I was following the instructions from https://github.com/facebookresearch/CodeGen/blob/main/docs/TransCoder-ST.md
to create self-training dataset. The create_self_training_dataset.sh failed with the Assertion Error:

######### Creating Tests ##########
Traceback (most recent call last):
File "codegen_sources/test_generation/create_tests.py", line 260, in
assert input_path.exists(), f"{input_path} does not exist"
AssertionError: /checkpoint/broz/data/2021-04-19_selected_sa_java_functions_for_tests_deduped does not exist

I am wondering how should I fix it ?

Thanks!

Wei

Dominant language
Python
Stars
777
Forks
144
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebookresearch/CodeGen

All issues in facebookresearch/CodeGen

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.