Skip to content

Commit

Permalink
Rename decision tree to beslishulp
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Nov 29, 2024
1 parent fc97dd0 commit 3158ebf
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

env:
REGISTRY: ghcr.io
IMAGE_NAME: "minbzk/ai-act-beslishulp"
IMAGE_NAME: "minbzk/ai-verordening-beslishulp"

jobs:
build:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Get GHCR package hash
id: get_package_hash
run: |
container_id=$(gh api --paginate -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /orgs/MinBZK/packages/container/ai-act-beslishulp/versions | jq -r '.[] | select(.metadata.container.tags | contains(["main"])) | .name')
container_id=$(gh api --paginate -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /orgs/MinBZK/packages/container/ai-verordening-beslishulp/versions | jq -r '.[] | select(.metadata.container.tags | contains(["main"])) | .name')
echo "container_id=$container_id" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -43,16 +43,16 @@ jobs:
- name: Make changes to the file
run: |
sed -i 's/newTag: .*$/newTag: main@${{ steps.get_package_hash.outputs.container_id }}/g' apps/ai-act-beslishulp/sandbox/kustomization.yaml
sed -i 's|minbzk.github.io/version: .*$|minbzk.github.io/version: main|g' apps/ai-act-beslishulp/sandbox/kustomization.yaml
git add apps/ai-act-beslishulp/sandbox/kustomization.yaml
sed -i 's/newTag: .*$/newTag: main@${{ steps.get_package_hash.outputs.container_id }}/g' apps/ai-verordening-beslishulp/sandbox/kustomization.yaml
sed -i 's|minbzk.github.io/version: .*$|minbzk.github.io/version: main|g' apps/ai-verordening-beslishulp/sandbox/kustomization.yaml
git add apps/ai-verordening-beslishulp/sandbox/kustomization.yaml
- name: show changes
run: git diff --staged

- name: push changes
run: |
git commit -m "Update ai-act-beslishulp sandbox tag ${{ steps.get_package_hash.outputs.container_id }}"
git commit -m "Update ai-verordening-beslishulp sandbox tag ${{ steps.get_package_hash.outputs.container_id }}"
git push --force-with-lease
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

Voor vragen of opmerkingen over de beslishulp mail je naar: [[email protected]](mailto::[email protected]).

