← Back to list

improved-ui
by tpn
A performant, parallel, probabilistic, random acyclic-graph, low-latency, perfect hash generation library.
⭐ 86🍴 15📅 Jan 23, 2026
SKILL.md
name: improved-ui description: Agent companion for the PerfectHash UI: command builder guidance, environment/bootstrap steps, build flows, tests, and analysis checkpoints.
Improved UI Companion
User / Create
- Generate a CLI command for a single keys file:
PerfectHashCreate.exe <KeysPath> <OutputDir> Chm01 MultiplyShiftRX And <MaxConcurrency>
- Bulk create across a keys directory:
PerfectHashBulkCreate.exe <KeysDir> <OutputDir> Chm01 MultiplyShiftRX And <MaxConcurrency>
- UI runner (local):
cd ui && npm run server- Or
cd ui && npm run dev:fullto run UI + runner together.
- Runner defaults to port 7071; override with
PERFECTHASH_UI_SERVER_PORT. - UI can target a custom endpoint via
VITE_RUNNER_URL. - Recommended hash set for exploration: MultiplyShiftR, MultiplyShiftLR, MultiplyShiftRMultiply, MultiplyShiftR2, MultiplyShiftRX, Mulshrolate1RX, Mulshrolate2RX, Mulshrolate3RX, Mulshrolate4RX.
- Common flags:
--SkipTestAfterCreateto skip verification/benchmarks.--Compileto build generated outputs (msbuild must be on PATH).--IndexOnlyto omit table values array and associated projects.
Developer / Environment
- Install OS dependencies:
scripts/install-deps/ubuntu.shscripts/install-deps/fedora.shscripts/install-deps/arch.shscripts/install-deps/windows.ps1
- Optional Rust/Cargo install:
WITH_RUST=1 scripts/install-deps/ubuntu.shWITH_RUST=1 scripts/install-deps/fedora.shWITH_RUST=1 scripts/install-deps/arch.shWITH_RUST=1 powershell -ExecutionPolicy Bypass -File scripts/install-deps/windows.ps1
- Linux conda environment:
mamba env create -f conda/environments/dev-linux_os-linux_arch-x86_64_py-313_cuda-none_compiler-llvm.yamlmamba activate dev-linux_os-linux_arch-x86_64_py-313_cuda-none_compiler-llvm
- UI setup:
cd ui && npm install
- Environment UI bootstrap:
- Use the Bootstrap button to run system prerequisites then conda create.
- Conda create uses composable Python/CUDA/compiler selections and
conda run. - If sudo is required, the UI prompts for the password and sends it to the session.
Developer / Build
- Configure via
build.sh(auto-selects Ninja when available):./build.sh./build.sh -DCMAKE_BUILD_TYPE=Release
- Build:
cmake --build build --config Release
- Windows:
msbuild /nologo /m /t:Rebuild /p:Configuration=Release;Platform=x64 src/PerfectHash.sln
- Build UI:
- Use the CMake configure/build/install rows to run
cmakecommands with selected generators, build types, and PerfectHash options.
- Use the CMake configure/build/install rows to run
Developer / Test
- CMake/CTest:
ctest --test-dir build --output-on-failure
- CLI regression:
cmake -P tests/run_cli_test.cmakecmake -P tests/run_cli_codegen_test.cmake
- UI:
cd ui && npm testcd ui && npm run test:e2e
Analysis
- CSV outputs live in the table output directory; summarize coverage and timing deltas.
- Use the curated good hash set when benchmarking.
- Track output DLL size and Index() throughput across runs.
Score
Total Score
80/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon
