Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Time Between Classes] Skip untimed meetings in minimum-gap checks

Aperta
#782 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
75/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
testing

Direzione di ricerca

Start with src/lib/generation/rules/minGap.test.ts and the existing src/lib/generation/gapMinutes.test.ts pattern; run tests through generateSchedules with minGapMinutes set. Check the date range helpers in src/lib/generation/noConflicts.ts for mixed term parts, and wait for or pull in #781 before running these cases. Add one named test for each listed edge case, make any needed small fix in minGap.ts, and run pnpm test to confirm they pass.

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

Descrizione

Algorithm time-gaps

What to build

Check that a class with an unknown meeting time does not wrongly eliminate a schedule. Add a focused schedule-generation test with one timed meeting and one untimed meeting.

Files

Steps

  1. Extend the minGap rule suite introduced by the prerequisite, reusing its Section test example builder.
  2. Construct exactly the scenario below and run through generateSchedules, not a copied check.
  3. Assert accepted/rejected outcome and keep the always-on conflict test examples valid.

Example

One timed pair with a 20-minute gap plus an untimed meeting; minimum15 still accepts.

Check it works

In src/lib/generation/rules/minGap.test.test.ts, check the example above and the failure or limit described in the steps. Run pnpm test -- src/lib/generation/rules/minGap.test.test.ts, pnpm lint and pnpm typecheck.

Before starting

  • #817 — Register the minimum-gap rule

References

Assign yourself before starting, or comment to claim the issue. Project setup.

Lingua principale
TypeScript
Stelle
19
Fork
94
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DevDogsUGA/DogDays

Tutte le issue di DevDogsUGA/DogDays

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.