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

martineberlein / debugging-benchmark / 7872967682

12 Feb 2024 02:09PM UTC coverage: 70.936% (-11.7%) from 82.589%
7872967682

Pull #25

github

web-flow
Merge 1536f6e21 into d5a4e936d
Pull Request #25: Stable

16 of 41 new or added lines in 4 files covered. (39.02%)

1296 of 1827 relevant lines covered (70.94%)

0.71 hits per line

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

88.89
/src/debugging_framework/oracle.py
1
from enum import Enum
1✔
2

3

4
class OracleResult(Enum):
1✔
5
    FAILING = "FAILING"
1✔
6
    PASSING = "PASSING"
1✔
7
    UNDEFINED = "UNDEFINED"
1✔
8

9
    def __str__(self):
1✔
10
        """Returns the string representation of the enum value."""
11
        return self.value
1✔
12

13
    def to_bool(self):
1✔
14
        """
15
        Returns True if the result indicates a failing condition, False otherwise.
16

17
        The method considers only 'FAILING' as indicating a failure, with both
18
        'PASSING' and 'UNDEFINED' considered as not indicating failure.
19
        """
NEW
20
        return self == OracleResult.FAILING
×
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