• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cosanlab / py-feat / 15090929758

19 Oct 2024 05:10AM UTC coverage: 54.553%. First build
15090929758

push

github

web-flow
Merge pull request #228 from cosanlab/huggingface

WIP: Huggingface Integration

702 of 1620 new or added lines in 46 files covered. (43.33%)

3409 of 6249 relevant lines covered (54.55%)

3.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.0
/feat/tests/test_xgbclassifier.py
1
import pytest
6✔
2
import sys
6✔
3
from feat.au_detectors.StatLearning.SL_test import XGBClassifier
6✔
4

5
# Explicitly add XGBClassifier to __main__ namespace
6
sys.modules["__main__"].__dict__["XGBClassifier"] = XGBClassifier
6✔
7

8

9
def test_xgbclassifier_in_main():
6✔
10
    # Check if XGBClassifier is in __main__
11
    assert (
6✔
12
        "XGBClassifier" in sys.modules["__main__"].__dict__
13
    ), "XGBClassifier not found in __main__"
14
    print("XGBClassifier found in __main__")
6✔
15
    print(sys.modules["__main__"].__dict__)
6✔
16

17

18
if __name__ == "__main__":
6✔
NEW
19
    pytest.main([__file__])
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc