Thí nghiệm nhỏ có thể tái lập
Mã gốc nằm trong experiments.py cạnh notebook; notebook chỉ là điểm vào để tránh hai bản triển khai. Chạy từ thư mục notebooks. Không dùng dữ liệu riêng hoặc mạng.
from pathlib import Path
import runpy
script = Path("experiments.py")
if not script.exists():
script = Path("notebooks/experiments.py")
runpy.run_path(str(script), run_name="__main__")