More units and conversions, with tests

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
74/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Start by reading the unit registry in packages/bim-units and check whether the example units already exist under another name. Add missing flow, pressure, illuminance, thermal resistance, or specific heat units in SI and US customary forms, each with a dimension and conversion. Add round-trip tests and confirm quantities retain their unit kind.

Written by the indexing model from the issue text.

Description

area: kernel good first issue

From the roadmap ("Good places to start").

packages/bim-units has a unit registry for every trade. Add the units people ask for that are missing, each with conversions and a test, for example flow, pressure, illuminance, thermal resistance and specific heat in both SI and US customary units.

How

  • Check the registry first; some may exist under another name.
  • Every new unit needs a dimension, a conversion and a round-trip test.
  • No bare numbers: quantities keep their unit kind.
Dominant language
TypeScript
Stars
85
Forks
10
Avg merge
1h 28m
Merged PRs (30d)
20

Getting set up

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 permitzip/mutinybim

All issues in permitzip/mutinybim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.