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

ContinualAI / avalanche / 9270629044

28 May 2024 01:52PM UTC coverage: 51.799% (-0.004%) from 51.803%
9270629044

push

github

web-flow
Merge pull request #1647 from vlomonaco/master

Improved Efficiency of the DiskUsage Metric

18 of 30 new or added lines in 2 files covered. (60.0%)

2 existing lines in 2 files now uncovered.

15091 of 29134 relevant lines covered (51.8%)

0.52 hits per line

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

66.67
/tests/evaluation/test_disk_usage.py
1
""" Disk Usage Metric Test"""
1✔
2

3
import unittest
1✔
4

5
from avalanche.evaluation.metrics import DiskUsage
1✔
6

7

8
class DiskUsageTests(unittest.TestCase):
1✔
9
    def test_basic(self):
1✔
10
        """just checking that directory size is computed without errors."""
11

NEW
12
        disk = DiskUsage()
×
NEW
13
        disk.get_dir_size(".")
×
14

15

16
if __name__ == "__main__":
1✔
NEW
17
    unittest.main()
×
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

© 2026 Coveralls, Inc