Skip to content

[FEAT] Add Hint Progression Mode for Guided Problem Solving#130

Open
suryansh24-coder wants to merge 5 commits into
vanshaggarwal27:mainfrom
suryansh24-coder:feat/hint-progression-mode
Open

[FEAT] Add Hint Progression Mode for Guided Problem Solving#130
suryansh24-coder wants to merge 5 commits into
vanshaggarwal27:mainfrom
suryansh24-coder:feat/hint-progression-mode

Conversation

@suryansh24-coder

Copy link
Copy Markdown

Description

Implemented the initial version of Hint Progression Mode for guided problem solving in LeetLog AI.

Changes Made

  • Added HintRequest model for hint generation requests.

  • Added new /generate-hint API endpoint in the backend.

  • Implemented generate_hint() function using Gemini AI.

  • Added Hint Progression UI in the extension popup.

  • Added support for:

    • 💡 Hint 1 (Direction Hint)
    • 🧩 Hint 2 (Data Structure Hint)
    • 🧠 Hint 3 (Logic Breakdown)
    • ⚡ Hint 4 (Pseudocode Assistance)
    • 🖥️ Show Solution
  • Connected popup, background script, and backend API for hint generation.

  • Added hint response display area in the popup UI.

Related Issue

Fixes #104

Type of Change

  • Bug fix
  • New feature
  • Documentation update

Checklist

  • My code follows project guidelines
  • I have tested my changes
  • Documentation updated if needed

@suryansh24-coder

Copy link
Copy Markdown
Author

Hi @vanshaggarwal27,

I have implemented the initial version of the Hint Progression Mode for guided problem solving as discussed in Issue #104.

Implemented Features

  • Added Hint Progression UI in the extension popup.

  • Added support for:

    • 💡 Direction Hint
    • 🧩 Data Structure Hint
    • 🧠 Logic Breakdown
    • ⚡ Pseudocode Assistance
    • 🖥️ Show Solution
  • Added backend /generate-hint API endpoint.

  • Integrated AI-powered hint generation flow.

  • Connected popup → background script → backend communication pipeline.

I would appreciate your review and feedback on the implementation. If there are any changes required to better align with the project vision or issue requirements, I’d be happy to make them.

Thank you for your time and guidance.

@suryansh24-coder

Copy link
Copy Markdown
Author

@vanshaggarwal27
Review request

@vanshaggarwal27

Copy link
Copy Markdown
Owner

Please make sure all lint test are passed

@suryansh24-coder

Copy link
Copy Markdown
Author

@vanshaggarwal27 Sure sir , making changes ASAP !!

@suryansh24-coder

Copy link
Copy Markdown
Author

@vanshaggarwal27
Sir please check and guide me once if any further changes too required.

@vanshaggarwal27

Copy link
Copy Markdown
Owner

Please resolve merge conflict and make sure Lint error are fixed along. Also, check pytests are passed.

@vanshaggarwal27

Copy link
Copy Markdown
Owner

Please fix lint error as they are failing

@suryansh24-coder

Copy link
Copy Markdown
Author

@vanshaggarwal27 Fixed all the errors and merge conflict as well please merge the PR

@vanshaggarwal27

Copy link
Copy Markdown
Owner

Lint test are still failing, please fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

# 🧠 Feature Request: Add “Hint Progression Mode” for Guided Problem Solving

2 participants