-
Notifications
You must be signed in to change notification settings - Fork 3
Implement copilot quality alt #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4ad74ec
Add deps and config for alt-text-quality rule
kzhou314 7681fd9
Add alt-text judge provider seam (Copilot + Azure-augmented)
kzhou314 27e00a0
Extend image extraction with structured context fields
kzhou314 3c7124c
Add alt-text-quality rule (default disabled)
kzhou314 1959031
Update tests and add alt-quality fixture
kzhou314 b863e95
Add offline probe harness
kzhou314 d7e1296
Add GitHub-representative alt-text-quality fixture
kzhou314 ad639e0
Refine Azure preamble and clarify NotImplemented vision client
kzhou314 947e05c
Skip Azure pre-pass for images 50px or smaller
kzhou314 7893ded
Pass intrinsic image dimensions through probe
kzhou314 436f64d
Trim verbose comments in Azure vision client
kzhou314 c9c5ee3
Auto-select azure-augmented mode when Azure creds present
kzhou314 6c6663c
Document alt-text-quality rule in README
kzhou314 c7d7d44
Add timeout and retry to model and vision requests
kzhou314 9c8cb38
Add alt-text-quality to config schema
kzhou314 b3e26c6
Add unit tests for alt-text-quality rule
kzhou314 6560deb
Pass page title and section heading to the judge
kzhou314 794ea25
Add judgment and vision-extraction caches to the judge layer
kzhou314 dcaa504
Address Copilot review: fetch timeout for images, data URL normalizat…
kzhou314 fc806c1
Address Copilot review: sanitize image HTML, widen data URL regex, dr…
kzhou314 5ae4bc1
Trim verbose comments; simplify image extraction
kzhou314 a2990e8
Add redactUrl function to sanitize URLs
taarikashenafi af413d2
Redact URLs in error messages for security
taarikashenafi 1be1ef4
Add unit tests for redactUrl function
taarikashenafi 5bfdaa3
Scrub query/fragment from error messages; add href redaction test
taarikashenafi c3b9a46
Use redactUrl directly on error message instead of inline regex
taarikashenafi 21ac70e
Merge pull request #45 from github/redact-urls-alt-text-quality
taarikashenafi 1d9fdd8
Wording clarifications
kzhou314 c813752
Handle invalid cases JSON, log case errors to stderr, and clarify env…
kzhou314 f8166ae
Redact page URL before adding it to the model context
kzhou314 7abca73
Merge origin/main into implement-copilot-quality-alt
Copilot 0a7b999
Rename extract/probe modules for clarity
kzhou314 e611237
Clarify intrinsicSize docs and trim grade header spacing
kzhou314 d9b052d
Clarify variables in grade-alt-text-quality
kzhou314 4f6c99d
Fix grade loop var, split verdict schema, link Azure docs
kzhou314 7a77e0d
Rename inLink to linkContext, MAX_IMAGE_HTML_LENGTH, switch verdictTo…
kzhou314 38d6240
Convert judge classes to functional factories
kzhou314 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,3 +4,4 @@ coverage/ | |
| .vitest/ | ||
| *.log | ||
| .DS_Store | ||
| .env | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.