Inputs
Corridor observations
I-10 and I-405 provide measured flow, speed, and density. I-17 provides speed and TMC metadata.
Code documentation · July 2026
This site documents the implementation, stage contracts, outputs,
and reproduction commands. The manuscript itself is maintained
only under QVDFE_paper/current.
Architecture
All executable modules live directly under
experiments/codes/qvdfe_cbi/src. The exact CBI QC and
state-transition dependencies used by the experiment are vendored
there with cbi_ prefixes, so no second package or
external checkout is required.
Inputs
I-10 and I-405 provide measured flow, speed, and density. I-17 provides speed and TMC metadata.
Traffic model
QC, episode detection, outlier screens, QVDF calibration, ranking, and speed reconstruction remain auditable stages.
Emission model
The code separates reconstructed-speed MOVES error propagation from exact and cubic episode-level QVDFE emissions.
Stage contracts
Read every sensor/TMC, convert units, deduplicate metadata, and verify q = kv.
Apply physical-range, Hampel, temporal-jump, and isolated-point repair rules.
Calibrate measured S3 FDs, synthesize INRIX flow, and run both episode detectors.
Screen outliers and fit duration and deepest-queue speed branches.
Combine episode support, severity, data quality, and calibration evidence.
Generate five-minute profiles and corridor/detector error summaries.
Run the reconstructed-speed benchmark, then exact and cubic two-regime episode models and convexity diagnostics.
Reference output
| Path | Purpose |
|---|---|
datasets/<corridor>/stage0–stage3 | Input audit, QC, FD context, and detected episodes |
stage2b_outliers | Episode scores, exclusions, and clean calibration set |
stage3_qvdf | Sensor/period QVDF parameters and fit statistics |
stage4_ranking | Bottleneck rankings and AM/PM comparisons |
stage5_speed_reconstruction | Five-minute profiles and reconstruction errors |
stage6_emissions | Observed/reconstructed-speed operating-mode benchmark |
stage7_two_regime_emissions | Exact/cubic episode totals, error decomposition, and monotonicity grids |
logs and report | Detailed execution record and reviewer-oriented interpretation |
Reproduction
git lfs install
git clone https://github.com/Mmdabb/QVDFE.git
cd QVDFE
git lfs pull
python -m pip install -r requirements-lock.txt
python -m pip install -e experiments/codes/qvdfe_cbi
python scripts/check_inputs.py
python scripts/verify_publication.py
python experiments/codes/qvdfe_cbi/run_pipeline.py