Repository navigation
feat(essay): add accessible standalone score report HTML #521
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 7 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
385cd74
feat(essay): add accessible standalone score report renderer
seonghobae 0ca0e54
feat(essay): export standalone report renderer
seonghobae 725741b
test(essay): cover standalone score report renderer
seonghobae 15b80c4
test(essay): verify standalone report export
seonghobae e432180
docs(essay): document accessible standalone report artifact
seonghobae bde53fe
docs(changelog): add standalone essay report artifact
seonghobae 95e4e91
chore: apply one-time report HTML synchronization
seonghobae 74d09ee
chore: trigger one-time report HTML synchronization
seonghobae 3ffe92b
chore: enable PR-triggered report HTML synchronization
seonghobae 0f98f45
docs(changelog): fix essay report fragment structure
seonghobae bc9e2cf
test(essay): synchronize report HTML public surface
github-actions[bot] d1bf739
chore: retry report HTML synchronization
seonghobae 1702e09
chore: remove completed report HTML synchronizer
seonghobae 0681b49
style(essay): remove unused report renderer import
seonghobae e527ba8
style(essay): normalize report renderer imports
seonghobae 8a01edd
chore: apply essay report HTML review fixes
seonghobae 83fa206
fix(essay): validate standalone report titles
github-actions[bot] 6ee89ba
chore: harden essay report review fixer
seonghobae 399765c
chore: trigger essay report review fixes
seonghobae 58a2e2d
fix(essay): validate standalone report titles
github-actions[bot] be6cda1
chore: deduplicate essay report title validation
seonghobae 4f64705
fix(essay): deduplicate report title validation
seonghobae 506242d
chore: remove completed title deduplication workflow
seonghobae 0aa2e39
chore: synchronize essay HTML branch with main once
seonghobae e35a496
merge: synchronize essay HTML report with main
github-actions[bot] fa78e88
docs(essay): distinguish score and calibration reports
seonghobae 5e97acf
test(essay): keep report validation cases reviewable
seonghobae 0156bbd
test(essay): normalize report renderer validation formatting
seonghobae 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| name: One-time essay report HTML synchronization | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - feat/essay-score-report-html | ||
| paths: | ||
| - .github/workflows/one-time-essay-report-html-sync.yml | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| concurrency: | ||
| group: one-time-essay-report-html-sync-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| synchronize-contracts: | ||
| if: github.actor != 'github-actions[bot]' | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
| steps: | ||
| - name: Check out exact feature branch | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | ||
| with: | ||
| ref: ${{ github.ref_name }} | ||
| fetch-depth: 0 | ||
| - name: Synchronize the established public-surface contract | ||
| run: | | ||
| python - <<'PY' | ||
| from pathlib import Path | ||
|
|
||
| path = Path("tests/test_scoring_essay_contracts.py") | ||
| content = path.read_text(encoding="utf-8") | ||
| old = ''' "build_essay_submission", | ||
| "score_essay_request",''' | ||
| new = ''' "build_essay_submission", | ||
| "render_essay_score_report_html", | ||
| "score_essay_request",''' | ||
| if content.count(old) != 1: | ||
| raise RuntimeError("expected exactly one essay public-surface block") | ||
| path.write_text(content.replace(old, new), encoding="utf-8") | ||
| PY | ||
| - name: Render and verify authoritative changelog | ||
| run: | | ||
| python scripts/render_changelog_fragments.py --update CHANGELOG.md | ||
| python scripts/render_changelog_fragments.py --check CHANGELOG.md | ||
| - name: Commit synchronization and remove this workflow | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git rm .github/workflows/one-time-essay-report-html-sync.yml | ||
| git add tests/test_scoring_essay_contracts.py CHANGELOG.md | ||
| git commit -m "test(essay): synchronize report HTML public surface" | ||
| git push origin "HEAD:${GITHUB_REF_NAME}" | ||
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ### Added | ||
|
|
||
| #### Accessible standalone essay score report artifacts | ||
|
github-actions[bot] marked this conversation as resolved.
Outdated
|
||
|
|
||
| - Added `render_essay_score_report_html`, which replay-verifies one governed `EssayScoreReport` and emits a deterministic, source-text-free, script-free standalone HTML audit artifact. | ||
| - The artifact exposes exact report, assessment, rubric, task-revision, engine, request, result, observation, criterion, trigger, and evidence-reference identities through semantic landmarks, keyboard-accessible exact-value tables, and canonical JSON. | ||
| - A restrictive meta-delivered Content Security Policy and output encoding reduce content-injection impact. Review routing remains an audit signal only and does not establish scoring validity, fairness, reliability, interchangeability, accessibility conformance, security certification, or authorization for consequential deployment. | ||
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.
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.