Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#657 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
backend

調査の方向性

app/logic/allocation_utilization.py と、PR #654 で追加された Department Portal Allocation カードから始めます。公式の共有 allocation-utilization サービスを特定し、どの Labor Status Forms が使用済みとしてカウントされるかを確認します。割り当てられたポジション、時間バケット、使用済みポジション、休憩時間を含め、オープンな学期について共有サービスが返す値をカバーするように統合テストを更新します。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
1
フォーク
1
平均マージ
2時間 57分
マージ済み PR(30日)
1

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BCStudentSoftwareDevTeam/lsf のほかの issue

BCStudentSoftwareDevTeam/lsf の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。