Skip to content
Snippets Groups Projects

Draft: TurboSpruce test for 2025

Open Nicole Skidmore requested to merge turbospruce_2025test into master
3 unresolved threads

This MR

  • Adds test for turbospruce on 2025 config
  • Means that authors will be prompted to set the stream attribute of new lines
  • Assign a line a stream to check it works
  • Improve failure coverage
  • Lines to add stream
  • Disable for detdesc
  • Test failure if a non-existant stream is set as attribute
  • Look at print(f"prefix: {prefix}, output: {output}") for full 2025 test to make sure its sensible topo stuff is OK
Edited by Nicole Skidmore

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nicole Skidmore resolved all threads

    resolved all threads

  • Nicole Skidmore changed the description

    changed the description

  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nicole Skidmore changed the description

    changed the description

  • Nicole Skidmore added 1 commit

    added 1 commit

    • 0c11a67e - stream attribute but failing

    Compare with previous version

  • Nicole Skidmore changed the description

    changed the description

  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nicole Skidmore changed the description

    changed the description

  • Nicole Skidmore changed the description

    changed the description

  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nicole Skidmore mentioned in merge request !4046

    mentioned in merge request !4046

  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nicole Skidmore changed the description

    changed the description

  • Nicole Skidmore marked the checklist item Look at print(f"prefix: {prefix}, output: {output}") for full 2025 test to make sure its sensible topo stuff is OK as completed

    marked the checklist item Look at print(f"prefix: {prefix}, output: {output}") for full 2025 test to make sure its sensible topo stuff is OK as completed

  • Nicole Skidmore marked the checklist item Disable for detdesc as completed

    marked the checklist item Disable for detdesc as completed

  • Nicole Skidmore marked the checklist item Test failure if a non-existant stream is set as attribute as completed

    marked the checklist item Test failure if a non-existant stream is set as attribute as completed

  • Nicole Skidmore changed the description

    changed the description

  • 22 def turbospruce_job(options: Options):
    23 # Open and merge the line_config and the streaming_config
    24 stream = "turbo"
    25 stream_config = (
    26 Path(__file__).parent
    27 / "../../options/sprucing/turboline_configs/turbo24_streaming_config.json"
    28 )
    29 input_line_config = "line_attribute_dict.json"
    30
    31 with open(stream_config, "r") as json_file:
    32 streaming_config = json.load(json_file)
    33 with open(input_line_config, "r") as json_file:
    34 line_config = json.load(json_file)[stream]
    35
    36 to_remove = [ # as they have no stream set - FIX THIS!!
    37 "Hlt2B2OC_BdToD0D0Kst_D0ToHH_D0ToKsDDHH",
  • 139 "Hlt2B2OC_BuToDstpDstmKst_DstpToD0Pi_D0ToKPiOrKPiPiPi",
    140 "Hlt2B2OC_BuToDstpDstmPi_DstpToD0Pi_D0ToKPiOrKPiPiPi",
    141 "Hlt2B2OC_LbToD0DsmP_D0ToKPiOrKPiPiPi_DsmToHHH",
    142 "Hlt2B2OC_LbToLambdaDDD0_D0ToHH",
    143 "Hlt2B2OC_LbToLambdaDDD0_D0ToHHHH",
    144 "Hlt2B2OC_LbToLambdaDDD0_D0ToHHHHWS",
    145 "Hlt2B2OC_LbToLambdaDDD0_D0ToKsDDHHWS",
    146 "Hlt2B2OC_LbToLambdaDDD0_D0ToKsLLHHWS",
    147 "Hlt2B2OC_LbToLambdaLLD0_D0ToKsDDHHWS",
    148 "Hlt2B2OC_LbToLambdaLLD0_D0ToKsLLHHWS",
    149 "Hlt2B2OC_LbToLcpLcmN0",
    150 "Hlt2B2OC_LbToPbarPN0",
    151 "Hlt2B2OC_BdToD0D0Kst_D0ToHH",
    152 "Hlt2B2OC_BdToD0D0Kst_D0ToHHHH",
    153 "Hlt2B2OC_BdToD0D0Kst_D0ToHH_D0ToKPiPiPi",
    154 "Hlt2BandQ_doubleCcbarToPpPmMuMuPrompt",
  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nicole Skidmore added 1 commit

    added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading