Skip to content

Improve difficulty parsing and update commit messages - #25

Open
arshsaxena wants to merge 1 commit into
AtharvaNanavate:mainfrom
arshsaxena:main
Open

Improve difficulty parsing and update commit messages#25
arshsaxena wants to merge 1 commit into
AtharvaNanavate:mainfrom
arshsaxena:main

Conversation

@arshsaxena

Copy link
Copy Markdown
  • Clean Difficulty Levels: Strips out "Difficulty Level : " prefixes from parsed difficulties and README files.
  • Custom Commit Messages: Updated commit messages to include the problem name (e.g., Added Solution for {ProblemName} - GfG to GitHub).

Improves `scripts/geeksForGeeks.js` reliability by adding null-safe DOM access, preventing crashes when expected elements are missing, and safely handling empty `userStatistics`. It also fixes difficulty tracking by using the normalized `problemDifficulty` value, cleans up title/difficulty extraction, and updates commit messages to include problem names for clearer GitHub history.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant