Pometry / Pometry/Raphtory

Update time-based algorithms to use TimeIndexEntry

Open
#2,248 0 comments 0 reactions 0 assignees View on GitHub

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:

Image

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.