Skip to content
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

Release/v2.31.0 #6551

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 3 additions & 6 deletions .github/workflows/publish-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -73,9 +73,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Setup Node 20.10.0 LTS
uses: actions/setup-node@v4
with:
Expand All @@ -100,7 +97,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -72,9 +72,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-funman-taskrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -72,9 +72,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-gollm-taskrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -72,9 +72,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-mira-taskrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -73,9 +73,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -103,7 +100,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -79,9 +79,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -112,7 +109,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-table-extraction-taskrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -72,9 +72,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
9 changes: 3 additions & 6 deletions .github/workflows/publish-text-extraction-taskrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
push: true
tags: ${{ needs.image-tag.outputs.tagged-image-name }}--amd64

arm64-emulation:
runs-on: ubuntu-24.04
arm64:
runs-on: ubuntu-24.04-arm
needs: image-tag
permissions:
contents: read
Expand All @@ -72,9 +72,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Checkout the repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
needs:
- image-tag
- amd64
- arm64-emulation
- arm64
uses: ./.github/workflows/merge-images.yml
with:
name: ${{ needs.image-tag.outputs.tagged-image-name }}
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,17 @@ export const transformRowValuesRelativeToBaseline = (
transformed[key] = value;
return;
}
const eps = 1e-6;
const baselineValue = row[`${dataKey}:${baselineDataIndex}`];
if (plotType === PlotValue.DIFFERENCE) {
transformed[key] = value - baselineValue;
} else if (plotType === PlotValue.PERCENTAGE) {
transformed[key] = ((value - baselineValue) / baselineValue) * 100;
// set to 0 if value - baselineValue is 0
if (Math.abs(value - baselineValue) <= eps) {
transformed[key] = 0;
} else {
transformed[key] = ((value - baselineValue + eps) / (baselineValue + eps)) * 100;
}
} else if (plotType === PlotValue.VALUE) {
transformed[key] = value;
}
Expand Down
Loading
Loading