Skip to content

Releases: inab/openEBench-nuxt

Ola de Calor - Barplot Refactor

22 Jul 12:22
0cc29a3
Compare
Choose a tag to compare

Major Update Barplot

With v1.2 the package stops consuming an API, and starts consuming JSON structures, to improve reusability. (see below: Input)

NPM Package

NPM Package @inb/oeb-chart-barplot published to: https://www.npmjs.com/package/@inb/oeb-chart-barplot

Input

The visualizer uses as input the results of one challenge stored in the OpenEBench database in array format of the format of the official Benchmarking Data Model.

The necessary data structure for this visualization type is provided by the OpenEBench API
https://openebench.bsc.es/api/scientific/widget/bar-plot/OEBD003000002S
The array needs to be supplied in the data attribute data-data="[...]" with the following format:

data:   [
            {
                "toolname": "Ensemble_1",
                "metric_value": "0.562",
            },
            {
                "toolname": "Ensemble_2",
                "metric_value": "0.556",
            },
        ]

Furtheremore, the y axis name is set with the data-metric-name attribute, and the id with :data-id="ID". (Full example below)

Classification

As other OpenEBench results visualizers, this plot format results can be transfomed to tabular format by sorting the participants in descending/ascending order according to their metrics and applying a quartile classification over that lineal set of values. This classifcation splits the participants in four different groups/clusters depending on their performance. Clusters are separated in the plot with vertical lines and showed in the right table together with a green color-scale, which is easier to interpret for both experts and non-experts users.

figure2

Live Demo

See a demo of how this visualizer works here

How to use

The component can be imported in two way: As npm package (preferred), or via the build file from the git repository (see bottom).

Use the npm package

npm i @inb/oeb-chart-barplot

In your frontend component:
import { load_bars_visualization } from "@inb/oeb-chart-barplot";

<div data-id="ID" data-data="[...]" data-metric-name="Metric Name" class="benchmarkingChart_bars" ></div>

You can then call the load_bars_visualization() function.

Attributes that can be set on the <div> tag

  • class: should always be 'benchmarkingChart_bars'
  • data-id : the official OEB id of the benchmarking challenge you want to visualize
  • data-data: Should always contain the metrics array as in https://openebench.bsc.es/api/scientific/widget/bar-plot/OEBD003000002S
  • data-metric-name: Should always contain the metric name

Example:
<div data-id="OEBD003000002S" class="benchmarkingChart_bars" data-data="[...]" data-metric-name="..."></div>

Alternative way: Clone from repository

Requirements:

-npm
-http server

Clone the repo to your document root :

git clone https://github.com/inab/Scientific_Barplot.git

Set within the index.html 'benchmarkingChart_bars' div, the OEB id of the dataset (data-id) you want to visualize:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Scientific Benchmarking Barplot</title>
    </head>

    <body>
        <div
            class="benchmarkingChart_bars"
            data-id="OEBD003000002S"
            data-data=
            '[
                {
                    "toolname": "Ensemble_1",
                    "metric_value": "0.562",
                },
                {
                    "toolname": "Ensemble_2",
                    "metric_value": "0.556",
                },
            ]'
            data-metric-name="Metric Name"></div>
    </body>

</html>

Install dependencies from package.json :

npm install

Export node moodules :

export PATH="${PWD}/node_modules/.bin/:$PATH"

Compile with webpack and visualize sample results in your localhost :

./node_modules/.bin/webpack-cli src/app.js --output=build/build.js -d -w

Auth Login/Logout Function

21 Jul 08:59
Compare
Choose a tag to compare

Contains

  • authentification module
  • /admin route for testing purposes
  • Login/Logout button in the top menu

Dockerhub Update

12 Jul 08:49
Compare
Choose a tag to compare

Changing the Docker credentials to the OpenEBench DockerHub Account

v0.2.3 A11y & SEO

20 Jun 09:17
Compare
Choose a tag to compare
  • A11y fixes
  • SEO

v0.2.1

02 Jun 11:23
Compare
Choose a tag to compare
  • Updating the Chart Barplot package

Full Changelog: v0.2.0...v0.2.1

Pic de l’Àliga

31 May 08:46
Compare
Choose a tag to compare

Release Readiness

  • General Layout Adaptions
  • Package Updates
  • About Page

v0.1.8

