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

daisytuner / docc / 21873449786

10 Feb 2026 04:31PM UTC coverage: 66.315% (-0.2%) from 66.496%
21873449786

Pull #513

github

web-flow
Merge 55ce04c5d into 5750a460e
Pull Request #513: adds tensor type

244 of 431 new or added lines in 18 files covered. (56.61%)

186 existing lines in 15 files now uncovered.

23488 of 35419 relevant lines covered (66.31%)

372.32 hits per line

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

80.65
/python/docc/compiler/docc_program.py
1
from abc import ABC, abstractmethod
4✔
2
from typing import Any, Optional
4✔
3

4
from docc.sdfg import StructuredSDFG
4✔
5
from docc.compiler.compiled_sdfg import CompiledSDFG
4✔
6

7

8
class DoccProgram(ABC):
4✔
9

10
    def __init__(
4✔
11
        self,
12
        name: str,
13
        target: str = "none",
14
        category: str = "server",
15
        instrumentation_mode: Optional[str] = None,
16
        capture_args: Optional[bool] = None,
17
        remote_tuning: bool = False,
18
    ):
19
        self.name = name
4✔
20
        self.target = target
4✔
21
        self.category = category
4✔
22
        self.instrumentation_mode = instrumentation_mode
4✔
23
        self.capture_args = capture_args
4✔
24
        self.remote_tuning = remote_tuning
4✔
25
        self.last_sdfg: Optional[StructuredSDFG] = None
4✔
26
        self.cache: dict = {}
4✔
27

28
    @abstractmethod
4✔
29
    def __call__(self, *args: Any) -> Any:
4✔
UNCOV
30
        pass
×
31

32
    @abstractmethod
4✔
33
    def compile(self, *args: Any, output_folder: Optional[str] = None) -> CompiledSDFG:
4✔
UNCOV
34
        pass
×
35

36
    @abstractmethod
4✔
37
    def to_sdfg(self, *args: Any) -> StructuredSDFG:
4✔
UNCOV
38
        pass
×
39

40
    @abstractmethod
4✔
41
    def _convert_inputs(self, args: tuple) -> tuple:
4✔
UNCOV
42
        pass
×
43

44
    @abstractmethod
4✔
45
    def _convert_outputs(self, result: Any, original_args: tuple) -> Any:
4✔
UNCOV
46
        pass
×
47

48
    def _get_cache_key(self, *args: Any) -> str:
4✔
UNCOV
49
        return ""
×
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