Daryl Lim Claude Opus 4.6 (1M context) commited on
Commit
421ec9c
·
1 Parent(s): 9780ff0

docs: update test counts and gitignore for batch tab redesign

Browse files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (3) hide show
  1. .gitignore +3 -0
  2. CLAUDE.md +1 -1
  3. README.md +2 -2
.gitignore CHANGED
@@ -13,6 +13,9 @@ tests/data/
13
  # Docs
14
  docs/
15
 
 
 
 
16
  # IDE / OS
17
  .DS_Store
18
  .ipynb_checkpoints/
 
13
  # Docs
14
  docs/
15
 
16
+ # Superpowers
17
+ .superpowers/
18
+
19
  # IDE / OS
20
  .DS_Store
21
  .ipynb_checkpoints/
CLAUDE.md CHANGED
@@ -36,7 +36,7 @@ pytest -m slow # model tests only (CUDA only)
36
 
37
  **`langmap/`** — Package with `langid_mapping.py`, a hand-maintained dictionary mapping 22 Tier 1 production-ready language tokens (BLEU 35+ both directions, Section A.10) to human-readable language names. Available languages at runtime are the intersection of this mapping and the model's vocabulary.
38
 
39
- **`tests/`** — 54 tests (44 fast, 10 slow). `test_langmap.py` has 8 fast tests for language mapping validation. `test_app.py` has 36 fast tests (signatures, device fallback, batch parsing, output writing, guard clauses, UI config) and 10 slow tests (translation with various parameters, language mapping). Slow tests require CUDA and model download; auto-skipped without CUDA.
40
 
41
  ## Tooling
42
 
 
36
 
37
  **`langmap/`** — Package with `langid_mapping.py`, a hand-maintained dictionary mapping 22 Tier 1 production-ready language tokens (BLEU 35+ both directions, Section A.10) to human-readable language names. Available languages at runtime are the intersection of this mapping and the model's vocabulary.
38
 
39
+ **`tests/`** — 55 tests (45 fast, 10 slow). `test_langmap.py` has 8 fast tests for language mapping validation. `test_app.py` has 37 fast tests (signatures, device fallback, batch parsing, output writing, guard clauses, UI config) and 10 slow tests (translation with various parameters, language mapping). Slow tests require CUDA and model download; auto-skipped without CUDA.
40
 
41
  ## Tooling
42
 
README.md CHANGED
@@ -37,6 +37,6 @@ The Gradio interface launches at `http://localhost:7860`.
37
  ruff check . # lint
38
  ruff format . # format
39
  ty check # type check
40
- pytest -m "not slow" # 39 fast tests
41
- pytest # all 49 tests (slow require CUDA + model download)
42
  ```
 
37
  ruff check . # lint
38
  ruff format . # format
39
  ty check # type check
40
+ pytest -m "not slow" # 45 fast tests
41
+ pytest # all 55 tests (slow require CUDA + model download)
42
  ```