1d15eca866
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 27s
CI / typecheck (pull_request) Successful in 35s
CI / security (pull_request) Successful in 50s
CI / unit_tests (pull_request) Successful in 2m17s
CI / integration_tests (pull_request) Successful in 3m4s
CI / docker (pull_request) Successful in 46s
CI / coverage (pull_request) Successful in 4m36s
CI / lint (push) Successful in 12s
CI / build (push) Successful in 14s
CI / quality (push) Successful in 18s
CI / typecheck (push) Successful in 32s
CI / security (push) Successful in 32s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 3m32s
CI / docker (push) Successful in 39s
CI / integration_tests (push) Successful in 4m25s
CI / coverage (push) Successful in 5m49s
CI / benchmark-publish (push) Successful in 17m35s
CI / benchmark-regression (pull_request) Successful in 28m44s
Add the Depth/Breadth Projection System and Skeleton Context Propagation as specified in docs/specification.md §25265-25340 and §43057-43128: - ProjectionSpec: frozen Pydantic model capturing a projection request (focus, breadth, depth, gradient, domain) - ProjectedNode: frozen model for materialized graph nodes with resolved depth and distance - DepthBreadthProjector: stateless BFS projector over UKO graph adjacency with depth gradient (linear reduction by distance) - PlanContextInheritance: service computing child plan context from parent assembled context with skeleton injection - ChildContextResult: frozen result model with request and skeleton - InheritanceConfig: frozen config for skeleton_ratio (default 0.2) - Built-in DetailLevelMap presets for code, docs, and database Includes 27 Behave BDD scenarios, 9 Robot Framework integration tests, and ASV benchmarks for all components. ISSUES CLOSED: #544
50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
*** Settings ***
|
|
Documentation Integration tests for depth/breadth projection system
|
|
Library helper_depth_breadth_projection.py
|
|
|
|
*** Test Cases ***
|
|
ProjectionSpec Can Be Created
|
|
[Documentation] Verify ProjectionSpec model creation
|
|
${result}= Create Projection Spec class://Auth 2 9
|
|
Should Be True ${result}
|
|
|
|
ProjectedNode Can Be Created
|
|
[Documentation] Verify ProjectedNode model creation
|
|
${result}= Create Projected Node class://Foo 1 4
|
|
Should Be True ${result}
|
|
|
|
Projector Performs BFS Traversal
|
|
[Documentation] DepthBreadthProjector BFS from focus
|
|
${count}= Project And Count Nodes A 2 9
|
|
Should Be Equal As Integers ${count} 3
|
|
|
|
Projector Applies Depth Gradient
|
|
[Documentation] Verify gradient reduces depth at distance
|
|
${result}= Project With Gradient A 2 9
|
|
Should Be True ${result}
|
|
|
|
Projector Converts To Fragments
|
|
[Documentation] project_to_fragments produces ContextFragments
|
|
${count}= Project To Fragments Count A 1 4
|
|
Should Be Equal As Integers ${count} 2
|
|
|
|
Code Detail Map Resolves Levels
|
|
[Documentation] Built-in code detail map
|
|
${depth}= Resolve Code Level FULL_SOURCE
|
|
Should Be Equal As Integers ${depth} 9
|
|
|
|
Inheritance Computes Child Context
|
|
[Documentation] PlanContextInheritance produces ChildContextResult
|
|
${result}= Compute Child Context Default class://Child 1000
|
|
Should Be True ${result}
|
|
|
|
Inheritance With Skeleton Injection
|
|
[Documentation] Skeleton compressor fragments are injected
|
|
${count}= Compute Child With Skeleton class://Child 1000
|
|
Should Be Equal As Integers ${count} 2
|
|
|
|
Extract Child Focus From Decisions
|
|
[Documentation] extract_child_focus returns decisions
|
|
${result}= Extract Focus class://A class://B
|
|
Should Be True ${result}
|