feat: CMA P1+P2 Round1 — 成本法对比+杜邦分析+本量利

This commit is contained in:
Hermes CI Fix
2026-07-16 16:39:24 +08:00
parent 46fa811d52
commit 4b25f46124
8728 changed files with 1772671 additions and 151 deletions
@@ -0,0 +1,36 @@
from collections.abc import Callable, Iterable, Mapping
from typing import Any, Final, Literal as L
from .__version__ import version
from .auxfuncs import _Bool, _Var
type _Predicate = Callable[[_Var], _Bool]
type _RuleDict[VT] = dict[str, VT]
type _DefDict[VT] = dict[_Predicate, VT]
###
f2py_version: Final = version
numpy_version: Final = version
options: Final[dict[str, bool]] = ...
sepdict: Final[dict[str, str]] = ...
generationtime: Final[int] = ...
typedef_need_dict: Final[_DefDict[str]] = ...
module_rules: Final[_RuleDict[str | list[str] | _RuleDict[str]]] = ...
routine_rules: Final[_RuleDict[str | list[str] | _DefDict[str] | _RuleDict[str]]] = ...
defmod_rules: Final[list[_RuleDict[str | _DefDict[str]]]] = ...
rout_rules: Final[list[_RuleDict[str | Any]]] = ...
aux_rules: Final[list[_RuleDict[str | Any]]] = ...
arg_rules: Final[list[_RuleDict[str | Any]]] = ...
check_rules: Final[list[_RuleDict[str | Any]]] = ...
stnd: Final[dict[L[1, 2, 3, 4, 5, 6, 7, 8, 9, 0], L["st", "nd", "rd", "th"]]] = ...
def buildmodule(m: Mapping[str, str | Any], um: Iterable[Mapping[str, str | Any]]) -> _RuleDict[str]: ...
def buildapi(rout: Mapping[str, str]) -> tuple[_RuleDict[str], str]: ...
# namespace pollution
k: str