Skip to content

Commit

Permalink
fix: updating moa jar 24-05-20
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgomes committed May 20, 2024
1 parent 6b607c3 commit 3327f6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions invoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ moa_path: "src/capymoa/jar/moa.jar"
# DROPBOX: When using a dropbox link, ensure that the dl=1 query parameter is
# present in the link. This ensures the file is downloaded directly instead
# of going to the dropbox page
#moa_url: "https://www.dropbox.com/scl/fi/f5xz2evjllqk87fjvi06m/240412_moa.jar?rlkey=1nwlfj3awhh3lsnme37k947lb&e=1&st=kdhx1e69&dl=1"
moa_url: "https://www.dropbox.com/scl/fi/kd2pvgqjsc3u148it1i4u/240506_moa.jar?rlkey=af1fsqoftnz1u0captpuwcx9d&st=2s3e210s&dl=1"
moa_url: "https://www.dropbox.com/scl/fi/tiotxvygfbb6ql2w904b3/240520_moa.jar?rlkey=q0p1qj47t2nj9gbo76b94pajp&st=bva4d3wx&dl=1"

# What notebooks to skip when running them as tests.
test_skip_notebooks:
Expand All @@ -16,5 +15,6 @@ test_skip_notebooks:
- notebooks/04_drift_streams.ipynb
- notebooks/05_new_learner.ipynb
- notebooks/06_advanced_API.ipynb
- anomaly_detection.ipynb
- notebooks/SSL_example.ipynb
- notebooks/prediction_interval.ipynb
6 changes: 3 additions & 3 deletions tests/test_moajar.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import capymoa
import jpype
from pathlib import Path
from hashlib import sha256
import warnings
import os

_MOA_JAR_HASH="7fcff557c1423a5ba35190c24c99af9145cf5dfef97cf4c83dd074adaddaad11"
_MOA_JAR_HASH = "88455bef67d694c8ff3926ade33fe51ce7fdb3e65e4577838866761a7a079c7d"


def test_imports():
assert jpype.isJVMStarted(), "JVM should be started automatically when importing capymoa"
Expand All @@ -25,5 +25,5 @@ def test_imports():

if bool(os.environ.get("CI", False)):
assert jar_hash == _MOA_JAR_HASH, \
"""In the CI/CD _MOA_JAR_HASH must match the hash of the MOA jar in the class path."""
"""In the CI/CD _MOA_JAR_HASH must match the hash of the MOA jar in the class path."""

0 comments on commit 3327f6b

Please sign in to comment.