Skip to content

Data attributes test occasionally fails #32

@david-chapela

Description

@david-chapela

There are two issues with the Case Attribute Discovery tests:

  • The tests are incredibly slow.
  • One of the tests in test_attributes_discovery.py occasionally fails due to the following error:
    FAILED tests/pix_framework/discovery/attributes/test_attributes_discovery.py::test__attributes[tests/pix_framework/assets/event_attributes_log.csv.gz] - AssertionError: Mean difference between generated and expected samples for attriubte uniform_distribution is 0.30044466544489734, which is higher than a threshold.0.05

As a possible fix, the tests could be redesigned:

  • with simpler logs that require less computational runtime.
  • with clearer examples that are easily detected, so the thresholds don't occasionally fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions