Orchestrata Ultimate › Tests › Reference › scripts › test_benchmark_prolog_codeintel
Tests reference — tests/scripts/test_benchmark_prolog_codeintel.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_benchmark_prolog_codeintel.py
source · 42 tests · 946 lines
Tests for scripts/benchmark_prolog_codeintel.py — the Prolog-vs-Python
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_quote_atom_escapes_quotes_and_backslashes |
221 | |
| function | test_stats_of_reports_median_min_max_n |
228 | |
| function | test_query_timing_stats_property |
233 | |
| function | test_fmt_ms_sub_millisecond_and_above |
241 | |
| function | test_qnames_of |
248 | |
| function | test_collect_environment_real_swipl |
258 | |
| function | test_closure_diamond_cycle_and_missing_start |
273 | |
| function | test_bfs_path_self_direct_multihop_and_unreachable |
280 | |
| function | test_paths_to_target_enumerates_simple_paths_only |
291 | |
| function | test_py_mem_cycles_canonicalizes_and_dedupes |
303 | |
| function | test_build_graph_all_relation_kinds |
326 | |
| function | test_select_workloads_chain_covers_dedupe_fill_and_wrapper |
362 | |
| function | test_select_workloads_no_wrapper_symbol_when_all_have_uppercase_l |
390 | |
| function | test_select_workloads_empty_graph |
397 | |
| function | test_cli_name_for_symbol_method_and_function |
410 | |
| function | test_time_warm_discards_warmup_and_keeps_last_result |
419 | |
| function | test_workload_summary_table_skips_empty_modes |
439 | |
| function | test_workload_detail_table_ragged_modes_and_janus_first_call |
451 | |
| function | test_verdict_line_all_branches |
467 | |
| function | test_build_report_full_with_cli_verdicts_and_wrapper_error |
544 | |
| function | test_build_report_janus_unavailable_and_unrelated_cli_labels |
576 | |
| function | test_build_report_available_without_consult_time_and_wrapper_total |
599 | |
| function | test_kb_pipeline_facts_edges_graph |
619 | |
| function | test_select_workloads_on_real_kb |
640 | |
| function | test_measure_consult_overhead_real_swipl |
650 | |
| function | test_psub_query_and_time_psub_real_goal |
657 | |
| function | test_psub_query_failing_goal_raises |
668 | |
| function | test_generate_facts_missing_ast_raises |
673 | |
| function | test_dump_edges_missing_facts_raises |
680 | |
| function | test_janus_sanity_check_ok |
685 | |
| function | test_janus_sanity_check_bad_rules_fails |
690 | |
| function | test_run_w1_parity_without_janus |
709 | |
| function | test_run_w1_detects_parity_mismatch |
726 | |
| function | test_run_w2_parity_both_directions |
749 | |
| function | test_run_w3_parity_without_janus |
772 | |
| function | test_run_w3_detects_parity_mismatch |
792 | |
| function | test_run_w3_with_janus_in_process |
810 | |
| function | test_run_w4_parity_without_janus |
830 | |
| function | test_run_w4_detects_non_edge_step_in_prolog_path |
847 | |
| function | test_main_missing_ast_json_returns_2 |
877 | |
| function | test_main_skip_cli_end_to_end |
885 | |
| function | test_main_full_cli_end_to_end |
921 | Whole main() in-process, Py-cli block included: call-graph + |