Port the flat aggregators to ForecastSet

Open
#101 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
48/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
julia
Domain
data

Research direction

Start with simple.jl, trimmed.jl, and the :cdf path in linear_pool.jl, then inspect how ForecastSet stores tasks and per-model vectors. Port those aggregators to loop over tasks and reduce the vectors, preserving ForecastTable input through boundary conversion. Run the existing output-value tests; completion also requires rewriting tests that inspect .data row layout for the new type.

Written by the indexing model from the issue text.

Description

enhancement

simple.jl, trimmed.jl and the :cdf path of linear_pool.jl group the long frame on output type, output type id and task columns, then reduce each group across models. They are the simplest methods to port and should set the pattern for the rest.

Port them to loop over the tasks in a ForecastSet and reduce the per-model vectors directly, keeping ForecastTable input working through conversion at the boundary. Existing tests that check output values should pass unchanged; tests that inspect .data row layout get rewritten against the new type.

Dominant language
Julia
Stars
2
Forks
0
Avg merge
2h 49m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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/ForecastEnsembles.jl

All issues in epiforecasts/ForecastEnsembles.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.