2026-07-09 02:59:53 +03:00
|
|
|
|
cargo run -p hcie-wx-app --bin hcie-wx-app
|
|
|
|
|
|
cargo run --bin hcie-gui
|
|
|
|
|
|
cargo run --example gui
|
2026-07-21 05:41:27 +03:00
|
|
|
|
cargo run -p hcie-iced-gui
|
2026-07-24 06:01:30 +03:00
|
|
|
|
cargo build -p hcie-iced-gui --bin hcie-iced
|
2026-07-21 05:41:27 +03:00
|
|
|
|
scripts/cargo-with-build-id.sh run -p hcie-iced-gui
|
2026-07-24 18:42:53 +03:00
|
|
|
|
#######
|
|
|
|
|
|
criterion Benchmark
|
|
|
|
|
|
cargo bench -p hcie-engine-api
|
|
|
|
|
|
|
|
|
|
|
|
# Mevcut mükemmel performansı kalıcı bir baseline (referans) olarak kaydetmek için:
|
|
|
|
|
|
# (Not: Hata almamak için hcie-engine-api/Cargo.toml'da [lib] altına bench = false eklendi)
|
|
|
|
|
|
cargo bench -p hcie-engine-api -- --save-baseline gold_standard
|
|
|
|
|
|
|
|
|
|
|
|
# Kaydedilen 'gold_standard' baseline'ı ile karşılaştırma (regresyon testi) yapmak için:
|
|
|
|
|
|
cargo bench -p hcie-engine-api -- --baseline gold_standard
|
|
|
|
|
|
|
|
|
|
|
|
criterion.md
|
|
|
|
|
|
|
2026-07-09 02:59:53 +03:00
|
|
|
|
|
2026-07-23 15:34:05 +03:00
|
|
|
|
##test
|
|
|
|
|
|
Running the Tests Automatically
|
|
|
|
|
|
To run only the new proximity dedup tests:
|
|
|
|
|
|
cargo test -p hcie-iced-gui -- proximate
|
|
|
|
|
|
|
|
|
|
|
|
To run all cycle_one_ux_tests (including the new ones):
|
|
|
|
|
|
cargo test -p hcie-iced-gui -- cycle_one_ux_tests
|
|
|
|
|
|
|
2026-07-24 18:42:53 +03:00
|
|
|
|
###########
|
2026-07-23 15:34:05 +03:00
|
|
|
|
To run the FULL test suite for the iced GUI crate:
|
|
|
|
|
|
cargo test -p hcie-iced-gui
|
|
|
|
|
|
|
|
|
|
|
|
To watch tests and re-run on file changes, use:
|
|
|
|
|
|
cargo watch -x "test -p hcie-iced-gui -- proximate"
|
|
|
|
|
|
|
|
|
|
|
|
(Requires cargo install cargo-watch if not installed.)
|
|
|
|
|
|
|
|
|
|
|
|
To check compilation (without running tests):
|
|
|
|
|
|
cargo check -p hcie-iced-gui
|
|
|
|
|
|
|
|
|
|
|
|
I suggest adding a Makefile target or shell alias for quick invocation:
|
|
|
|
|
|
|
|
|
|
|
|
# ~/.bashrc or ~/.zshrc
|
|
|
|
|
|
alias ci-iced='cd /mnt/extra/00_PROJECTS/hcie-rust-v3.05 && cargo test -p hcie-iced-gui'
|
|
|
|
|
|
alias ci-iced-check='cd /mnt/extra/00_PROJECTS/hcie-rust-
|
|
|
|
|
|
|
2026-07-09 02:59:53 +03:00
|
|
|
|
##TAURI
|
|
|
|
|
|
npm komutunu proje kökünden değil, hcie-tauri-app/ altından çalıştırmalısın:
|
|
|
|
|
|
|
|
|
|
|
|
cd hcie-tauri-app
|
|
|
|
|
|
npm run tauri dev
|
|
|
|
|
|
veya proje kökünden:
|
|
|
|
|
|
|
|
|
|
|
|
npm --prefix hcie-tauri-app run tauri dev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Semantic pre-commit kontrolü (hızlı)
|
|
|
|
|
|
python3 logs/generate_semantic_report.py --mode staged --no-api
|
|
|
|
|
|
|
|
|
|
|
|
# Semantic post-commit audit
|
|
|
|
|
|
python3 logs/generate_semantic_report.py --mode last --save
|
|
|
|
|
|
|
|
|
|
|
|
# Fonksiyonel regression testleri
|
|
|
|
|
|
CARGO=~/.cargo/bin/cargo logs/functional_regression_check.sh --fast
|
|
|
|
|
|
|
|
|
|
|
|
# Golden testleri çalıştır
|
|
|
|
|
|
~/.cargo/bin/cargo test -p hcie-engine-api --test visual_regression
|
|
|
|
|
|
|
|
|
|
|
|
# Golden hashleri yenile
|
|
|
|
|
|
HCIE_REGEN_GOLDENS=1 ~/.cargo/bin/cargo test -p hcie-engine-api --test visual_regression -- --nocapture
|
|
|
|
|
|
|
|
|
|
|
|
# --- FX MAE Grid Search (Photoshop PNG export sonrası) ---
|
|
|
|
|
|
# Inner shadow (MAE=10.05, uygulandı)
|
|
|
|
|
|
cargo run --release --example tune_mae_inner_shadow_fine -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Drop shadow
|
|
|
|
|
|
cargo run --release --example tune_mae_drop_shadow_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Outer glow
|
|
|
|
|
|
cargo run --release --example tune_mae_outer_glow_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Inner glow
|
|
|
|
|
|
cargo run --release --example tune_mae_inner_glow_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Bevel & emboss
|
|
|
|
|
|
cargo run --release --example tune_mae_bevel_emboss_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Stroke (v1: square, MAE=8.69, uygulandı)
|
|
|
|
|
|
cargo run --release --example tune_mae_stroke_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Stroke (v2: asymmetric shapes)
|
|
|
|
|
|
cargo run --release --example tune_mae_stroke_v2_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# --- FX PSD set generators ---
|
|
|
|
|
|
cargo run --example generate_drop_shadow_psd_set -p hcie-io
|
|
|
|
|
|
cargo run --example generate_outer_glow_psd_set -p hcie-io
|
|
|
|
|
|
cargo run --example generate_inner_glow_psd_set -p hcie-io
|
|
|
|
|
|
cargo run --example generate_bevel_emboss_psd_set -p hcie-io
|
|
|
|
|
|
cargo run --example generate_stroke_psd_set -p hcie-io
|
|
|
|
|
|
cargo run --example generate_stroke_v2_psd_set -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# --- Sonuç dosyaları ---
|
|
|
|
|
|
# inner_shadow_fine_results.txt
|
|
|
|
|
|
# drop_shadow_grid_results.txt
|
|
|
|
|
|
# outer_glow_grid_results.txt
|
|
|
|
|
|
# inner_glow_grid_results.txt
|
|
|
|
|
|
# bevel_emboss_grid_results.txt
|
|
|
|
|
|
# stroke_grid_results.txt
|
|
|
|
|
|
# stroke_v2_grid_results.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Drop shadow (10 blur × 5 passes × 7 spread = 350 combos × ~768 samples = ~269k eval)
|
|
|
|
|
|
cargo run --release --example tune_mae_drop_shadow_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Outer glow (10 × 5 × 5 alpha × 6 boost × 2 spread_pos = 3000 combos × ~168 samples = ~504k eval)
|
|
|
|
|
|
cargo run --release --example tune_mae_outer_glow_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Inner glow (aynı outer glow)
|
|
|
|
|
|
cargo run --release --example tune_mae_inner_glow_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Bevel emboss (6 blur × 6 hl × 6 sh = 216 combos × ~192 samples = ~41k eval)
|
|
|
|
|
|
cargo run --release --example tune_mae_bevel_emboss_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
# Stroke (7 aa × 5 feather = 35 combos × ~48 samples = ~1.6k eval)
|
|
|
|
|
|
cargo run --release --example tune_mae_stroke_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
cargo run --release --example tune_mae_drop_shadow_grid -p hcie-io
|
|
|
|
|
|
cargo run --release --example tune_mae_outer_glow_grid -p hcie-io
|
|
|
|
|
|
cargo run --release --example tune_mae_inner_glow_grid -p hcie-io
|
|
|
|
|
|
cargo run --release --example tune_mae_stroke_grid -p hcie-io
|
|
|
|
|
|
|
|
|
|
|
|
=== 4K Multi-Layer Stroke Benchmark ===
|
|
|
|
|
|
Canvas: 3840x2160, Layers: 10, Segments: 100
|
|
|
|
|
|
Average stroke_to: 45.9 us
|
|
|
|
|
|
Max stroke_to: 115.0 us
|
|
|
|
|
|
Average composite: 19413.1 us
|
|
|
|
|
|
Max composite: 321762.0 us
|
|
|
|
|
|
Total wall time: 1953294.0 us (1.95 s)
|
|
|
|
|
|
Segments per second: 51.2
|
|
|
|
|
|
test benchmark_4k_stroke_on_multilayer_document ... ok
|