Skip to content

Refactor observation statistics processing and discard recent observations without telemetry#208

Open
javierggt wants to merge 17 commits into
masterfrom
obs-stat-refactor
Open

Refactor observation statistics processing and discard recent observations without telemetry#208
javierggt wants to merge 17 commits into
masterfrom
obs-stat-refactor

Conversation

@javierggt
Copy link
Copy Markdown
Contributor

@javierggt javierggt commented Mar 20, 2026

Description

This PR refactors the way obs-stats are calculated to disentangle it from the agasc_stats (the supplement is based on stars, so the processing did not allow direct processing of observations independently).

After that, I fixed a few issues:

  • Recent observations without telemetry are discarded before trying to process them. With this change, recent observations without telemetry should not show up in any warning in any report.
  • Added descriptions for the sections in the supplement report.

Interface impacts

Testing

Unit tests

  • No unit tests
  • Mac
  • Linux
  • Windows

Independent check of unit tests by [REVIEWER NAME]

  • [PLATFORM]:

Functional tests

Running weekly update in test environment. Output:

@taldcroft
Copy link
Copy Markdown
Member

What's happening on this?

@javierggt
Copy link
Copy Markdown
Contributor Author

If you check the output you will see that this PR is ok as far as labeling "no-telemetry" observations, but every once in a while there are observations that fail with an unspecified error (like this). On Wednesday I tried, and got no error processing those failed observations, so I don't know why they failed. I added some debug output to check on Monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants