matiasandina / matiasandina/uid_python_api

End of session summary has a range bug

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

A session would display something like

============================================================
Session Summary
------------------------------------------------------------
  Total readings received: 114055
  Total errors: 0
  Animals tracked: 2
  Parser success rate: 8.3%
  Avg temperature: 37.19°C
  Temp range: 36.79°C - 37.60°C
============================================================

When animals went way below and above that range. It could be related to multiple day recordings in which the range is only given on the current day (hence morning ending of the session gives this very narrow range)

Contributor guide

No contributing guide indexed for this repository

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 reproducing the session summary with a multi-day recording and trace how the temperature range is calculated at session end. Confirm that the range covers all readings in the session, including values from earlier days, and verify the corrected summary output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.