NatLabRockies / NatLabRockies/H2Integrate

Feature request: allow for currency units other than USD

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

Nobody has claimed this yet.

enhancement framework
Dominant language
Python
Stars
26
Forks
44
Avg merge
3d 22h
Merged PRs (30d)
16

Description

Feature request: allow for currency units other than USD

The currency units in H2I are assumed to be in USD, but in the code (most anyway) the input could be in any currency units and everything should work just fine as long as all the currency inputs are consistent. We have run into a case where we are using H2I for international collaboration (IEA Task 50) and the code returning USD is confusing, even though we used all Euros in the inputs.

Proposed solution

It would be nice to be able to specify the currency units and have all currency units and reports in H2I update accordingly.

I recognize this could get complicated with cost models that have fixed USD outputs, but I think the user could also specify an exchange rate to be used where necessary.

Alternatives considered

Right now we are just working with our knowledge that we can put any currency input we want (for our given cost models) and the output will be the same, even though the output says USD.

Additional context

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating where H2I labels currency outputs as USD, where currency inputs enter cost models, and where reports are generated. Clarify supported currency units, report behavior, and exchange-rate handling before implementation; done means inputs and outputs use an explicitly selected currency without misleading USD labels.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.