REQ-DDB-WIKI-019: One system graph, at several zoom levels, laid out deterministically

← Requirements

What it requires

  1. build_graph derives components from path prefixes (a file belongs to its package; a declared wiki.components grouping wins), links between components aggregating call edges and shared keys, and a point cloud of every function placed inside its component's box.
  2. Lens facts ride on components and symbols — requirements by evidence tier, test scope, threads, changed functions — and a lens whose source is absent is absent (no impact report, no changed key), while an empty report is a measured zero.
  3. Layout is computed in Python and is deterministic: callers sit in layers above their callees.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site5

See it on the map

How it is met

implemented byresults (67 tests)_blocksbuild_graphcomponent_ofpackage_ofweb_data67 passed67 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (67)

Linked directly

53 tests: 53 passed

53 passed
testresultlinked byimplementers exercisedcalls away
test_an_audience_can_redact_ownerspassedmeasured5 of 5—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured5 of 5—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured5 of 5—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured5 of 5—
test_a_flow_follows_the_calls_in_order_with_framespassedmeasured2 of 5: component_of, package_of—
test_package_lanes_are_the_maps_componentspassedmeasured2 of 5: component_of, package_of—
test_each_function_carries_the_requirements_it_implementspassedmeasured5 of 51
test_the_change_lens_exists_only_with_an_impact_reportpassedmeasured5 of 51
test_a_declared_block_still_wins_over_vendorpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_a_file_coupled_to_no_declared_block_is_unassignedpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_an_undeclared_file_joins_the_block_it_is_most_coupled_topassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_components_links_and_layoutpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_lens_facts_ride_on_components_and_absent_sources_stay_absentpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_test_code_is_a_lens_not_a_boxpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_the_point_cloud_places_every_function_inside_its_boxpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_vendored_code_is_its_areas_block_never_joined_by_couplingpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_vendored_code_is_its_areas_block_with_nothing_declaredpassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_with_nothing_declared_blocks_are_packagespassedmeasured4 of 5: _blocks, build_graph, component_of, package_of1
test_a_file_belongs_to_its_package_unless_a_grouping_is_declaredpassedmeasured2 of 5: component_of, package_of1
test_the_package_depth_is_declaredpassedmeasured1 of 5: package_of1
test_a_flow_is_played_by_its_functions_in_call_orderpassedmeasured5 of 52
test_calls_between_files_are_countedpassedmeasured5 of 52
test_each_file_is_one_slice_of_its_blockpassedmeasured5 of 52
test_edges_and_block_links_are_carried_for_walking_and_the_overviewpassedmeasured5 of 52
test_every_block_is_a_wedge_and_wedges_do_not_overlappassedmeasured5 of 52
test_functions_sit_in_their_block_on_rings_by_call_depthpassedmeasured5 of 52
test_the_page_embeds_the_data_a_canvas_and_a_table_viewpassedmeasured5 of 52
test_a_build_writes_the_summary_beside_the_sitepassedmeasured5 of 53
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured5 of 53
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured5 of 53
test_a_model_no_code_realises_gets_no_pagepassedmeasured5 of 53
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured5 of 53
test_a_partner_site_carries_no_call_textpassedmeasured5 of 53
test_a_partner_site_lists_no_assertionspassedmeasured5 of 53
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured5 of 53
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured5 of 53
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured5 of 53
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured5 of 53
test_build_writes_a_self_contained_sitepassedmeasured5 of 53
test_exports_obey_the_audiencepassedmeasured5 of 53
test_needs_json_contributes_requirementspassedmeasured5 of 53
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured5 of 53
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured5 of 53
test_versioned_builds_and_a_diff_between_thempassedmeasured5 of 53
test_versions_burn_down_toward_roadmap_milestonespassedmeasured5 of 53
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured5 of 54
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured5 of 54
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured5 of 54
test_an_empty_report_is_a_measured_zeropassedmeasured5 of 54
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured5 of 54
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured5 of 54
test_the_impact_page_links_the_map_change_lenspassedmeasured5 of 54
test_without_a_report_the_change_is_not_measuredpassedmeasured5 of 54
Reached through calls

14 tests: 14 passed

14 passed
testresultlinked byimplementers exercisedcalls away
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred2 of 5: build_graph, web_data4
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred2 of 5: build_graph, web_data4
test_check_refresh_brings_the_index_current_firstpassedinferred2 of 5: build_graph, web_data5
test_the_cli_check_exits_nonzero_on_a_problempassedinferred2 of 5: build_graph, web_data5
test_the_cli_creates_the_output_directorypassedinferred2 of 5: build_graph, web_data5
test_the_cli_prints_the_flow_as_jsonpassedinferred2 of 5: build_graph, web_data5
test_the_cli_prints_the_tracepassedinferred2 of 5: build_graph, web_data5
test_the_cli_takes_an_out_of_tree_configpassedinferred2 of 5: build_graph, web_data5
test_the_cli_writes_markdown_without_sphinxpassedinferred2 of 5: build_graph, web_data5
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred2 of 5: build_graph, web_data5
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred2 of 5: build_graph, web_data5
test_the_flow_verb_prints_svgpassedinferred2 of 5: build_graph, web_data5
test_the_trace_cli_reads_imports_from_the_configpassedinferred2 of 5: build_graph, web_data5
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred2 of 5: build_graph, web_data5

Flows through it