Update time-based algorithms to use TimeIndexEntry
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 642
- Forks
- 70
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 21
Description
Now that many of the APIs use TimeIndexEntry instead of timestamps, it might be time to update the epidemics temporal_SEIR algorithm to use TimeIndexEntry instead of timestamps. We are currently extracting the timestamp:
The Temporal Reachability algorithm (temporally_reachable_nodes) should also be updated to use TimeIndexEntry.
This may apply to other time-based algorithms as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the epidemics temporal_SEIR algorithm and the temporally_reachable_nodes entry point, then inspect how each currently extracts timestamps and how TimeIndexEntry is used elsewhere. Update these algorithms to use TimeIndexEntry, and check other time-based algorithms for the same pattern. Done means the named algorithms no longer extract timestamps unnecessarily and relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100