Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeseries reconciliation #50

Open
intarga opened this issue Jan 7, 2025 · 2 comments
Open

Timeseries reconciliation #50

intarga opened this issue Jan 7, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@intarga
Copy link
Member

intarga commented Jan 7, 2025

Make a script to help content managers find and combine duplicate timeseries from different sources

@intarga intarga added the enhancement New feature or request label Jan 7, 2025
@intarga intarga added this to the Beta Release milestone Jan 7, 2025
@ketilt
Copy link
Collaborator

ketilt commented Jan 7, 2025

I could probably do this. Would this make more sense as an integral part of LARD, or located somewhere else in the architecture?

@intarga
Copy link
Member Author

intarga commented Jan 8, 2025

I think it makes sense to do this in the ingestor (though isolated enough that we can break it out later), since that already runs an HTTP server and has a database connection pool.

I suggest breaking down the task like so:

  • Informally set out the algorithm for reconciliation on paper, defining a priority order for the data sources
  • Write a SQL query that finds reconciliation candidates, and another that resolves them
  • Design a web UI
  • Write some plumbing handler functions in the ingestor to connect the web UI to the queries
  • Write some test cases to ensure this works as expected

Please reach out for help at any point, I imagine especially that tasks 4 and 5 will go a lot smoother with some help from Manuel or I. We can also probably offer useful insight on the structure of the tables for task 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants