Make all internal columns, in particular `forecast_id`, more robust by prefixing it with "scoringutils_"

Open
#927 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
data

Research direction

Start with quantile_to_interval_numeric(), then search the package for other internal column names such as forecast_id and identify where they are created or consumed. Document the naming convention and consider the change complete when internal columns are consistently prefixed without conflicting with columns supplied in the input.

Written by the indexing model from the issue text.

Description

good first issue high-priority

quantile_to_interval_numeric(), for example, makes use of an internal forecast_id column. This might cause issues if there is already a forecast_id column in the input.

We should likely prefix all internal columns with "scoringutils_" to avoid those issues + document this design choice somewhere.

Dominant language
R
Stars
67
Forks
24
Avg merge
1h 24m
Merged PRs (30d)
2

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 epiforecasts/scoringutils

All issues in epiforecasts/scoringutils

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.