REQ-DDB-WIKI-006: Mutation records are reported per requirement

← Requirements

What it requires

  1. A mutation record (wiki.tests.mutations, clew wiki trace --mutations) is a list of {mechanism, test, killed}; an entry missing a field is refused.
  2. Each record attaches to every requirement its mechanism implements as (mechanism, test, killed|survived); the field is None when no record was given.
  3. clew wiki check names a mechanism the index does not hold.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site1

See it on the map

How it is met

implemented bytestsresultparse_mutationstest_a_catalog_that_moved_since_its_pin_fails_checkpassedtest_a_declared_docs_glob_that_matches_nothing_is_still_reportedpassedtest_a_default_docs_glob_that_matches_nothing_is_not_a_problempassedtest_a_function_names_a_node_with_the_node_tagpassedtest_a_list_of_scalars_is_a_list_of_idspassedtest_a_model_no_code_realises_gets_no_pagepassedtest_a_node_tag_mentioned_in_prose_is_not_a_referencepassedtest_a_repository_with_pinned_catalogues_gets_the_product_tracepassedtest_a_rule_must_name_known_requirementspassedtest_a_sub_catalog_is_read_at_its_pinpassedtest_before_tests_a_report_a_run_produces_is_not_yet_requiredpassedtest_check_names_every_missing_importpassedtest_check_names_every_problempassedtest_check_passes_a_valid_section_and_imports_no_sphinxpassedtest_check_refresh_brings_the_index_current_firstpassedtest_check_refuses_a_reference_to_an_undeclared_nodepassedtest_check_refuses_an_unknown_palette_tokenpassedtest_mutation_records_attach_to_the_requirement_their_mechanism_implementspassedtest_sources_load_nodes_from_toml_mappings_and_yaml_listspassedtest_the_cli_check_exits_nonzero_on_a_problempassedtest_the_cli_creates_the_output_directorypassedtest_the_cli_prints_the_flow_as_jsonpassedtest_the_cli_prints_the_tracepassedtest_the_cli_takes_an_out_of_tree_configpassedtest_the_cli_writes_markdown_without_sphinxpassedtest_the_cli_writes_otlp_json_and_the_overlaypassedtest_the_command_prints_yaml_and_applies_a_reviewed_filepassedtest_the_flow_verb_prints_svgpassedtest_the_site_names_a_declared_report_it_could_not_readpassedtest_the_site_shows_nodes_rules_catalogs_and_mutationspassedtest_the_trace_cli_reads_imports_from_the_configpassedtest_versioned_builds_and_a_diff_between_thempassedtest_wiki_check_prints_ears_notes_without_failing_on_thempassed

Show on the map

Implemented by

Tests (33)

Linked directly

15 tests: 15 passed

15 passed
testresultlinked byimplementers exercisedcalls away
test_a_model_no_code_realises_gets_no_pagepassedmeasured1 of 1: parse_mutations—
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured1 of 1: parse_mutations—
test_mutation_records_attach_to_the_requirement_their_mechanism_implementspassedmeasured1 of 1: parse_mutations—
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured1 of 1: parse_mutations—
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured1 of 1: parse_mutations—
test_versioned_builds_and_a_diff_between_thempassedmeasured1 of 1: parse_mutations—
test_a_function_names_a_node_with_the_node_tagpassedcatalogunknown—
test_a_list_of_scalars_is_a_list_of_idspassedcatalogunknown—
test_a_node_tag_mentioned_in_prose_is_not_a_referencepassedcatalogunknown—
test_a_sub_catalog_is_read_at_its_pinpassedcatalogunknown—
test_sources_load_nodes_from_toml_mappings_and_yaml_listspassedcatalogunknown—
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured1 of 1: parse_mutations4
test_a_rule_must_name_known_requirementspassedmeasured1 of 1: parse_mutations4
test_check_refuses_a_reference_to_an_undeclared_nodepassedmeasured1 of 1: parse_mutations4
test_the_cli_takes_an_out_of_tree_configpassedmeasured1 of 1: parse_mutations6
Reached through calls

18 tests: 18 passed

18 passed
testresultlinked byimplementers exercisedcalls away
test_a_declared_docs_glob_that_matches_nothing_is_still_reportedpassedinferred1 of 1: parse_mutations4
test_a_default_docs_glob_that_matches_nothing_is_not_a_problempassedinferred1 of 1: parse_mutations4
test_before_tests_a_report_a_run_produces_is_not_yet_requiredpassedinferred1 of 1: parse_mutations4
test_check_names_every_missing_importpassedinferred1 of 1: parse_mutations4
test_check_names_every_problempassedinferred1 of 1: parse_mutations4
test_check_passes_a_valid_section_and_imports_no_sphinxpassedinferred1 of 1: parse_mutations4
test_check_refuses_an_unknown_palette_tokenpassedinferred1 of 1: parse_mutations4
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred1 of 1: parse_mutations4
test_check_refresh_brings_the_index_current_firstpassedinferred1 of 1: parse_mutations6
test_the_cli_check_exits_nonzero_on_a_problempassedinferred1 of 1: parse_mutations6
test_the_cli_creates_the_output_directorypassedinferred1 of 1: parse_mutations6
test_the_cli_prints_the_flow_as_jsonpassedinferred1 of 1: parse_mutations6
test_the_cli_prints_the_tracepassedinferred1 of 1: parse_mutations6
test_the_cli_writes_markdown_without_sphinxpassedinferred1 of 1: parse_mutations6
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred1 of 1: parse_mutations6
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred1 of 1: parse_mutations6
test_the_flow_verb_prints_svgpassedinferred1 of 1: parse_mutations6
test_the_trace_cli_reads_imports_from_the_configpassedinferred1 of 1: parse_mutations6