==============================================================================
HD 2.4.b Stage 5 smoke test - era-B per-component + Short Form Q2
==============================================================================

Stage 5 panel rows (era-B, 2010-2024): 533,268
Stage 5 build wall time: 21.83s

--- Schema check (21 columns) ---
  Column order and types match locked �1 schema (21 columns). PASS

--- Per-year era-B panel row counts by source_class � form_type ---
  year   total   fed    nonfed  all-src(eq)  short(all-src)
  2010  33,825   11,675  14,964  7,186            0
  2011  37,951   13,164  16,817  7,970            0
  2012  34,175   11,343  14,484  7,037        1,311 (Short Form Q2 begins)
  2013  33,717   11,217  14,438  6,748        1,314
  2014  33,808   11,155  14,587  6,638        1,428
  2015  34,179   11,134  14,809  6,762        1,474
  2016  34,306   11,327  15,011  6,499        1,469
  2017  35,393   11,759  15,541  6,717        1,376
  2018  35,400   11,773  15,428  6,671        1,528
  2019  35,827   11,957  15,632  6,728        1,510
  2020  36,335   12,042  16,056  6,815        1,422
  2021  36,238   12,124  15,748  6,929        1,437
  2022  36,729   12,278  15,927  7,039        1,485
  2023  38,103   12,772  16,615  7,357        1,359
  2024  37,282   12,976  15,483  7,455        1,368

--- form_type distribution per year ---
  FY 2010:
      'standard'  n=33,825
  FY 2011:
      'standard'  n=37,951
  FY 2012:
         'short'  n= 1,311
      'standard'  n=32,864
  FY 2013:
         'short'  n= 1,314
      'standard'  n=32,403
  FY 2014:
         'short'  n= 1,428
      'standard'  n=32,380
  FY 2015:
         'short'  n= 1,474
      'standard'  n=32,705
  FY 2016:
         'short'  n= 1,469
      'standard'  n=32,837
  FY 2017:
         'short'  n= 1,376
      'standard'  n=34,017
  FY 2018:
         'short'  n= 1,528
      'standard'  n=33,872
  FY 2019:
         'short'  n= 1,510
      'standard'  n=34,317
  FY 2020:
         'short'  n= 1,422
      'standard'  n=34,913
  FY 2021:
         'short'  n= 1,437
      'standard'  n=34,801
  FY 2022:
         'short'  n= 1,485
      'standard'  n=35,244
  FY 2023:
         'short'  n= 1,359
      'standard'  n=36,744
  FY 2024:
         'short'  n= 1,368
      'standard'  n=35,914

--- source_class distribution ---
    'nonfederal'  n=231,540  (43.42%)
       'federal'  n=178,696  (33.51%)
    'all_source'  n=123,032  (23.07%)

--- expenditure_type distribution ---
               'r&d'  n=428,717  (80.39%)
     'r&d_equipment'  n=104,551  (19.61%)

--- quality_flag distribution by form_type ---
         'short'            'reported'  n= 17,344
         'short'             'imputed'  n=  1,137
      'standard'            'reported'  n=493,892
      'standard'             'imputed'  n= 20,886
      'standard'    'unspecified_zero'  n=      9

--- Sample rows: 3 per (year, source_class, expenditure_type, form_type) at FY 2010 / 2017 / 2024 ---

  yr=2010 form=standard src=all_source type=r&d_equipment
    inst='000166' coarse='All'              fine='All'                            v=     408.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=     408.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=     408.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '

  yr=2010 form=standard src=federal type=r&d
    inst='000166' coarse='All'              fine='All'                            v=   20430.0 qf='reported'   sq='Federal expenditures by field and agency'
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=   20430.0 qf='reported'   sq='Federal expenditures by field and agency'
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=   20430.0 qf='reported'   sq='Federal expenditures by field and agency'

  yr=2010 form=standard src=nonfederal type=r&d
    inst='000166' coarse='All'              fine='All'                            v=    1722.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=    1722.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=    1722.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'

  yr=2017 form=short src=all_source type=r&d
    inst='001033' coarse='All'              fine='All'                            v=     866.0 qf='imputed'    sq='Short form: R&D expenditures by major R&D '
    inst='001033' coarse='Engineering'      fine='Engineering, all'               v=      60.0 qf='imputed'    sq='Short form: R&D expenditures by major R&D '
    inst='001033' coarse='Life sciences'    fine='Life sciences, all'             v=     172.0 qf='imputed'    sq='Short form: R&D expenditures by major R&D '

  yr=2017 form=standard src=all_source type=r&d_equipment
    inst='000166' coarse='All'              fine='All'                            v=     844.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=     844.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=     844.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '

  yr=2017 form=standard src=federal type=r&d
    inst='000166' coarse='All'              fine='All'                            v=   14461.0 qf='reported'   sq='Federal expenditures by field and agency'
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=   14461.0 qf='reported'   sq='Federal expenditures by field and agency'
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=   14461.0 qf='reported'   sq='Federal expenditures by field and agency'

  yr=2017 form=standard src=nonfederal type=r&d
    inst='000166' coarse='All'              fine='All'                            v=    1191.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=    1191.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=    1191.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'

  yr=2024 form=short src=all_source type=r&d
    inst='001016' coarse='All'              fine='All'                            v=     234.0 qf='reported'   sq='Short form: R&D expenditures by major R&D '
    inst='001016' coarse='Math & CS'        fine='Computer and information scien' v=       1.0 qf='reported'   sq='Short form: R&D expenditures by major R&D '
    inst='001016' coarse='Geosciences'      fine='Geosciences, atmospheric scien' v=       2.0 qf='reported'   sq='Short form: R&D expenditures by major R&D '

  yr=2024 form=standard src=all_source type=r&d_equipment
    inst='000166' coarse='All'              fine='All'                            v=     539.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=     539.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=     539.0 qf='reported'   sq='Capitalized R&D equipment expenditures by '

  yr=2024 form=standard src=federal type=r&d
    inst='000166' coarse='All'              fine='All'                            v=   15475.0 qf='reported'   sq='Federal expenditures by field and agency'
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=   15475.0 qf='reported'   sq='Federal expenditures by field and agency'
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=   15475.0 qf='reported'   sq='Federal expenditures by field and agency'

  yr=2024 form=standard src=nonfederal type=r&d
    inst='000166' coarse='All'              fine='All'                            v=    8189.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'
    inst='000166' coarse='Life sciences'    fine='Life sciences, all'             v=    8189.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'
    inst='000166' coarse='Life sciences'    fine='Life sciences, health sciences' v=    8189.0 qf='reported'   sq='Nonfederal expenditures by field and sourc'

--- Smoke-test boundaries ---
  Total wall time (Stage 5 full): 21.93s
  No parquet written: Stage 5 smoke test only.
