simonsobs / simonsobs/librarian

Special function or return value for if entire Libarians are down

Open
#147 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3
Forks
0
Avg merge
10d 21h
Merged PRs (30d)
1

Description

Feature request for data packaging:

When we're doing level2-cleanup we go through a whole bunch of loops over books calling this function: https://github.com/simonsobs/sotodlib/blob/af7c733fb3559f692df07b0cac71ce1011bc787d/sotodlib/io/imprinter.py#L1793

But, checking while the LAT cleanup looks like it's hanging, if one of the librarians is down this loop takes forever and goes no-where. Could we get some sort of higher level response of "just stop bothering to check right now" ??

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 reading the function linked in sotodlib/io/imprinter.py at line 1793 and trace how level2-cleanup handles its result while iterating over books. Define the higher-level response for the case where a librarian is unavailable, then verify that the cleanup loop can recognize the all-librarians-down condition and stop checking.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.