mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-01 01:59:10 -05:00
fix(docs): standardize Perceptron year to 1958
- Rename milestone directory from 01_1957_perceptron to 01_1958_perceptron - Update all references to use 1958 (publication year) for consistency with academic citation format (rosenblatt1958perceptron) - Changes affect: READMEs, docs, tests, milestone tracker Rationale: Using 1958 aligns with the publication year and standard academic citations, while 1957 was the development year. Cherry-picked from: 28ca41582 (feature/tito-dev-validate)
This commit is contained in:
@@ -132,7 +132,7 @@ class TestQuickVerification:
|
||||
assert milestones_dir.exists(), "milestones/ directory missing"
|
||||
|
||||
# Check milestone directories
|
||||
assert (milestones_dir / "01_1957_perceptron").exists(), "Milestone 01 missing"
|
||||
assert (milestones_dir / "01_1958_perceptron").exists(), "Milestone 01 missing"
|
||||
|
||||
@pytest.mark.quick
|
||||
def test_tinytorch_package_importable(self):
|
||||
@@ -279,7 +279,7 @@ class TestMilestoneFlow:
|
||||
@pytest.mark.milestone_flow
|
||||
def test_milestone_01_script_exists(self):
|
||||
"""Milestone 01 script file exists."""
|
||||
script_path = PROJECT_ROOT / "milestones" / "01_1957_perceptron" / "02_rosenblatt_trained.py"
|
||||
script_path = PROJECT_ROOT / "milestones" / "01_1958_perceptron" / "02_rosenblatt_trained.py"
|
||||
assert script_path.exists(), f"Milestone script missing: {script_path}"
|
||||
|
||||
@pytest.mark.milestone_flow
|
||||
@@ -364,7 +364,7 @@ print('OK')
|
||||
pytest.skip("Cannot import required modules")
|
||||
|
||||
# Run milestone 01 with skip-checks (we verified prereqs above)
|
||||
script_path = PROJECT_ROOT / "milestones" / "01_1957_perceptron" / "02_rosenblatt_trained.py"
|
||||
script_path = PROJECT_ROOT / "milestones" / "01_1958_perceptron" / "02_rosenblatt_trained.py"
|
||||
if not script_path.exists():
|
||||
pytest.skip("Milestone script not found")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user