Skip to content

[docs] client-api.md points to wrong test path (test/ → tests/e2e/) — MMLU-Pro example fails #300

Description

@drunkcoding

Summary

docs/client-api.md:254 documents the MMLU-Pro example with the wrong path. Running it verbatim fails with No such file or directory.

Verified on origin/main @ d171a15.

Detail

The doc says:

python test/r1_mmlu_pro_test/r1_mmlu_pro_batch_test.py \
  ...

But the file actually lives at:

tests/e2e/r1_mmlu_pro_test/r1_mmlu_pro_batch_test.py

(git ls-tree -r origin/main confirms there is no top-level test/r1_mmlu_pro_test/ — only tests/e2e/r1_mmlu_pro_test/.)

Fix

Update the path in docs/client-api.md to tests/e2e/r1_mmlu_pro_test/r1_mmlu_pro_batch_test.py. Recommend a quick grep for any other test/ vs tests/ path references in docs/ while touching this.

Provenance

Found during a full fresh re-verification of the v1.0.10.post4 release docs (client/format/deploy static cross-check). All other client-api.md class/method/parameter claims verified correct against batchgen/batchgen_client.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions