package com.pharmacopoeia.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/api/v1/exam/progress")
public class ExamProgressController {

    @GetMapping("/summary")
    public ResponseEntity<Map<String, Object>> getProgressSummary() {
        return ResponseEntity.ok(Map.of(
                "total_questions_answered", 0,
                "correct_rate", 0.0,
                "study_streak_days", 0,
                "total_study_minutes", 0,
                "weak_subjects", List.of(),
                "recommendations", List.of()
        ));
    }

    @GetMapping("/chapters")
    public ResponseEntity<Map<String, Object>> getChapterProgress() {
        return ResponseEntity.ok(Map.of("chapters", List.of()));
    }
}
