Skip to content
Edit this page

Reference data and citations

The library's numbers live in TOML files in ictdesigntools/data, one per product family or published table, read by the module that uses them. Every row names its source: the standard, clause and edition, or the data sheet, that the values came from.

Rules for data

  • Cite every row. A value without a source can't be checked, so it isn't added.
  • Write values as published. Keep the published unit in the key (od_in, max_il_db), and let the module convert them. This makes each row easy to check against its source.
  • Prefer public sources. ITU-T Recommendations are free to read, and so are many data sheets. Where a value comes from a standard that isn't freely available, it is tracked in an issue with the needs-validation label until it can be checked.
  • Test every row. The test suite loads every file and checks every row's fields, so a typo fails a pull request.

Editions

Standards are revised. A row's source names the edition it was taken from, and when a new edition appears the rows are checked against it before the citation changes.