Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 22s
PR Checklist / pr-checklist (pull_request) Failing after 3m23s
Smoke Test / smoke (pull_request) Failing after 22s
Validate Config / YAML Lint (pull_request) Failing after 16s
Validate Config / JSON Validate (pull_request) Successful in 16s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 1m6s
Validate Config / Shell Script Lint (pull_request) Failing after 37s
Validate Config / Cron Syntax Check (pull_request) Successful in 9s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 10s
Validate Config / Playbook Schema Validation (pull_request) Successful in 24s
Architecture Lint / Lint Repository (pull_request) Has been cancelled
Validate Config / Python Test Suite (pull_request) Has been cancelled
13 lines
467 B
Python
13 lines
467 B
Python
#!/usr/bin/env python3
|
|
import json
|
|
from hermes_tools import browser_navigate, browser_vision
|
|
|
|
def review_pr():
|
|
analysis = browser_vision(
|
|
question="Compare the two provided screenshots of the UI. Does the 'After' match the design spec? List all discrepancies. Provide a PASS/FAIL."
|
|
)
|
|
return {"status": "PASS" if "PASS" in analysis.upper() else "FAIL", "analysis": analysis}
|
|
|
|
if __name__ == '__main__':
|
|
print(json.dumps(review_pr(), indent=2))
|