skills/delay-model-gate-evaluator/SKILL.md
Execute delay-model validation gates against HPWL baselines. Use when evaluating model consistency, running Gate-0 contract checks, building Gate-1 bucketed scorecards, performing wirelength-aware correlation checks, or deciding readiness for active optimization.
npx skillsauth add mr-fang-vlsi/edagent delay-model-gate-evaluatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run these checks before promoting model changes into placement/CTS optimization.
<merged_or_unified_tsv>: Path to a merged or unified TSV file, for example data/merged_asap7_delay_v2.tsv or data/unified_timing_run03.tsv.<tag>: Descriptive run identifier such as run03_lr1e-3 or v2_bspdn_baseline. Use one naming scheme consistently across gates.ROOT=/mnt/research/Hu_Jiang/Students/Fang_Donghao/TAMU-ASAP07-BSPDN-BPR-V0.00
cd "$ROOT"
python3 scripts/debug/check_delay_model_contract.py \
--input-tsv <merged_or_unified_tsv> \
--delta-sign back_minus_front \
--min-sign-acc 0.60 \
--out-prefix slurm_logs/04_delay_modeling/<tag>.contract
Use --strict for CI-style hard fail.
If Gate-0 fails: Check the contract output first. If sign accuracy is below the threshold, inspect the worst-performing net groups for data quality issues such as missing features, outlier wirelengths, or inconsistent labels. Re-train or filter the input TSV before proceeding.
python3 scripts/debug/bucketed_delay_model_scorecard.py \
--input-tsv <merged_or_unified_tsv> \
--delta-sign back_minus_front \
--out-prefix slurm_logs/04_delay_modeling/<tag>.bucketed
If promotion criteria are not met: Do not proceed to active optimization. Iterate on the delay model instead by reviewing feature engineering, checking training-data coverage for underperforming buckets, and re-running both gates after the update.
Load references/metric_contract.md before interpreting results.
development
Create immutable stage checkpoints for Innovus flows. Use when users ask for fixed golden files or restart-from-stage workflows (place/cts/route) with matched DEF+V+SDC and reproducible manifests.
tools
Capture and maintain reusable script-writing experience across wrappers, helpers, parsers, validators, and runtime shims so future script work can reuse proven patterns and avoid repeated anti-patterns.
testing
Summarize local paper PDFs into structured, citation-grounded evidence notes. Use when the user provides local PDF paths and asks for methods/assumptions/results/limitations extraction or wants evidence mapped to current EDA hypotheses.
development
Fetch primary-source paper metadata when evidence is missing or weak for EDA/model/flow claims. Use for requests like building reproducible paper candidate lists, generating user-download queues, and recording citation metadata for local validation.