Skip to content

Bug: Incorrect Parsing of Classes on Tuesday for Certain Weekly Patterns #62

@ritgit24

Description

@ritgit24

Description

There is an issue in the class-parsing logic where classes scheduled on Tuesday are incorrectly parsed when a course follows a Tuesday and not Thursday schedule.

This issue typically occurs when:

  • A course has classes on Tuesday but not on Thursday

For eg. For a course with lectures on Tuesday and Friday , The time Table shows the class to be on Friday only.

As a result, the Tuesday class is either misparsed or omitted during the weekday parsing stage.


Expected Behavior

Classes scheduled on Tuesday should be correctly parsed and assigned to Tuesday, regardless of whether the course includes a class on Thursday or any other weekday.


Cause

  • This fault is not related to data fetching from Pingala
  • The data is fetched correctly
  • The fault lies in the post-fetch parsing logic, specifically in how classes are mapped or inferred across different weekdays

Metadata

Metadata

Assignees

Labels

WOCWinter of CodebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions