def get_network_summary_dict(graph: BELGraph) -> Mapping:
return dict(<EOL>function_count=count_functions(graph),<EOL>modifications_count=get_modifications_count(graph),<EOL>relation_count=count_relations(graph),<EOL>authors_count=count_authors(graph).most_common(<NUM_LIT:15>),<EOL>variants_count=count_variants(graph),<EOL>namespaces_count=count_namespaces(graph),<EOL>hub_data={<EOL>(<EOL>node.name or node.identifier<EOL>if NAME in node or IDENTIFIER in node else<EOL>str(node)<EOL>): degree<EOL>for node, degree in get_top_hubs(graph, n=<NUM_LIT:15>)<EOL>},<EOL>disease_data={<EOL>(<EOL>node.name or node.identifier<EOL>if NAME in node or IDENTIFIER in node else<EOL>str(node)<EOL>): count<EOL>for node, count in get_top_pathologies(graph, n=<NUM_LIT:15>)<EOL>},<EOL>regulatory_pairs=[<EOL>get_pair_tuple(u, v)<EOL>for u, v in get_regulatory_pairs(graph)<EOL>],<EOL>unstable_pairs=list(itt.chain(<EOL>(get_pair_tuple(u, v) + ('<STR_LIT>',) for u, v, in get_chaotic_pairs(graph)),<EOL>(get_pair_tuple(u, v) + ('<STR_LIT>',) for u, v, in get_dampened_pairs(graph)),<EOL>)),<EOL>contradictory_pairs=[<EOL>get_pair_tuple(u, v) + (relation,)<EOL>for u, v, relation in get_contradiction_summary(graph)<EOL>],<EOL>contradictory_triplets=list(itt.chain(<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in<EOL>get_separate_unstable_correlation_triples(graph)),<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in get_mutually_unstable_correlation_triples(graph)),<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in get_jens_unstable(graph)),<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in get_increase_mismatch_triplets(graph)),<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in get_decrease_mismatch_triplets(graph)),<EOL>)),<EOL>unstable_triplets=list(itt.chain(<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in get_chaotic_triplets(graph)),<EOL>(get_triplet_tuple(a, b, c) + ('<STR_LIT>',) for a, b, c in get_dampened_triplets(graph)),<EOL>)),<EOL>causal_pathologies=sorted({<EOL>get_pair_tuple(u, v) + (graph[u][v][k][RELATION],)<EOL>for u, v, k in filter_edges(graph, has_pathology_causal)<EOL>}),<EOL>undefined_namespaces=get_undefined_namespaces(graph),<EOL>undefined_annotations=get_undefined_annotations(graph),<EOL>namespaces_with_incorrect_names=get_namespaces_with_incorrect_names(graph),<EOL>unused_namespaces=get_unused_namespaces(graph),<EOL>unused_annotations=get_unused_annotations(graph),<EOL>unused_list_annotation_values=get_unused_list_annotation_values(graph),<EOL>naked_names=get_naked_names(graph),<EOL>error_count=count_error_types(graph),<EOL>error_groups=get_most_common_errors(graph),<EOL>syntax_errors=get_syntax_errors(graph),<EOL>citation_years=get_citation_years(graph),<EOL>confidence_count=count_confidences(graph),<EOL>)<EOL>
Create a summary dictionary.