- tools/coverage/target_profiles.json: 新增 core-plus-v3 profile = core-plus-v2 的 100
目标 + 12 个目标(W74 test_b1_seam、W75 test_curved_boolean_assemble/_domain、
W76 test_assembly_fuse、assembly 辅助 test_assembly/_constraints/_instance/_patterns、
geometry 辅助 test_measure/_measure_planar_spanned/test_region_analysis、W84 语义补测
test_cov_wave14_newbranches);line_pct_gate 53.0 -> 55.0,expected_min_cases 2200 ->
2400;未改 core-pr/core/core-plus/core-plus-v2 任何字段。
- tests/brep/test_cov_wave14_newbranches.cpp(新增,13 用例):默认 ctest 即执行的
W74/W75/W76 默认/回退分支语义断言(延长段 tag 编码契约、CB2 空图/切图默认回退、
W76 UV 重试门控需双 env、DIAG 惰性、共面 stitch 惰性、W74 env 在 region 通道关闭时
逐值惰性),含 ScopedEnv RAII 与报告快照逐字段比较。
- tests/brep/test_measure_planar_spanned.cpp + tests/brep/CMakeLists.txt:仅在
-DVDE_ENABLE_COVERAGE=ON 构建定义 VDE_COVERAGE_BUILD,跳过 W61/W66/W72 性能 sanity
的绝对微秒上界断言(gcov 插桩 + 并行负载下不具可比性,W54 同类先例);数值/位级/
几何语义断言与覆盖统计不变,普通构建性能门禁语义不变。
- tools/coverage/baseline.json:--update-baseline 写入 core-plus-v3 实测条目
line 60.1618%(85985/142923)、function 68.1789%(4178/6128)、
branch 37.4396%(77859/207959)、112 targets、2925 用例;其它 4 个条目原样保留。
- .gitea/workflows/nightly.yml:core-plus-v3 常开 report-only 归档 + vars 门控
strict-baseline 硬门禁(VDE_COV_PROFILE_V3,兼容 VDE_ENABLE_CORE_PLUS_V3),
artifact 追加 v3 report/gate 目录。
- tools/ci/validate_workflows.py:新增规则 14(v3 门禁必须 --strict-baseline 且由
vars opt-in 门控;nightly 必须同时有 v3 归档与门禁),新增 self-test 反例 3 个
(60 -> 63),--strict PASS 2/2。
验证:
- python tools/vde_coverage_check.py --profile core-plus-v3 --strict-baseline -> PASS
(rc=0,line 60.16% >= gate 55.0,tests 2925/2925 0 failed,elapsed 921.4s)。
- ctest -R "Cov|Coverage"(build-fast Release)-> 19/19 PASS,0 failed。
- python tools/vde_release.py --check -> PASS(checks=14 fail=0 warn=0)。
- 生产源码零改动:git diff 054724f7 -- src include 为空;B5 默认负载 digest
d1c875b2322e097d 未变。
425 lines
19 KiB
JSON
425 lines
19 KiB
JSON
{
|
||
"schema_version": 1,
|
||
"description": "VDE 覆盖率/门禁测试目标 profile。KC-Q01/Q02/Q04/Q05 的机器可读配置:fast gate 子集、覆盖率扩展目标集、确定性目标集。targets 为 CMake target 名;ctest_filter 为对应 ctest -R 正则(gtest_discover_tests 全名形如 test_brep.TestCase)。",
|
||
"profiles": {
|
||
"baseline": {
|
||
"description": "历史玩具基线(docs/guides/testing.md §10.3,2026-11-01 main 11dd487a):4 目标/22 用例,行覆盖 6.64%。保留以兼容 tools/vde_coverage_check.py 旧默认行为。",
|
||
"targets": [
|
||
"test_display_mesh",
|
||
"test_vde1238_entity_geometry",
|
||
"test_bezier",
|
||
"test_nurbs"
|
||
],
|
||
"ctest_filter": "DisplayMesh|VDE1238|Bezier|Nurbs",
|
||
"line_pct_gate": null,
|
||
"notes": "口径与全量历史基线不同,不可直接比较。",
|
||
"expected_min_cases": 20
|
||
},
|
||
"core-pr": {
|
||
"description": "PR fast gate 核心子集(KC-Q01,目标 ≤15 min):brep/curves/mesh/boolean/core 代表目标约 19 个、约 500 个 gtest 用例。覆盖布尔/SSI/水密/公差/精确谓词等高风险面。",
|
||
"targets": [
|
||
"test_brep",
|
||
"test_brep_boolean",
|
||
"test_boolean_oracle",
|
||
"test_boolean_fallback",
|
||
"test_brep_validate",
|
||
"test_analytic_ssi",
|
||
"test_analytic_trim",
|
||
"test_measure_consistency",
|
||
"test_mesh_watertight",
|
||
"test_bezier",
|
||
"test_nurbs",
|
||
"test_curve_intersect",
|
||
"test_surface_intersection",
|
||
"test_halfedge",
|
||
"test_delaunay",
|
||
"test_mesh_quality",
|
||
"test_mesh_repair",
|
||
"test_boolean_2d",
|
||
"test_exact_predicates"
|
||
],
|
||
"ctest_filter": null,
|
||
"line_pct_gate": 22.0,
|
||
"notes": "PR 门禁用;确定性门默认目标为其子集。W18 实测(2026-11-19,MinGW gcc 16.1.0,RelWithDebInfo,497 用例):line 24.03%/func 26.75%/branch 15.08%;门禁=floor(24.03)-2=22.0,留约 2pp 余量。目标集或测试集变化后必须 --update-baseline 并复核本阈值。",
|
||
"expected_min_cases": 480
|
||
},
|
||
"core": {
|
||
"description": "覆盖率扩展目标集(KC-Q04):在 core-pr 基础上加入 brep/curves/mesh/boolean/core 更多目标(约 40 个),用于把覆盖率基线从 4 目标/22 用例扩到核心面。Q5 分阶段阈值 30%→50%→65%,首夜 report-only,待首个 nightly 基线落盘后再开启 gate。",
|
||
"targets": [
|
||
"test_brep",
|
||
"test_brep_boolean",
|
||
"test_boolean_oracle",
|
||
"test_boolean_fallback",
|
||
"test_brep_validate",
|
||
"test_analytic_ssi",
|
||
"test_analytic_trim",
|
||
"test_measure_consistency",
|
||
"test_mesh_watertight",
|
||
"test_bezier",
|
||
"test_nurbs",
|
||
"test_curve_intersect",
|
||
"test_surface_intersection",
|
||
"test_halfedge",
|
||
"test_delaunay",
|
||
"test_mesh_quality",
|
||
"test_mesh_repair",
|
||
"test_boolean_2d",
|
||
"test_exact_predicates",
|
||
"test_brep_modeling",
|
||
"test_boolean_robustness",
|
||
"test_brep_heal",
|
||
"test_tolerance",
|
||
"test_exact_face_trim",
|
||
"test_ssi_boolean",
|
||
"test_topo_naming",
|
||
"test_curved_boolean_baseline",
|
||
"test_geom2d",
|
||
"test_curve_robustness",
|
||
"test_nurbs_operations",
|
||
"test_surface_tools",
|
||
"test_mesh_diagnostics",
|
||
"test_mesh_robustness",
|
||
"test_display_mesh",
|
||
"test_marching_cubes",
|
||
"test_boolean_mesh",
|
||
"test_polygon_offset",
|
||
"test_point",
|
||
"test_transform",
|
||
"test_polygon",
|
||
"test_distance"
|
||
],
|
||
"ctest_filter": null,
|
||
"line_pct_gate": null,
|
||
"line_pct_goal": 30.0,
|
||
"notes": "nightly 覆盖率 job 使用;--min-line-pct 传入阈值后退出码 6 表示低于阈值。",
|
||
"expected_min_cases": 500
|
||
},
|
||
"core-plus": {
|
||
"description": "Wave7 W43 core-plus profile(core 41 + foundation IO/序列化 19 目标,共 59 目标):在 core 基础上接入 tests/foundation 的 DWG/DXF/工业格式/通用格式 IO 与序列化核心路径测试,覆盖 W31 时 core 中恒为 0% 的 vde_io foundation 源(io_dxf/dwg_object/dwg_writer/industrial_formats 等约 29000 行),目标 line ≥40%。已排除 test_curved_boolean_baseline:其 3 个用例(DispatchEnvValueParsingIsStrict / DispatchBudgetEnvBoundsFailedAttempts / ChainBudgetSkipsAfterCumulativeDispatchCost)在 gcov 插桩构建下因 CBRA 链级 wall-clock 预算(默认 2000 ms)被插桩放大而确定性回退 legacy,属插桩敏感;W31 core 硬门禁因同类用例 opt-in,本 profile 在 gate 用途下排除该套件以保持稳定(CBRA 主路径覆盖仍由 core 其它目标提供)。",
|
||
"targets": [
|
||
"test_brep",
|
||
"test_brep_boolean",
|
||
"test_boolean_oracle",
|
||
"test_boolean_fallback",
|
||
"test_brep_validate",
|
||
"test_analytic_ssi",
|
||
"test_analytic_trim",
|
||
"test_measure_consistency",
|
||
"test_mesh_watertight",
|
||
"test_bezier",
|
||
"test_nurbs",
|
||
"test_curve_intersect",
|
||
"test_surface_intersection",
|
||
"test_halfedge",
|
||
"test_delaunay",
|
||
"test_mesh_quality",
|
||
"test_mesh_repair",
|
||
"test_boolean_2d",
|
||
"test_exact_predicates",
|
||
"test_brep_modeling",
|
||
"test_boolean_robustness",
|
||
"test_brep_heal",
|
||
"test_tolerance",
|
||
"test_exact_face_trim",
|
||
"test_ssi_boolean",
|
||
"test_topo_naming",
|
||
"test_geom2d",
|
||
"test_curve_robustness",
|
||
"test_nurbs_operations",
|
||
"test_surface_tools",
|
||
"test_mesh_diagnostics",
|
||
"test_mesh_robustness",
|
||
"test_display_mesh",
|
||
"test_marching_cubes",
|
||
"test_boolean_mesh",
|
||
"test_polygon_offset",
|
||
"test_point",
|
||
"test_transform",
|
||
"test_polygon",
|
||
"test_distance",
|
||
"test_dxf",
|
||
"test_dxf_write_entities",
|
||
"test_dwg",
|
||
"test_dwg_object",
|
||
"test_dwg_writer",
|
||
"test_industrial_formats",
|
||
"test_all_formats",
|
||
"test_format_roundtrip",
|
||
"test_format_detect",
|
||
"test_io_gltf",
|
||
"test_io_3mf",
|
||
"test_io_stl",
|
||
"test_io_ply",
|
||
"test_serializer",
|
||
"test_vde_format",
|
||
"test_vde_log",
|
||
"test_cov_foundation_serialization",
|
||
"test_cov_boolean_heal",
|
||
"test_cov_ssi"
|
||
],
|
||
"ctest_filter": null,
|
||
"line_pct_gate": 40.0,
|
||
"line_pct_goal": 40.0,
|
||
"notes": "W43 实测(59 targets,build-cov7,--update-baseline 写入);目标 line ≥40%。插桩敏感排除说明见 description;strict-baseline 门禁使用 --min-line-pct 40(或 baseline)。",
|
||
"expected_min_cases": 600
|
||
},
|
||
"core-plus-v2": {
|
||
"description": "Wave8 W48 core-plus-v2 profile + Wave10 W60 更新(core-plus 59 + plugin/capi/spatial/sdf/compute 37 + W54 覆盖率补测 4 目标,共 100 目标):在 W43 core-plus 基础上接入 tests/plugin、tests/capi、tests/spatial、tests/sdf、tests/compute 的模块测试,并加入 5 个 Wave8 边界补测目标(test_cov_plugin_lifecycle/test_cov_capi_boundary/test_cov_spatial_bvh/test_cov_sdf_field/test_cov_compute_simd),覆盖 core-plus 此前完全未链接的 src/plugin(≈4356 行,W43 0.92%)、src/compute(≈1654 行,0.00%)以及 spatial(14.69%)、sdf(8.16%)、C API 导出边界路径。W60 纳入 W54 的 4 个覆盖率补测目标 test_cov_wave9_ssi/_heal/_generative/_mesh(49 个用例,覆盖 ssi_boolean/brep_heal/generative_surfaces/mesh_repair 退化与错误分支,见 docs/planning/wave9/cov-notes.md §4),重测并 --update-baseline;line_pct_gate 提升到 53.0,实测基线由 --update-baseline 写入 baseline.json。与 core-plus 一致排除 test_curved_boolean_baseline(gcov 插桩敏感 CBRA 预算用例);并排除 test_plugin_ecosystem(要求全部 official 插件目标均已构建,单目标覆盖率构建下会误报 1/8 plugin kind)。",
|
||
"targets": [
|
||
"test_brep",
|
||
"test_brep_boolean",
|
||
"test_boolean_oracle",
|
||
"test_boolean_fallback",
|
||
"test_brep_validate",
|
||
"test_analytic_ssi",
|
||
"test_analytic_trim",
|
||
"test_measure_consistency",
|
||
"test_mesh_watertight",
|
||
"test_bezier",
|
||
"test_nurbs",
|
||
"test_curve_intersect",
|
||
"test_surface_intersection",
|
||
"test_halfedge",
|
||
"test_delaunay",
|
||
"test_mesh_quality",
|
||
"test_mesh_repair",
|
||
"test_boolean_2d",
|
||
"test_exact_predicates",
|
||
"test_brep_modeling",
|
||
"test_boolean_robustness",
|
||
"test_brep_heal",
|
||
"test_tolerance",
|
||
"test_exact_face_trim",
|
||
"test_ssi_boolean",
|
||
"test_topo_naming",
|
||
"test_geom2d",
|
||
"test_curve_robustness",
|
||
"test_nurbs_operations",
|
||
"test_surface_tools",
|
||
"test_mesh_diagnostics",
|
||
"test_mesh_robustness",
|
||
"test_display_mesh",
|
||
"test_marching_cubes",
|
||
"test_boolean_mesh",
|
||
"test_polygon_offset",
|
||
"test_point",
|
||
"test_transform",
|
||
"test_polygon",
|
||
"test_distance",
|
||
"test_dxf",
|
||
"test_dxf_write_entities",
|
||
"test_dwg",
|
||
"test_dwg_object",
|
||
"test_dwg_writer",
|
||
"test_industrial_formats",
|
||
"test_all_formats",
|
||
"test_format_roundtrip",
|
||
"test_format_detect",
|
||
"test_io_gltf",
|
||
"test_io_3mf",
|
||
"test_io_stl",
|
||
"test_io_ply",
|
||
"test_serializer",
|
||
"test_vde_format",
|
||
"test_vde_log",
|
||
"test_cov_foundation_serialization",
|
||
"test_cov_boolean_heal",
|
||
"test_cov_ssi",
|
||
"test_vde_capi",
|
||
"test_capi",
|
||
"test_capi_extended",
|
||
"test_capi_display",
|
||
"test_capi_split",
|
||
"test_capi_wireframe_tight",
|
||
"test_cov_capi_boundary",
|
||
"test_bvh",
|
||
"test_r_tree",
|
||
"test_octree",
|
||
"test_spatial_index",
|
||
"test_incremental_bvh",
|
||
"test_kd_tree",
|
||
"test_broadphase",
|
||
"test_cov_spatial_bvh",
|
||
"test_sdf_primitives",
|
||
"test_sdf_operations",
|
||
"test_sdf_tree",
|
||
"test_sdf_to_mesh",
|
||
"test_sdf_gradient",
|
||
"test_sdf_optimize",
|
||
"test_sdf_torch_bridge",
|
||
"test_cov_sdf_field",
|
||
"test_compute_backend",
|
||
"test_lbvh",
|
||
"test_gpu_consistency",
|
||
"test_gpu_bvh",
|
||
"test_cov_compute_simd",
|
||
"test_plugin_manager",
|
||
"test_plugin_integration",
|
||
"test_plugin_sdk",
|
||
"test_plugin_security",
|
||
"test_plugin_mesher",
|
||
"test_plugin_extensions",
|
||
"test_plugin_crl",
|
||
"test_plugin_abi19",
|
||
"test_cov_plugin_lifecycle",
|
||
"test_cov_wave9_ssi",
|
||
"test_cov_wave9_heal",
|
||
"test_cov_wave9_generative",
|
||
"test_cov_wave9_mesh"
|
||
],
|
||
"ctest_filter": null,
|
||
"line_pct_gate": 53.0,
|
||
"line_pct_goal": 53.0,
|
||
"notes": "W60 实测(2026-11-20,core-plus-v2 100 目标):纳入 W54 新增 4 个覆盖率补测目标(test_cov_wave9_ssi/_heal/_generative/_mesh,49 个 gtest 用例)后用 --update-baseline 写入;line_pct_gate 由 52.0 提升到 53.0(baseline 全链路实测 line ≈54%,留约 1pp 余量)。W48 历史:96 targets,build-cov8,--update-baseline 写入。与 core-plus 的差异仅在追加 41 个模块/补测目标,core 59 目标保持一致以复用测量口径。",
|
||
"expected_min_cases": 2200
|
||
},
|
||
"core-plus-v3": {
|
||
"description": "Wave14 W84 core-plus-v3 profile(2026-11-21):在 core-plus-v2 的 100 目标基础上新增 12 个目标(共 112),补齐 Wave13 W74/W75/W76 新路径与 assembly/geometry 辅助模块此前完全未纳入测量口径的域覆盖,并把硬门禁从 53.0% 提升到 55.0%。新增目标分三组:1) Wave13 新路径验收目标 test_b1_seam(BREP B1 曲线边界弦保留/共享边界归属,W74,src/brep/brep_boolean.cpp +552 行)、test_curved_boolean_assemble + test_curved_boolean_domain(CB2→CB4 域契约:延长段显式 tag/A-B 同源配对/面域相对 UV 容差/弧长事件合并,W75,curved_boolean_assemble.cpp +380、curved_boolean_domain.cpp +82)、test_assembly_fuse(装配 seam 网络诊断 + 失败成员 UV 归一化重试,W76,ssi_boolean.cpp +372、assembly_fuse.cpp +113);这些目标此前从未进入任何 coverage profile,其默认 ctest 用例(env 门控用例自动 skip)是 W74-76 新代码默认/回退分支的主要覆盖来源。2) assembly/geometry 辅助模块目标 test_assembly/_constraints/_instance/_patterns(vde_assembly 模块 1.8k 行此前 0 覆盖)与 test_measure/_measure_planar_spanned/test_region_analysis(geometry 测量/区域分析辅助路径)。3) W84 新增语义补测目标 test_cov_wave14_newbranches(13 个用例):W75 延长段 tag 编码契约(kExtendedTagBase/make_extended_tag/extended_tag_source/is_extended_tag 与 既有 -1 边界语义不冲突、可双射回读)、W75 CB2 空图/切图默认与面域相对容差回退等价、W76 UV 重试门控必须同时满足 VDE_W76_UV_RETRY 与 VDE_CB3_UV_NORM(单开/0/空串回退默认路径,报告逐值一致)、W76 DIAG 不改变几何、W74 门控在 region 通道关闭时逐值惰性。依然排除 test_curved_boolean_baseline(gcov 插桩敏感 CBRA 预算用例)与 test_plugin_ecosystem(单目标覆盖率构建下为 1/8 plugin kind 误报)。 4) 覆盖率构建专属防护:test_measure_planar_spanned 的 W61/W66/W72 性能 sanity 使用绝对微秒阈值,在 gcov 插桩 + 并行负载下不具可比性(W84 实测 multi-span 30.6ms vs 20ms 阈值),故仅在 -DVDE_ENABLE_COVERAGE=ON 构建下定义 VDE_COVERAGE_BUILD 并跳过这些时间断言;数值/位级/几何语义断言与覆盖统计不变,普通构建的 perf sanity 语义不变(见 tests/brep/CMakeLists.txt 与 wave14 notes §3.7)。",
|
||
"targets": [
|
||
"test_brep",
|
||
"test_brep_boolean",
|
||
"test_boolean_oracle",
|
||
"test_boolean_fallback",
|
||
"test_brep_validate",
|
||
"test_analytic_ssi",
|
||
"test_analytic_trim",
|
||
"test_measure_consistency",
|
||
"test_mesh_watertight",
|
||
"test_bezier",
|
||
"test_nurbs",
|
||
"test_curve_intersect",
|
||
"test_surface_intersection",
|
||
"test_halfedge",
|
||
"test_delaunay",
|
||
"test_mesh_quality",
|
||
"test_mesh_repair",
|
||
"test_boolean_2d",
|
||
"test_exact_predicates",
|
||
"test_brep_modeling",
|
||
"test_boolean_robustness",
|
||
"test_brep_heal",
|
||
"test_tolerance",
|
||
"test_exact_face_trim",
|
||
"test_ssi_boolean",
|
||
"test_topo_naming",
|
||
"test_geom2d",
|
||
"test_curve_robustness",
|
||
"test_nurbs_operations",
|
||
"test_surface_tools",
|
||
"test_mesh_diagnostics",
|
||
"test_mesh_robustness",
|
||
"test_display_mesh",
|
||
"test_marching_cubes",
|
||
"test_boolean_mesh",
|
||
"test_polygon_offset",
|
||
"test_point",
|
||
"test_transform",
|
||
"test_polygon",
|
||
"test_distance",
|
||
"test_dxf",
|
||
"test_dxf_write_entities",
|
||
"test_dwg",
|
||
"test_dwg_object",
|
||
"test_dwg_writer",
|
||
"test_industrial_formats",
|
||
"test_all_formats",
|
||
"test_format_roundtrip",
|
||
"test_format_detect",
|
||
"test_io_gltf",
|
||
"test_io_3mf",
|
||
"test_io_stl",
|
||
"test_io_ply",
|
||
"test_serializer",
|
||
"test_vde_format",
|
||
"test_vde_log",
|
||
"test_cov_foundation_serialization",
|
||
"test_cov_boolean_heal",
|
||
"test_cov_ssi",
|
||
"test_vde_capi",
|
||
"test_capi",
|
||
"test_capi_extended",
|
||
"test_capi_display",
|
||
"test_capi_split",
|
||
"test_capi_wireframe_tight",
|
||
"test_cov_capi_boundary",
|
||
"test_bvh",
|
||
"test_r_tree",
|
||
"test_octree",
|
||
"test_spatial_index",
|
||
"test_incremental_bvh",
|
||
"test_kd_tree",
|
||
"test_broadphase",
|
||
"test_cov_spatial_bvh",
|
||
"test_sdf_primitives",
|
||
"test_sdf_operations",
|
||
"test_sdf_tree",
|
||
"test_sdf_to_mesh",
|
||
"test_sdf_gradient",
|
||
"test_sdf_optimize",
|
||
"test_sdf_torch_bridge",
|
||
"test_cov_sdf_field",
|
||
"test_compute_backend",
|
||
"test_lbvh",
|
||
"test_gpu_consistency",
|
||
"test_gpu_bvh",
|
||
"test_cov_compute_simd",
|
||
"test_plugin_manager",
|
||
"test_plugin_integration",
|
||
"test_plugin_sdk",
|
||
"test_plugin_security",
|
||
"test_plugin_mesher",
|
||
"test_plugin_extensions",
|
||
"test_plugin_crl",
|
||
"test_plugin_abi19",
|
||
"test_cov_plugin_lifecycle",
|
||
"test_cov_wave9_ssi",
|
||
"test_cov_wave9_heal",
|
||
"test_cov_wave9_generative",
|
||
"test_cov_wave9_mesh",
|
||
"test_b1_seam",
|
||
"test_curved_boolean_assemble",
|
||
"test_curved_boolean_domain",
|
||
"test_assembly_fuse",
|
||
"test_assembly",
|
||
"test_assembly_constraints",
|
||
"test_assembly_instance",
|
||
"test_assembly_patterns",
|
||
"test_measure",
|
||
"test_measure_planar_spanned",
|
||
"test_region_analysis",
|
||
"test_cov_wave14_newbranches"
|
||
],
|
||
"ctest_filter": null,
|
||
"line_pct_gate": 55.0,
|
||
"line_pct_goal": 55.0,
|
||
"notes": "W84 实测(2026-11-21,core-plus-v3 112 目标):以 --update-baseline 写入实测基线(line_pct_gate 55.0,profile-gate 模式下 --strict-baseline 校验 baseline 条目有效性与 v3 目标集一致性)。相对 W60 core-plus-v2(100 目标、line 54.5716%/func 63.4646%/branch 33.9728%):+12 目标;W74/W75/W76 与 vde_assembly/measure 覆盖增量见 docs/planning/wave14/cov-notes.md §3。gate 提升节奏沿用 W60 建议(+2pp/波,实测留 1pp 余量),nightly 中 v3 门禁为 opt-in(vars.VDE_COV_PROFILE_V3,兼容旧名 VDE_ENABLE_CORE_PLUS_V3),v3 report-only 归档常开。;W84 实测暴露的 gcov 敏感性能 sanity(W61/W72)已做覆盖率构建专属防护(VDE_COVERAGE_BUILD,仅跳过时间上界断言),未从 profile 删除目标、未放宽普通构建阈值。",
|
||
"expected_min_cases": 2400
|
||
}
|
||
},
|
||
"determinism": {
|
||
"description": "KC-Q05 确定性门:固定 OMP_NUM_THREADS=1 等环境,同一批 gtest 可执行文件重复 N 次,归一化 JSON/标准输出后比对哈希。目标集小而快,覆盖精确谓词/基础几何/曲线/网格/布尔 2D 与 brep 布尔。",
|
||
"runs": 3,
|
||
"env": {
|
||
"OMP_NUM_THREADS": "1",
|
||
"OMP_DYNAMIC": "FALSE",
|
||
"OMP_WAIT_POLICY": "PASSIVE",
|
||
"VDE_CURVED_BOOLEAN": "1",
|
||
"MALLOC_ARENA_MAX": "2"
|
||
},
|
||
"timeout_per_target": 300,
|
||
"targets": [
|
||
"test_exact_predicates",
|
||
"test_point",
|
||
"test_transform",
|
||
"test_polygon",
|
||
"test_bezier",
|
||
"test_nurbs",
|
||
"test_halfedge",
|
||
"test_boolean_2d",
|
||
"test_brep_boolean"
|
||
],
|
||
"notes": "test_brep_boolean 覆盖 legacy 布尔 OMP 并行装配路径(audit 533 report 519 已知风险面);OMP_NUM_THREADS=1 下必须与重复运行一致。",
|
||
"expected_min_cases": 180
|
||
}
|
||
}
|