Skip to content

Integrate validation with reviewer#44

Merged
jalsayid merged 8 commits intomasterfrom
y/reviewer-validation-integration
Jul 29, 2025
Merged

Integrate validation with reviewer#44
jalsayid merged 8 commits intomasterfrom
y/reviewer-validation-integration

Conversation

@ynx0
Copy link
Copy Markdown
Owner

@ynx0 ynx0 commented Jul 29, 2025

Description

This PR integrates the reviewer page frontend with the validation pipeline.
It also makes the per-guideline delete button real.
It also makes the blueprint selector real.

What to Test

  1. Go into an employee view
  2. Upload the 2d-floor-plan.jpg (it's the only one we've tested that works with r2g)
  3. Find the reviewer that was assigned that case
  4. Log in as the reviewer and select the appropriate blueprint id
  5. Click on "Run AI Validation"
  6. See that new violations appear (just guideline id 2) (also check violations table)
  7. Observe that in cases, ai_decision has been updated
  8. Click delete button.
  9. Observe that in violations table, all instances of that guideline are deleted

@ynx0 ynx0 marked this pull request as ready for review July 29, 2025 11:31
ynx0 and others added 3 commits July 29, 2025 15:17
- when the case is fresh and the AI validation button hasn't been selected
  we will still have no associated violations. however, we would show that as a postiive thing even though really the checks haven't run
  so we make the text more neutral. the proper solution would be to check ai_descision
Base automatically changed from y/email-integrate to master July 29, 2025 16:18
Copy link
Copy Markdown
Collaborator

@jalsayid jalsayid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! and the email service is very quick 👍

@jalsayid jalsayid merged commit 83dfdf5 into master Jul 29, 2025
@jalsayid jalsayid deleted the y/reviewer-validation-integration branch July 29, 2025 16:30
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.

2 participants