docs: the `compare.py` docstring names `tests/data/sentences/pt-PT.tsv`, which the repository does not hold

Open Beginner friendly
#440 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
84/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
documentation

Research direction

Open scriptconv/testing/compare.py and read the module docstring, particularly the "Command line" block at lines 34-39 and the TSV header description nearby. List tests/data and run git ls-files | grep sentences to confirm no sentence set is committed, then either point the example at a fixture that does exist or add a line telling readers to build one from the documented id lang category text expected_ipa source tier header. Done when the example command no longer names a missing path and a newcomer can tell where the input comes from.

Written by the indexing model from the issue text.

Description

🤖 Auto-generated by Claude Sonnet 5.5 (claude-sonnet-5-5) via Claude Code — NOT human-reviewed. Verify before acting.

Verified: scriptconv origin/dev 8688aa5. Each output below comes from a run in a fresh Python 3.12 environment with python -I, installed from that checkout.

Observed

The module docstring of scriptconv/testing/compare.py shows a command line with the sentence set tests/data/sentences/pt-PT.tsv (lines 36 to 39):

python -m scriptconv.testing.compare --lang pt-PT \
    --tsv tests/data/sentences/pt-PT.tsv --backend tugaphone \
    --stages homographs:homograph,numbers:number

The repository holds no such file. tests/data holds f5tts_parity.jsonl, g2pw_parity_zh.jsonl, nakdimon_parity_he.jsonl, nemo_en_ids.json and nemo_vocab.json, and git ls-files lists no path with sentences in it.

Expected

The example command runs as written, or the docstring names where a reader gets a sentence set. The docstring of the same module describes the TSV header (id lang category text expected_ipa source tier), so a reader can also build one.

Reproduce

ls tests/data/sentences/pt-PT.tsv
git ls-files | grep sentences

Where

scriptconv/testing/compare.py lines 34 to 39, the "Command line" block of the module docstring.

Dominant language
Python
Stars
4
Forks
1
Avg merge
8h 20m
Merged PRs (30d)
128

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 TigreGotico/scriptconv

All issues in TigreGotico/scriptconv

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.