Contents
Scripts Directory Map
The scripts are intentionally kept in one flat directory for compatibility with existing Makefile targets and external copy/paste commands. Use this map to find the right category without relying on filename memory.
Release gates
These scripts are the main script-backed pieces of the product-quality safety
net. make test-release also runs Makefile-level gates such as
policy-safety-selftest and GraphRAG installcheck, so treat the Makefile as
the source of truth for exact release composition.
run_pg_core_regression_smoke.shtest_dump_restore.shtest_toast_and_concurrent_compact.shtest_alter_table.shtest_partition_lock_behavior.shtest_crash_recovery.shtest_concurrent_online_ops.shtest_hnsw_chunked_cache.shtest_pg_upgrade.shtest_graph_rag_lifecycle.shtest_graph_rag_crash_recovery.shtest_graph_rag_concurrent.sh
Related Makefile-level release gates:
policy-safety-selftest- GraphRAG
installcheck REGRESS='pg_sorted_heap sorted_hnsw graph_rag'
Product benchmarks
These scripts compare stable or beta product surfaces.
bench_sorted_heap.shbench_crud_comparison.shbench_sorted_hnsw_vs_pgvector.shbench_partitioned_sorted_hnsw.shbench_ann_matrix_offline_smoke.shbench_nomic_local_ann.py
Research and experimental benchmarks
These scripts support FlashHadamard, TurboQuant, KV-routing, and exploratory benchmark lanes. They are not release gates.
bench_turboquant_retrieval.pybench_turboquant_packed_screen.pybench_flashhiggs2_sweep.pybench_fh_kernel.cbench_fh_int16_compare.sqlbench_kv_routing_exp1a.pybench_gutenberg_k8s_ann.shbench_graph_rag_multidepth_segmented_aws.shrepeat_graph_rag_code_corpus_builds_aws.shrepeat_graph_rag_multihop_builds_aws.sh
Policy, planner, and selftest harnesses
These scripts validate workflow contracts, planner-cost sentinels, and long-running policy-review probes. They are valuable for development, but not the first place new users should start.
run_unnest_ab_*selftest_run_unnest_ab_*compare_unnest_ab_*benchmark_unnest_ab_*accumulate_unnest_ab_*derive_unnest_ab_*run_planner_cost_probe.shselftest_run_planner_probe_with_summary.shcompare_planner_probe_logsets.shsummarize_planner_probe_log.sh
Operational helpers
find_vector_python.shtest_shared_relation_scan_stats.shtest_graph_builder.shrepro_shared_cache_multihop.shtmp-cleanis exposed through the Makefile rather than a standalone script.