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

daisytuner / docc / 21567116170

01 Feb 2026 05:26PM UTC coverage: 66.479% (-0.1%) from 66.58%
21567116170

push

github

web-flow
Merge pull request #498 from daisytuner/mlir-export-sdfg

Mlir export sdfg

63 of 141 new or added lines in 10 files covered. (44.68%)

23090 of 34733 relevant lines covered (66.48%)

376.33 hits per line

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

80.0
/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
    ):
18
        self.name = name
4✔
19
        self.target = target
4✔
20
        self.category = category
4✔
21
        self.instrumentation_mode = instrumentation_mode
4✔
22
        self.capture_args = capture_args
4✔
23
        self.last_sdfg: Optional[StructuredSDFG] = None
4✔
24
        self.cache: dict = {}
4✔
25

26
    @abstractmethod
4✔
27
    def __call__(self, *args: Any) -> Any:
4✔
NEW
28
        pass
×
29

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

34
    @abstractmethod
4✔
35
    def to_sdfg(self, *args: Any) -> StructuredSDFG:
4✔
NEW
36
        pass
×
37

38
    @abstractmethod
4✔
39
    def _convert_inputs(self, args: tuple) -> tuple:
4✔
NEW
40
        pass
×
41

42
    @abstractmethod
4✔
43
    def _convert_outputs(self, result: Any, original_args: tuple) -> Any:
4✔
NEW
44
        pass
×
45

46
    def _get_cache_key(self, *args: Any) -> str:
4✔
NEW
47
        return ""
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc