Skip to content

docs(validate_dataset_schema): cite experiment.py analyze_unit() instead of drifting line numbers#101

Open
gadievron wants to merge 1 commit into
masterfrom
fix/validate-dataset-schema-cite-experiment-py-analyze-unit
Open

docs(validate_dataset_schema): cite experiment.py analyze_unit() instead of drifting line numbers#101
gadievron wants to merge 1 commit into
masterfrom
fix/validate-dataset-schema-cite-experiment-py-analyze-unit

Conversation

@gadievron
Copy link
Copy Markdown
Collaborator

Two comments in validate_unit() cited hardcoded experiment.py line numbers ("lines 186-196",
"line 192") that had drifted: experiment.py:186-196 is now load_application_context(), unrelated
to unit.code/files_included. The actual code/files_included handling lives in experiment.py
analyze_unit(). Replace the brittle line-number citations with the stable function-name anchor so
they cannot re-drift.

Doc/comment-only: no behavioral change, no regression test. Verified: 0 residual
"experiment.py lines N" citations remain; experiment.py analyze_unit() handles code_field

  • files_included; ruff clean (venv py3.11).

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

…ead of drifting line numbers

Two comments in validate_unit() cited hardcoded experiment.py line numbers ("lines 186-196",
"line 192") that had drifted: experiment.py:186-196 is now load_application_context(), unrelated
to unit.code/files_included. The actual code/files_included handling lives in experiment.py
analyze_unit(). Replace the brittle line-number citations with the stable function-name anchor so
they cannot re-drift.

Doc/comment-only: no behavioral change, no regression test. Verified: 0 residual
"experiment.py lines N" citations remain; experiment.py analyze_unit() handles code_field
+ files_included; ruff clean (venv py3.11).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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