Skip to content

Fix runtime edge cases#2164

Merged
FlorianPfaff merged 2 commits into
mainfrom
codex/pyrecest-runtime-edge-cases-20260522-2100
May 22, 2026
Merged

Fix runtime edge cases#2164
FlorianPfaff merged 2 commits into
mainfrom
codex/pyrecest-runtime-edge-cases-20260522-2100

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • harden PyTorch backend random edge-case behavior
  • tighten CLI and diagnostics runtime handling
  • add regression coverage for the fixed edge cases

Verification

  • git diff --check
  • conflict-marker scan
  • python -m py_compile src\pyrecest\_backend\pytorch\random.py src\pyrecest\cli.py src\pyrecest\diagnostics.py tests\test_cli.py tests\test_diagnostics.py tests\test_pytorch_backend.py

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 34.75s
✅ PYTHON black 2 0 0 0 1.8s
✅ PYTHON isort 2 0 0 0 0.44s
✅ REPOSITORY checkov yes no no 32.07s
✅ REPOSITORY gitleaks yes no no 17.48s
✅ REPOSITORY git_diff yes no no 0.05s
✅ REPOSITORY secretlint yes no no 13.25s
✅ REPOSITORY syft yes no no 2.16s
✅ REPOSITORY trivy-sbom yes no no 3.69s
✅ REPOSITORY trufflehog yes no no 23.93s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

Test Results

    10 files  ± 0      10 suites  ±0   2h 32m 38s ⏱️ - 5m 30s
 2 147 tests + 1   2 143 ✅ +1      4 💤 ±0  0 ❌ ±0 
21 901 runs  +10  18 197 ✅ +3  3 704 💤 +7  0 ❌ ±0 

Results for commit 9c5311f. ± Comparison against base commit 2e7cda3.

♻️ This comment has been updated with latest results.

…e-edge-cases-20260522-2100

# Conflicts:
#	src/pyrecest/_backend/pytorch/random.py
#	tests/test_pytorch_backend.py
@FlorianPfaff FlorianPfaff merged commit e4adf3b into main May 22, 2026
26 checks passed
@FlorianPfaff FlorianPfaff deleted the codex/pyrecest-runtime-edge-cases-20260522-2100 branch May 22, 2026 20:21
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