crowd-kit icon indicating copy to clipboard operation
crowd-kit copied to clipboard

crowdkit/__init__.py import fix

Open ahundt opened this issue 1 year ago • 1 comments

fix the import bug in https://github.com/Toloka/crowd-kit/issues/88

The following test passes:

import crowdkit

def test_mmsr():
    try:
        mmsr = crowdkit.aggregation.classification.m_msr.MMSR
    except AttributeError as e:
        print(f"An error occurred: {e}")

test_mmsr()
print("Test passed!")

Checklist

  • [x] I have read the CONTRIBUTING document
  • [x] I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en as it pertains to direct contributions to crowd-kit only.
  • [ ] My change requires a change to the documentation
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] All new and existing tests passed

ahundt avatar Nov 27 '23 17:11 ahundt

Hi, thank you for proposing a fix. Unfortunately, it seems to break the tests. Could you please ensure that the tests are passing?

dustalov avatar Nov 28 '23 12:11 dustalov