Dankserver (frank-default-small): - Stock llama.cpp (latest master, CUDA build) replaces ik_llama.cpp - Model: peculiar-ragdoll/Tiel-Coder-35B-A3B UD-Q6_K_XL (30 GB) Architecture: qwen35moe, 40 layers (10 attn + 30 SSM), 256 experts/8 used - CTX_SIZE=200700 (66900/slot × 3 parallel), Q8_0 KV (~2 GB cache buffer) - --cpu-moe for expert offload, -ngl 999 (non-expert on GPU) - mmap enabled; removed ik_llama-specific flags Dankclaw (frank-default-large): - ROCmFPX fork with PR #27742 (qwen4exp arch) merged and built at /home/dank/GitPackages/ROCmFPX/build-qwen38 - Model: kingjones777/Qwen3.8-Flash-Next-ROCmFP4-STRIX_LEAN (98.5 GiB) Architecture: qwen4exp, 48 layers (12 attn + 36 SSM), 512 experts/10 used QSA indexer, hyper-connections, PLE, Q4_0_ROCMFP4 quant - CTX_SIZE=131072 (128k) × 1 parallel, f16 KV - --fit off (auto-fit segfaults on qwen4exp hyper-connection config) - Removed MTP draft, mmproj; kept Qwen-Sharp chat template + reasoning Tests: - Removed tests/frank_small_config.bats and tests/frank_large_config.bats (moved to .AGENTTRASH/). These were config-assertion tests that checked 'is variable X set to Y' rather than testing the serve script's actual behavior. All 199 remaining tests pass. - Updated test-changed.sh mappings and changed_tests.bats to reflect the removal.
31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
#!/usr/bin/env bats
|
|
# Seam: the changed-test wrapper selects only the tests associated with
|
|
# staged paths and refuses to silently run the entire suite.
|
|
|
|
load helpers
|
|
|
|
@test "changed-test wrapper is executable and uses staged diff by default" {
|
|
[ -x "$REPO_ROOT/scripts/test-changed.sh" ]
|
|
[ -x "$REPO_ROOT/.githooks/pre-commit" ]
|
|
run grep -F 'scripts/test-changed.sh' "$REPO_ROOT/.githooks/pre-commit"
|
|
[ "$status" -eq 0 ]
|
|
run grep -F 'git diff --cached' "$REPO_ROOT/scripts/test-changed.sh"
|
|
[ "$status" -eq 0 ]
|
|
}
|
|
|
|
@test "changed-test wrapper maps a compose change to compose and environment tests" {
|
|
run bash "$REPO_ROOT/scripts/test-changed.sh" --list --paths dankserver/compose.yaml
|
|
[ "$status" -eq 0 ]
|
|
[[ "$output" == *"tests/compose_validity.bats"* ]]
|
|
[[ "$output" == *"tests/env_consistency.bats"* ]]
|
|
[[ "$output" != *"tests/homepage_pages.bats"* ]]
|
|
}
|
|
|
|
@test "changed-test wrapper maps a service script to its focused tests" {
|
|
run bash "$REPO_ROOT/scripts/test-changed.sh" --list --paths scripts/serve-frank-small.sh
|
|
[ "$status" -eq 0 ]
|
|
[[ "$output" == *"tests/scripts_syntax.bats"* ]]
|
|
[[ "$output" == *"tests/llm_units.bats"* ]]
|
|
[[ "$output" == *"tests/llm_secrets.bats"* ]]
|
|
}
|