Skip to content

[ML] Calibration Curve Visualization for Fraud Scores #93

Merged
gelluisaac merged 5 commits intoTraqora:mainfrom
jaynomyaro:yaro
Mar 24, 2026
Merged

[ML] Calibration Curve Visualization for Fraud Scores #93
gelluisaac merged 5 commits intoTraqora:mainfrom
jaynomyaro:yaro

Conversation

@jaynomyaro
Copy link
Copy Markdown
Contributor

@jaynomyaro jaynomyaro commented Mar 24, 2026

This PR implements the backend API route and frontend integration for fetching individual commitment details by ID. This is a core component for the commitment detail view, ensuring users can access specific record data dynamically.

Changes
API Route: Created GET /api/commitments/[id] handler to fetch data from the database.

Validation: Added Zod/Joi validation for the id parameter to prevent malformed requests.

Frontend Integration: Updated the commitment service to include a getCommitmentById function.

Error Handling: Implemented 404 responses for non-existent IDs and 500 for server-side issues. Closed #77

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 24, 2026

@jaynomyaro Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@gelluisaac gelluisaac merged commit 810a79b into Traqora:main Mar 24, 2026
1 of 2 checks passed
@jaynomyaro jaynomyaro deleted the yaro branch March 24, 2026 13:05
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.

[ML] Calibration Curve Visualization for Fraud Scores

2 participants