chore(experiments): modernize reproducibility surface#2
Merged
Conversation
- pyproject.toml: PEP 621 metadata, requires-python >=3.11,<3.13, deps mirrored from requirements.txt with numpy<2.3 cap for .npz ABI safety - .python-version: 3.12 (kiwipiepy/torch wheels not yet stable on 3.13) - Makefile: setup / smoke / reproduce / figures / clean entry points - .github/workflows/reproduce-smoke.yml: import + stimuli JSON + seed-pin checks on every push touching experiments/; does not burn API credits - experiments/src/logging_config.py: configure_logging() + get_logger() helpers; legacy print() preserved - experiments/src/embeddings.py: OpenAI client max_retries=5 + 60s timeout; MistralEmbedder switched to requests.Session with urllib3 Retry (429/500/502/503/504, exponential backoff, Retry-After honored) - experiments/README.md: reproducibility envelope (Python/seed/OS/hardware/API data boundary) + make-based setup + logging guidance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
from requirements.txt with numpy<2.3 cap for .npz ABI safety
on every push touching experiments/; does not burn API credits
legacy print() preserved
MistralEmbedder switched to requests.Session with urllib3 Retry
(429/500/502/503/504, exponential backoff, Retry-After honored)
data boundary) + make-based setup + logging guidance