REVIEWER 2, ROUND 2 - STEP 1: HISTORICAL 1D HDG EQUAL-ORDER ISSUE

Included files:
  diagnose_1d_hdg.py                             Comparison driver
  run_qmc_dg_hdg_full_weak_form_1d.py            Original historical prototype (unchanged)

Requirements:
  Python 3.10+ and NumPy

Windows (PowerShell):
  py -m pip install numpy
  py diagnose_1d_hdg.py

macOS/Linux:
  python3 -m pip install numpy
  python3 diagnose_1d_hdg.py

Two result files will be produced in the same folder:
  1d_hdg_diagnostic_results.csv
  1d_hdg_diagnostic_report.txt

Test problem:
  -(a(x,y)u')'=1 on (0,1), u(0)=u(1)=0
  a=1 gives u=x(1-x)/2, and integral u = 1/12.

The driver loads the original historical source twice, once unchanged and
once with exactly ONE corrected algebraic term in Cq:
  old: Cq += -w * h * np.outer(Bq[q], dBq_dx[q])
  new: Cq += -w * h * np.outer(dBq_dx[q], Bq[q])

For HDG Eq. 2, row i is the w_i test function, column j the q_j unknown;
therefore -int(q_j * w_i') is required. The historical expression used
-int(w_i * q_j') instead. The patch retains the equal-order P_p/P_p
spaces: it does not switch to mixed P_(p-1)/P_p.

This was located in the historical file provided in a prior conversation,
NOT in the published Zenodo v1.0.0 current implementation.

Results provide directly checkable evidence for the reviewer response.
No changes are made to published research files.
