Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Sensitive to `COMMODITY_BALANCE_EPSILON_FOR_CANDIDATES`

Open
#1,397 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust
Domain
backend

Research direction

Start by reproducing the behavior of COMMODITY_BALANCE_EPSILON_FOR_CANDIDATES with the limited example models in the repository. Compare its effect with candidate_asset_capacity across the tested ranges, and review the alternative dispatch approach in issue #1386. Done means the parameter relationship and expected behavior are established clearly enough to guide a focused change.

Written by the indexing model from the issue text.

Description

Introduced in #1387, I've found that this parameter only really works as intended over a less than 2-orders of magnitude range:

  • too small and it has not impact
  • too big and candidate assets cannot meet the demand

If this is reliable, then maybe that's ok, but I've only tested this with the limited example models in the repo. I also haven't investigate the relationship with the related candidate_asset_capacity parameter. I imagine the relative value of this is important, so it may be better to define the epsilon parameter relative to this, or just hardcode them both.

I also suggested an alternative idea here, which would avoid having to do the dispatch with candidates all together.

Dominant language
Rust
Stars
8
Forks
5
Avg merge
11h 31m
Merged PRs (30d)
33

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.

More from EnergySystemsModellingLab/MUSE2

All issues in EnergySystemsModellingLab/MUSE2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.