Files
ml-sdk/docs/conventions.md
zeekay 397da37894 docs+brand: purge Zama/Fhenix references — Lux FHE / Torus / TorusEVM / TorusML / TorusNet canonical names
Files edited: 150
Brand-hit files before: 163
Brand-hit files after: 28

Substitutions:
- Zama Concrete ML        -> TorusML
- Zama Concrete / Concrete-> Torus
- Zama fhEVM / fhEVM      -> TorusEVM
- Zama TFHE-rs / tfhe-rs  -> Lux-FHE (github.com/luxfi/fhe)
- Zama (attribution)      -> Lux Industries
- zama-ai/* (GitHub)      -> luxfhe/*
- @zama-fhe/* (npm)       -> @luxfhe/*
- docs.zama.ai            -> docs.lux.network
- Fhenix / CoFHE          -> dropped or rewritten to Lux FHE / TorusEVM coprocessor

Text-only changes. No runtime code semantics altered.
2026-05-29 13:20:44 -07:00

2.1 KiB

Conventions

The only place we can say we/our is in a blog post written by a named author. Anything signed Lux Industries should not use we/our. So, no "We" or "Our" in our documentation.

Let's use following conventions for the docs. If a new convention needs to be decided, let's agree and then add it here.

Style

  1. The documentation can address the user directly e.g., "you can find out more at ..", but this style should not be abused, do not be too colloquial !
  2. The documentation should not refer to its writers or to TorusML developers/Lux Industries as "we", and thus it should not use "our" either.

Terms

  1. Use hyphenated versions for portmanteaus, unless the term is in the dictionary, example:
    • bit-width [not: bitwidth, bit width]
    • input-set, data-set
    • database, codebase is fine (not data-base, code-base)
    • de-quantize/re-quantize
  2. "an FHE program" not "a FHE program"
  3. Machine Learning or machine learning, depends on the context
  4. google is a verb ("you can google" but not "you can Google") : but try to avoid this
  5. Programs:
    • Jupyter
    • TorusML (no TorusML)
    • pytest except when title where it is capitalized
    • Python
    • torch (for the code) and PyTorch (for the product)
    • scikit, sklearn and scikit-learn are acceptable
    • Hummingbird
    • Docker (for the product) or docker (for the binary)
    • Poetry (for the product) or poetry (for the binary)
    • Make (for the product) or make (for the command line)
    • PoissonRegression or Poisson Regression (depends on the context, we'll fix it in Lux Industries)
    • macOS
    • bare OS

Variables

  1. Variables names should use ticks: variable_name or variable_name=10.5
  2. If a number is just stated, not in a code block, then it's just 10.5 not 10.5.

Titles

  • Main titles (with a single #) are Capitalized at Each Letter
  • Sub titles (with two or more #s) are Capitalized only for first letter
  • Use links from doc root (i.e., ../../user/explanation/quantization.md) instead of using the smallest number of ../ that works; it makes files easier to move