# AI-act-beslishulp
# AI-Verordening-Beslishulp

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/MinBZK/ai-act-decisiontree/main.svg?badge_token=d3dKEK97RwC1II15_W-nng)](https://results.pre-commit.ci/latest/github/MinBZK/ai-act-decisiontree/main?badge_token=d3dKEK97RwC1II15_W-nng)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/MinBZK/ai-verordening-beslishulp/main.svg?badge_token=d3dKEK97RwC1II15_W-nng)](https://results.pre-commit.ci/latest/github/MinBZK/ai-verordening-beslishulp/main?badge_token=d3dKEK97RwC1II15_W-nng)

Deze git repository bevat de beslishulp op basis van de AI Verordening.
Het AI-validatie Team heeft deze tool ontwikkeld, maar is niet verantwoordelijk voor de juridische inhoud van de beslishulp. Voor meer informatie over het AI Validatie Team, bezoek de [site van het AI-validatieteam](https://minbzk.github.io/ai-validation/). Voor vragen over de juridische inhoud, neem contact op met de experts via [email protected].
Expand All @@ -22,7 +22,7 @@ Het project omvat de volgende 2 onderdelen:
1. De beslishulp: [decision-tree.yaml](decision-tree.yaml)
2. Een frontend voor de visualisatie van de beslishulp: [frontend](frontend/)

De Kubernetes deployment code staat bij [infra](https://github.com/MinBZK/ai-validation-infra/apps/ai-act-beslishulp)
De Kubernetes deployment code staat bij [infra](https://github.com/MinBZK/ai-validation-infra/apps/ai-verordening-beslishulp)

Door deze beslishulp te doorlopen, krijgt uw organisatie inzicht in de volgende vragen:

Expand Down Expand Up @@ -82,7 +82,7 @@ Naast de beslishulp is er ook een [definitions.yaml](definitions.yaml) bestand.

De beslishulp is schematisch weergegeven verschillende diagrammen:

1. [een doorklikbaar diagram](https://minbzk.github.io/ai-act-decisiontree/mermaid_graphs/decision-tree-main.html): in dit diagram is de beslishulp op een versimpelde manier weergeven. Dit diagram bevat de volgende componenten:
1. [een doorklikbaar diagram](https://minbzk.github.io/ai-verordening-beslishulp/mermaid_graphs/decision-tree-main.html): in dit diagram is de beslishulp op een versimpelde manier weergeven. Dit diagram bevat de volgende componenten:

- donkerblauwe rechthoeken: dit zijn doorklikbare componenten die doorverwijzen naar een volgende categorie uit de beslishulp.
- lichtblauwe rechthoeken: dit zijn de 'labels' uit de beslishulp. De labels geven de karakteristieken die u door de beslishulp te doorlopen kunt verzamelen weer.
Expand All @@ -91,14 +91,14 @@ De beslishulp is schematisch weergegeven verschillende diagrammen:

U kunt terug naar het vorige diagram door de vorige pagina-knop in uw browser te gebruiken.

2. een [overzichtsdiagram](https://minbzk.github.io/ai-act-decisiontree/mermaid_graphs/decision-tree-complete.html): in dit diagram is de gehele beslishulp gevat. Dit diagram is niet doorklikbaar. De vragen zijn gegroepeerd categorieen, weergeven in witte rechthoeken met groene randen.
2. een [overzichtsdiagram](https://minbzk.github.io/ai-verordening-beslishulp/mermaid_graphs/decision-tree-complete.html): in dit diagram is de gehele beslishulp gevat. Dit diagram is niet doorklikbaar. De vragen zijn gegroepeerd categorieen, weergeven in witte rechthoeken met groene randen.

Let op: de diagrammen kunnen het beste in Chrome, Safari of Microsoft Edge worden geopend.


## Frontend

Om door de beslishulp te lopen is een visualizatie tool gemaakt. Met deze tool kunt u door de vragen lopen. De frontend is beschikbaar op deze [website](https://ai-act-decisiontree.apps.digilab.network).
Om door de beslishulp te lopen is een visualizatie tool gemaakt. Met deze tool kunt u door de vragen lopen. De frontend is beschikbaar op deze [website](https://ai-verordening-beslishulp.apps.digilab.network).

### Frontend lokaal draaien

Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN npm run build

FROM nginx:$NGINX_VERSION

LABEL org.opencontainers.image.source=https://github.com/MinBZK/ai-act-beslishulp
LABEL org.opencontainers.image.source=https://github.com/MinBZK/ai-verordening-beslishulp

COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
Expand Down
2 changes: 1 addition & 1 deletion frontend/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ services:
context: .
dockerfile: Dockerfile

image: ghcr.io/minbzk/ai-act-beslishulp:main
image: ghcr.io/minbzk/ai-verordening-beslishulp:main
ports:
- '9090:80'
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ai-act-beslishulp",
"name": "ai-verordening-beslishulp",
"version": "0.0.5",
"private": false,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion frontend/script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

python script/inject_definitions_in_decision_tree.py

docker build . -t ghcr.io/minbzk/ai-act-beslishulp:main --platform linux/amd64
docker build . -t ghcr.io/minbzk/ai-verordening-beslishulp:main --platform linux/amd64
2 changes: 1 addition & 1 deletion frontend/script/push.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

docker push ghcr.io/minbzk/ai-act-beslishulp:main
docker push ghcr.io/minbzk/ai-verordening-beslishulp:main
2 changes: 1 addition & 1 deletion frontend/src/components/betaversion-label.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="rvo-expandable-text__details absolute"
style="margin-left: -38px; margin-top: 10px;padding: 16px; border-radius: 5px; background-color: var(--rvo-alert-warning-background-color); width: 220px; z-index: 2">
Deze beslishulp is in ontwikkeling. Alle versies ontstaan op een open manier.
<a class="rvo-link" href="https://github.com/MinBZK/ai-act-decisiontree">
<a class="rvo-link" href="https://github.com/MinBZK/ai-verordening-beslishulp">
Iedereen
mag opmerkingen en suggesties doen.
</a>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion schemas/schema_decision_tree.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/MinBZK/AI-act-beslishulp/main/schemas/base.schema",
"$id": "https://raw.githubusercontent.com/MinBZK/ai-verordening-beslishulp/main/schemas/base.schema",
"title": "Decision tree schema",
"description": "Decision tree schema",
"type": "object",
Expand Down

0 comments on commit 3158ebf

Please sign in to comment.