bc1d56d1a4
P0.6: gcov infrastructure P1: extract_structure output expansion (11 new feature fields) P2: Confusion group rule engine (8 pairs + contradiction + backtrack) P3: 4-factor confidence calculation + quality gate update P4: 33+2 COBOL program type test samples (22 files, 7 categories) P5: parametrized/ test data generation engine P6: japanese_data.py lookup tables P7-10: Type-specific test suites (~159 parametrized tests) P11: Full classification pipeline (classify_program) + orchestrator integration P12: Documentation (module-interfaces, test-plan v3.0, coverage-matrix) Architecture decisions: - classification_pipeline/ merged to hina/pipeline/ - parametrized/ as independent module - japanese_data.py as root-level file - hina/__all__ only exports classify_program() Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
684 B
Python
25 lines
684 B
Python
"""JCL 解析与执行包
|
|
|
|
公开 API:
|
|
parse_jcl() — JCL 解析 → Job 对象
|
|
JclExecutor — JCL 执行器(编译 + 运行 COBOL)
|
|
Job — JCL 作业
|
|
JobStep — JCL 步骤
|
|
DDEntry — DD 条目
|
|
CondParam — COND 参数
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .parser import parse_jcl, Job, JobStep, DDEntry, CondParam
|
|
from .executor import JclExecutor
|
|
|
|
__all__ = [
|
|
"parse_jcl", # (filepath: str) → Optional[Job]
|
|
"JclExecutor", # class
|
|
"Job", # dataclass
|
|
"JobStep", # dataclass
|
|
"DDEntry", # dataclass
|
|
"CondParam", # dataclass
|
|
]
|