BCStudentSoftwareDevTeam / BCStudentSoftwareDevTeam/lsf

Replace department-portal allocation summary with the shared allocation-utilization service

Aperta
#657 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Background

PR #654 adds an Allocation card to the Department Portal. The card currently uses `app/logic/allocation_utilization.py` as a temporary local calculation layer while the official shared allocation-utilization service is being developed.

## Work needed

- Replace the calculations in `app/logic/allocation_utilization.py` with calls to the official shared service.
- Preserve the values required by the Department Portal: total allocated positions, usage by primary/secondary hour bucket, total used positions, and break hours used.
- Confirm which Labor Status Forms should count as used.
- Add or update integration tests.

## Acceptance criteria

- The Department Portal does not contain its own allocation-utilization query logic.
- `allocation_utilization.py` delegates to the official shared service.
- The Allocation card displays correct values for the open term.
- Tests cover the shared-service integration.

## Related work

- Parent feature: PR #654
- Temporary implementation: `app/logic/allocation_utilization.py`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da app/logic/allocation_utilization.py e dalla scheda Department Portal Allocation aggiunta da PR #654. Identifica il servizio condiviso ufficiale di allocation-utilization e conferma quali Labor Status Forms vengono conteggiati come utilizzati. Aggiorna i test di integrazione per coprire i valori del servizio condiviso per il periodo aperto, inclusi le posizioni allocate, i blocchi orari, le posizioni utilizzate e le ore di pausa.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.