17 May 12:31
Compare
Choose a tag to compare
v0.1.8 Pre-release
Pre-release
  • minor layout fixes
  • update chart scatter package

Siurana

29 Apr 08:48
Compare
Choose a tag to compare
Siurana Pre-release
Pre-release
Squashed commit of the following:

commit 9e2e4f232db85aa671d1f013283ce79c23add201
Author: Dominik Brüchner <[email protected]>
Date:   Fri Apr 29 10:46:56 2022 +0200

    Add project tile to landing page (#33)

    * Revert "removed project tile for now"

    This reverts commit 25098fee4ca31cbd5bd082d0c23ea0e5ac3b0915.

    * specs and link

    * Update HeroNumbers.vue

    * Update HeroNumbers.spec.js

    * Added Text Pluralize to HeroNumbers

    * Added Key Feature Section to Landing Page

    * fixing tests

    * Update LandingParts.stories.js

    * Update index.vue

    * permedcoe pages

    * fixing tests

    * package update postcss-html

    * replacing marked with nuxt/content

    * Revert "replacing marked with nuxt/content"

    This reverts commit 7d52288c1e71bf4720cfde85ce21eec040ff486f.

    * Update index.vue

    * added permedcoe markdown draft

    * some markup styling

    * added image urls and styling

    * some more markdown styling

    * Update MarkedWrapper.vue

    * moving the markdown file

    * img styling wrapper

    * Update .prettierrc.js

    * remove static project data, filter based on community metadata

    * make markdown file load for projects semi-dynamic

    * some refactoring

    * added unit tests

    * more unit tests and some fixes for the markdown wrapper

    * adding stories to storybook

    * Added community empty states

    * Update CommunityComponents.stories.js

    * Update OEBC009.md

    * Update OEBC009.md

commit 7814a1e4b8ef7281cae63b8542115c5113abf2e9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Apr 28 10:51:04 2022 +0200

    chore(deps-dev): bump eslint-plugin-storybook from 0.5.8 to 0.5.11 (#169)

    Bumps [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook) from 0.5.8 to 0.5.11.
    - [Release notes](https://github.com/storybookjs/eslint-plugin-storybook/releases)
    - [Changelog](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/storybookjs/eslint-plugin-storybook/compare/v0.5.8...v0.5.11)

    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-storybook
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit edfe78c29e686056f123db24756f8fea1023f30f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Apr 28 10:50:51 2022 +0200

    chore(deps-dev): bump lint-staged from 12.3.7 to 12.4.1 (#171)

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.7 to 12.4.1.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](https://github.com/okonet/lint-staged/compare/v12.3.7...v12.4.1)

    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 5380d090da9cd64fd8e07bb4efd7efa030048e3f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 26 17:03:16 2022 +0200

    fix(deps): bump gsap from 3.10.2 to 3.10.4 (#168)

    Bumps [gsap](https://github.com/greensock/GSAP) from 3.10.2 to 3.10.4.
    - [Release notes](https://github.com/greensock/GSAP/releases)
    - [Commits](https://github.com/greensock/GSAP/compare/3.10.2...3.10.4)

    ---
    updated-dependencies:
    - dependency-name: gsap
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit ca8dc1d118d66acb226e0b8751aca9cdbecc0a45
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 26 17:03:01 2022 +0200

    chore(deps-dev): bump stylelint from 14.6.1 to 14.7.1 (#166)

    Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.6.1 to 14.7.1.
    - [Release notes](https://github.com/stylelint/stylelint/releases)
    - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/stylelint/stylelint/compare/14.6.1...14.7.1)

    ---
    updated-dependencies:
    - dependency-name: stylelint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit f7621b7b641ed3cd41be83aad2e09ed5e37a1742
Author: Dominik Brüchner <[email protected]>
Date:   Wed Apr 20 15:06:20 2022 +0200

    refactor graphql query (#167)

Gelida

11 Apr 09:27
Compare
Choose a tag to compare
Gelida Pre-release
Pre-release
  • Event Index Page
  • Added keywords to community data
  • Added reference links to community data
  • minor improvements

v0.1.5 La Mola

29 Mar 09:22
0e4f495
Compare
Choose a tag to compare
v0.1.5 La Mola Pre-release
Pre-release
  • Benchmarking Detail View
  • Visualisation Wrappers (Widgets)
  • Breadcrumbs on Layout Level
  • Minor Improvements
  • npm Updates