profile
viewpoint
Mohsen Nosratinia tuix Viking Analytics AB Stockholm, Sweden

tuix/tutorials 0

Container Specification, Tutorials and Examples for the AI4EU Experiments docker/grpc format for models

PullRequestReviewEvent

Pull request review commentvikinganalytics/mvg

Added MVG errors with better error messages

+"""+Tests in this file shall test functionlity+not relying on access to vibium-cloud API+"""++import pytest+import requests+from mvg.exceptions import MVGAPIError, raise_for_status+++class MockResponse:+    def __init__(self, status_code, reason, json_body):+        self.status_code = status_code+        self.reason = reason+        self.json_body = json_body++    def json(self):+        return self.json_body++    def raise_for_status(self):+        if 400 <= self.status_code < 600:+            raise requests.HTTPError()+++def mock_fail_request(json_body):+    return MockResponse(400, "Bad Request", json_body)+++def assert_fail_response(msg, detail="No error message"):+    assert msg == f"400 - Bad Request: {detail}"+

How are these two functions used? Do not seem to be invoked by other functions, and won't be called as a test function by pytest either?

OskarLiew

comment created time in 4 days

PullRequestReviewEvent

release vikinganalytics/mvg

v0.10.4

released time in 12 days

created tagvikinganalytics/mvg

tagv0.10.4

Repository for python library supporting Viking Analytics Multiviz Engine API

created time in 12 days

delete branch vikinganalytics/mvg

delete branch : modeid-probabilities

delete time in 12 days

push eventvikinganalytics/mvg

Oskar Liew

commit sha d14c4f93b829f620f03de7c1b0037cf42634eb82

Adding mode probabilities to modeid class (#109) * Adding mode probabilities to modeid class * Adding key * Bumped mvg version

view details

push time in 12 days

PR merged vikinganalytics/mvg

Reviewers
Adding mode probabilities to modeid class

Fixing bug when using new version of vibium with probability table. If there is no probability table the results will be an empty dataframe

closes #107

+3 -1

1 comment

2 changed files

OskarLiew

pr closed time in 12 days

PullRequestReviewEvent

delete branch vikinganalytics/mvg

delete branch : link-to-docs

delete time in 12 days

push eventvikinganalytics/mvg

Mohsen Nosratinia

commit sha 2a9f9cbf35364b7f9eaae3576dbec22036e8fcff

add link to documentation page (#111)

view details

push time in 12 days

PR merged vikinganalytics/mvg

Reviewers
add link to documentation page
+4 -1

0 comment

1 changed file

tuix

pr closed time in 12 days

issue openedvikinganalytics/mvg

remove dependency on charlie dataset

tests and examples depend on legacy charlie dataset. This makes it hard to understand the tests and know what to expect. It is much more readable and transparent if we synthesize the data on the fly.

created time in 12 days

delete branch vikinganalytics/mvg

delete branch : pr-template

delete time in 12 days

push eventvikinganalytics/mvg

Oskar Liew

commit sha 769c65b6b923e88f830dcbfc3fdb5cb8fef33696

Adding PR template (#110)

view details

push time in 12 days

PR merged vikinganalytics/mvg

Reviewers
Adding PR template
+26 -0

0 comment

1 changed file

OskarLiew

pr closed time in 12 days

PR opened vikinganalytics/mvg

add link to documentation page
+4 -1

0 comment

1 changed file

pr created time in 12 days

create barnchvikinganalytics/mvg

branch : link-to-docs

created branch time in 12 days

PullRequestReviewEvent

pull request commentvikinganalytics/mvg

Adding mode probabilities to modeid class

Let's bump the MVG version

OskarLiew

comment created time in 13 days

Pull request review commentvikinganalytics/mvg

Adding mode probabilities to modeid class

 def __init__(self, results, t_zone=None, t_unit=None):         else:             dict_for_df = self.results().copy()             dict_for_emerging = dict_for_df.pop("mode_info")+            dict_for_mode_proba = dict_for_df.pop("", {})

Why empty key? Should be mode_probabilities I guedd.

OskarLiew

comment created time in 13 days

PullRequestReviewEvent
PullRequestReviewEvent

delete branch vikinganalytics/mvg

delete branch : update-examples

delete time in 14 days

created tagvikinganalytics/mvg

tagv0.10.3

Repository for python library supporting Viking Analytics Multiviz Engine API

created time in 14 days

release vikinganalytics/mvg

v0.10.3

released time in 14 days

delete branch vikinganalytics/mvg

delete branch : fix-math-rendering

delete time in 14 days

push eventvikinganalytics/mvg

Mohsen Nosratinia

commit sha 11bb008889fbc90e7fb337773bcdf6970da31c68

fix math rendering in kpidemo documentation (#106) * fix math rendering in kpidemo documentation * bump MVG and backend versions

view details

push time in 14 days

more