Skip to content

fix: print the final sample instead of hardcoded index 9 (#140) - #141

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/tenth-sample-hardcoded-index
Aug 19, 2026
Merged

fix: print the final sample instead of hardcoded index 9 (#140)#141
Jammy2211 merged 1 commit into
mainfrom
feature/tenth-sample-hardcoded-index

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Part of #140 (one PR per affected repo). cookbooks/result.py printed samples.parameter_lists[9][2] ("the tenth sample"), which raises IndexError for any stored run with fewer than 10 samples (e.g. PYAUTO_TEST_MODE sweeps). Unified to the final sample via [-1] with matching prose.

Scripts Changed

  • scripts/cookbooks/result.py[9][-1], prose "tenth sample" → "final sample". Notebook twin left to release-time regeneration.

Test Plan

  • cookbooks/result.py run under its CI smoke env profile via the workspace runner — PASS (3.9s)

Generated by the PyAutoLabs agent workflow.

…kspace#140)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit ce1a5fa into main Aug 19, 2026
6 checks passed
@Jammy2211
Jammy2211 deleted the feature/tenth-sample-hardcoded-index branch August 19, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant