Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
a2ea8b9
add example criteria to folder
wip-abramson Nov 6, 2025
69367f9
first pass at rendering did-rubric from JSON files
wip-abramson Dec 12, 2025
ea33229
refactor rubric template to list ids for criteria
wip-abramson Dec 15, 2025
81e0aca
add full set of merged criteria to rubric
wip-abramson Dec 17, 2025
97a7585
removing old index.html
wip-abramson Dec 17, 2025
0aea806
working on adding build of rubric to workflow
wip-abramson Dec 17, 2025
2a76a1c
add tooling to validate the rubric template and criteria
wip-abramson Jan 5, 2026
79092e6
update rubric criteria to satify validation
wip-abramson Jan 5, 2026
70008d8
remove node modules
wip-abramson Jan 5, 2026
0c4ee9a
fix bug in criteria
wip-abramson Jan 5, 2026
9c8d517
added rubric.js as script element and changed from FPWD-NOTE to NOTE
jandrieu Jan 6, 2026
0a4f9f2
changed rubric generation output filename to rubric.js
jandrieu Jan 6, 2026
34d9fa8
changed output to get a valid javascript file that sets up the variab…
jandrieu Jan 6, 2026
099d4da
changed loading to use static variable rubricJson
jandrieu Jan 6, 2026
132a7c7
added .history and rubric.js to .ignore, removing rubric.json
jandrieu Jan 6, 2026
4e1d1ef
update yml validation
wip-abramson Jan 6, 2026
7ae527c
renamed common.js to utils.js
wip-abramson Jan 7, 2026
400528e
add pr_preview workflow action
wip-abramson Jan 7, 2026
55a06f7
add environment to pr-preview job
wip-abramson Jan 7, 2026
419e219
add check to see if rubricJson var is defined
wip-abramson Jan 7, 2026
4aa52c2
refacter renderCriteria to always use exampleAssessments
wip-abramson Jan 7, 2026
13a4dd3
prevent undefined when no exampleAssessments present
wip-abramson Jan 7, 2026
8ee4adf
remove pr preview github workflow
wip-abramson Jan 7, 2026
180a613
add v to emphasise version
wip-abramson Jan 7, 2026
f839abe
remove console.logs from render script
wip-abramson Jan 9, 2026
b8d2f96
add workflow to deploy github pages with additional required files
wip-abramson Jan 12, 2026
9e4b5f7
update rendering script to add evaluation citation link
wip-abramson Jan 15, 2026
de6e067
Update set of evaluations cited
wip-abramson Jan 15, 2026
ecbc4e8
add evaluationCriteria as required for assessments
wip-abramson Jan 15, 2026
8bc8a80
remove structureCriteriaId from criteria 38
wip-abramson Jan 16, 2026
ae1ef29
remove unnecessary w3cId field
wip-abramson Jan 16, 2026
cca108b
update criteria to reference specific criteriaId, not e.g. 1.3
wip-abramson Jan 16, 2026
dd240e0
bump down eval citation reference to account for remove of eval-3
wip-abramson Jan 16, 2026
30e54b1
remove uncited eval-3 and bump up evals-4 to 6
wip-abramson Jan 16, 2026
72d9bef
remove w3cId and structureCriteriaId from the yml schema
wip-abramson Jan 16, 2026
130b185
bump rubric to v2.0
wip-abramson Jan 19, 2026
b05d21f
remove structureCriteriaId from criteria
wip-abramson Jan 19, 2026
78209f4
rename rubric-template to rubric-outline
wip-abramson Jan 19, 2026
865dc33
update rubric-template name to rubric outline in tooling
wip-abramson Jan 19, 2026
0c365bf
refactor tooling files into a src folder for better structure
wip-abramson Jan 19, 2026
38d6487
make sure src is rendered
wip-abramson Jan 19, 2026
25b3061
refactor render criteria to not render empty sections
wip-abramson Jan 19, 2026
2fe0e03
generate possible responses using labels not autogenerated
wip-abramson Jan 19, 2026
7e8ae78
fix build flow to match updated tooling folder
wip-abramson Jan 19, 2026
0ed323e
per branch deploy workflow
wip-abramson Jan 20, 2026
a1d28fb
update readme with instructions to generate rubric
wip-abramson Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,26 @@ on:
jobs:
main:
name: Build, Validate and Deploy
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: w3c/spec-prod@v2
- name: Checkout source...
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install did-rubric tooling...
working-directory: tooling
run: npm i
- name: Validate did-rubric template and criteria
working-directory: tooling
run: npm run validate-rubric
- name: Generate did rubric JSON from template and criteria
working-directory: tooling
run: npm run generate-rubric
- name: Begin W3C Spec Prod Deployment
if: github.event_name == 'push'
uses: w3c/spec-prod@v2
with:
W3C_ECHIDNA_TOKEN: ${{ secrets.W3C_TR_TOKEN }}
W3C_WG_DECISION_URL: https://www.w3.org/2019/did-wg/Meetings/Minutes/2021-08-17-did#resolution2
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy GitHub Pages
on:
push:
branches:
- "**"
workflow_dispatch: {}

permissions:
contents: write

jobs:
build:
name: Build and Deploy Pages
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
- name: Install tooling dependencies
working-directory: tooling
run: npm i
- name: Validate rubric
working-directory: tooling
run: npm run validate-rubric
- name: Generate rubric JS
working-directory: tooling
run: npm run generate-rubric
- name: Prepare site bundle
run: |
mkdir -p site/rubric site/tooling/src
cp index.html common.js site/
cp rubric/rubric.js site/rubric/
cp tooling/src/render-criteria.js site/tooling/src/
- name: Select deploy target folder
id: deploy_target
run: |
if [ "${{ github.ref_name }}" = "main" ]; then
echo "target=" >> "$GITHUB_OUTPUT"
else
echo "target=${{ github.ref_name }}" >> "$GITHUB_OUTPUT"
fi
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: site
target-folder: ${{ steps.deploy_target.outputs.target }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.idea
.history
rubric/rubric.js
node_modules/
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@

This is the repository of the W3C’s note on DID Method Rubric v1.0, developed by the [DID Working Group](https://www.w3.org/2019/did-wg/). The editors’ draft of the specification can also be [read directly](https://w3c.github.io/did-rubric/).

## Generate the DID Rubric from JSON

Follow these steps to generate the DID Rubric `rubric.js` file from the
`rubric-outline.json` and `criteria` under the `rubric` folder.

1. `cd tooling`
2. `npm install`
3. `npm run validate-rubric`
4. `npm run generate-rubric`
5. Open the `index.html` file in browser


## Contributing to the Repository

Use the standard fork, branch, and pull request workflow to propose changes to the specification. Please make branch names informative—by including the issue or bug number for example.
Expand All @@ -25,3 +37,4 @@ W3C functions under a [code of conduct](https://www.w3.org/Consortium/cepc/).
* [W3C Decentralized Characteristics Rubric v1.0](https://github.com/w3c/did-rubric)
* [Decentralized Identifier Use Cases v1.0](https://github.com/w3c/did-use-cases)
* [W3C DID Test Suite and Implementation Report](https://github.com/w3c/did-test-suite)

Loading