Base
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
ファイルやテストが指定されていないため、まず Issue にリンクされている availability-ranges の例と、Repository に既に存在するエントリーポイントを確認してください。現在の範囲ベースのアプローチと、提案されているスロットベースのブールビットマップを比較してください。ブロックされたスペースと複数の可用性マップを表現してクエリでき、想定されるエッジケースがカバーされれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Here's the basic algorithm .
Problem
- Availability ranges are based off of a simple single element array which is then modified to handle the areas that have been booked or blocked.
- These areas are not accessible anymore and thus cannot be locked again.
A simple implementation of the above can be found here
https://snips.reaper.im/snippets/availability-ranges.html
Obviously the above has quite a few cases which aren't handled and the space and time complexity of the above is off the charts for something so simple.
Possible Solution
- Construct the range based on a given number of slots, example a 24 hour availability would add up to be a 1440 slots each pointing to 1 minute
- each slot acts as a boolean point of whether blocked or not.
- you can then create multiple such bitmaps to handle blocking of multiple spaces and this could be a much faster way to find based on the keying logic, so then you can use the key to find the last booked point in the bitmap and also more flexible since the slots actually have no other meaning, thus being a little more generic
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
bcgov/bc-wallet-mobile#4761 · コメント 1 件 ·
-
external-issue to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100