Skip to content

chore(experiments): modernize reproducibility surface#2

Merged
heznpc merged 1 commit into
mainfrom
chore/experiments-modernize-2026-05-21
May 20, 2026
Merged

chore(experiments): modernize reproducibility surface#2
heznpc merged 1 commit into
mainfrom
chore/experiments-modernize-2026-05-21

Conversation

@heznpc

@heznpc heznpc commented May 20, 2026

Copy link
Copy Markdown
Owner
  • 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

- 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
@heznpc heznpc merged commit c7a919d into main May 20, 2026
@heznpc heznpc deleted the chore/experiments-modernize-2026-05-21 branch May 20, 2026 16:55
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