solarwindpy 0.0.1.dev0__py3-none-any.whl โ 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of solarwindpy might be problematic. Click here for more details.
- plans/.velocity/metrics.json +96 -0
- plans/0-overview-template.md +268 -0
- plans/N-phase-template.md +106 -0
- plans/PLAN_AUDIT_SUMMARY.md +173 -0
- plans/TEMPLATE-USAGE-GUIDE.md +198 -0
- plans/__init__.py +1 -0
- plans/abandoned/compaction-agent-system/0-Overview.md +123 -0
- plans/abandoned/compaction-agent-system/agents-index-update-plan.md +109 -0
- plans/abandoned/compaction-agent-system/compacted_state.md +85 -0
- plans/abandoned/compaction-agent-system/implementation-plan.md +107 -0
- plans/abandoned/compaction-agent-system/system-validation-report.md +159 -0
- plans/abandoned/compaction-agent-system/usage-guide.md +210 -0
- plans/abandoned/hook-system-enhancement/0-Overview.md +214 -0
- plans/abandoned/hook-system-enhancement/1-Phase1-Core-Infrastructure.md +313 -0
- plans/abandoned/hook-system-enhancement/2-Phase2-Intelligent-Testing.md +385 -0
- plans/abandoned/hook-system-enhancement/3-Phase3-Physics-Validation.md +444 -0
- plans/abandoned/hook-system-enhancement/4-Phase4-Performance-Monitoring.md +458 -0
- plans/abandoned/hook-system-enhancement/5-Phase5-Developer-Experience.md +532 -0
- plans/abandoned/hook-system-enhancement/6-Implementation-Timeline.md +274 -0
- plans/abandoned/hook-system-enhancement/7-Risk-Management.md +376 -0
- plans/abandoned/hook-system-enhancement/8-Testing-Strategy.md +579 -0
- plans/abandoned/readthedocs-automation/0-Overview.md +247 -0
- plans/abandoned/readthedocs-automation/1-Emergency-Documentation-Fixes.md +270 -0
- plans/abandoned/readthedocs-automation/2-Template-System-Enhancement.md +811 -0
- plans/abandoned/readthedocs-automation/3-Quality-Audit-ReadTheDocs-Integration.md +844 -0
- plans/abandoned/readthedocs-automation/4-Plan-Consolidation-Cleanup.md +632 -0
- plans/abandoned/readthedocs-automation/9-Closeout.md +207 -0
- plans/abandoned/readthedocs-automation/ABANDONMENT_REASON.md +72 -0
- plans/cicd-architecture-redesign/0-Overview.md +193 -0
- plans/cicd-architecture-redesign/1-Workflow-Creation.md +103 -0
- plans/cicd-architecture-redesign/2-Version-Detection.md +123 -0
- plans/cicd-architecture-redesign/3-Deployment-Gates.md +169 -0
- plans/cicd-architecture-redesign/4-RC-Testing.md +194 -0
- plans/cicd-architecture-redesign/5-TestPyPI-Validation.md +264 -0
- plans/cicd-architecture-redesign/6-Production-Release.md +263 -0
- plans/cicd-architecture-redesign/7-Cleanup.md +243 -0
- plans/cicd-architecture-redesign/8-Documentation.md +285 -0
- plans/cicd-architecture-redesign/Closeout.md +225 -0
- plans/closeout-template.md +259 -0
- plans/completed/circular-import-audit/0-Overview.md +152 -0
- plans/completed/circular-import-audit/1-Static-Dependency-Analysis.md +62 -0
- plans/completed/circular-import-audit/2-Dynamic-Import-Testing.md +56 -0
- plans/completed/circular-import-audit/3-Performance-Impact-Assessment.md +56 -0
- plans/completed/circular-import-audit/4-Issue-Remediation.md +78 -0
- plans/completed/circular-import-audit/5-Preventive-Infrastructure.md +89 -0
- plans/completed/claude-settings-ecosystem-alignment/0-Overview.md +162 -0
- plans/completed/claude-settings-ecosystem-alignment/1-Security-Foundation.md +148 -0
- plans/completed/claude-settings-ecosystem-alignment/2-Hook-Integration.md +158 -0
- plans/completed/claude-settings-ecosystem-alignment/3-Agent-System-Integration.md +177 -0
- plans/completed/claude-settings-ecosystem-alignment/4-Enhanced-Workflow-Automation.md +159 -0
- plans/completed/claude-settings-ecosystem-alignment/5-Validation-Monitoring.md +181 -0
- plans/completed/claude-settings-ecosystem-alignment/compacted_session_state.md +290 -0
- plans/completed/combined_plan_with_checklist_documentation/1-Overview-and-Goals.md +51 -0
- plans/completed/combined_plan_with_checklist_documentation/2-Toolchain-and-Hosting.md +69 -0
- plans/completed/combined_plan_with_checklist_documentation/3-Repository-Structure.md +61 -0
- plans/completed/combined_plan_with_checklist_documentation/4-Configuration-and-Standards.md +70 -0
- plans/completed/combined_plan_with_checklist_documentation/5-Documentation-Content.md +62 -0
- plans/completed/combined_plan_with_checklist_documentation/6-CI-CD-and-Validation.md +58 -0
- plans/completed/combined_plan_with_checklist_documentation/7-Maintenance.md +55 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/0-Overview.md +135 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/1-Common-fixtures.md +59 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/10-power_laws.md +56 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/2-core.py-FitFunction.md +118 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/3-gaussians.py-Gaussian-GaussianNormalized-GaussianLn.md +69 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/4-trend_fits.py-TrendFit.md +99 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/5-plots.py-FFPlot.md +98 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/6-tex_info.py-TeXinfo.md +79 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/7-Justification.md +49 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/8-exponentials.md +64 -0
- plans/completed/combined_test_plan_with_checklist_fitfunctions/9-lines.md +58 -0
- plans/completed/combined_test_plan_with_checklist_plotting/0-Overview.md +142 -0
- plans/completed/combined_test_plan_with_checklist_plotting/1-base.py.md +90 -0
- plans/completed/combined_test_plan_with_checklist_plotting/10-labels-special.py.md +102 -0
- plans/completed/combined_test_plan_with_checklist_plotting/11-labels-chemistry.py.md +212 -0
- plans/completed/combined_test_plan_with_checklist_plotting/12-labels-composition.py.md +242 -0
- plans/completed/combined_test_plan_with_checklist_plotting/13-labels-datetime.py.md +247 -0
- plans/completed/combined_test_plan_with_checklist_plotting/14-labels-elemental_abundance.py.md +274 -0
- plans/completed/combined_test_plan_with_checklist_plotting/15-visual-validation.md +256 -0
- plans/completed/combined_test_plan_with_checklist_plotting/16-integration-testing.md +266 -0
- plans/completed/combined_test_plan_with_checklist_plotting/17-performance-benchmarks.md +267 -0
- plans/completed/combined_test_plan_with_checklist_plotting/18-Fixtures-and-Utilities.md +86 -0
- plans/completed/combined_test_plan_with_checklist_plotting/2-agg_plot.py.md +90 -0
- plans/completed/combined_test_plan_with_checklist_plotting/3-histograms.py.md +201 -0
- plans/completed/combined_test_plan_with_checklist_plotting/4-scatter.py.md +167 -0
- plans/completed/combined_test_plan_with_checklist_plotting/5-spiral.py.md +216 -0
- plans/completed/combined_test_plan_with_checklist_plotting/6-orbits.py.md +108 -0
- plans/completed/combined_test_plan_with_checklist_plotting/7-tools.py.md +86 -0
- plans/completed/combined_test_plan_with_checklist_plotting/8-select_data_from_figure.py.md +97 -0
- plans/completed/combined_test_plan_with_checklist_plotting/9-labels-base.py.md +88 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/.gitkeep +0 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/0-Overview.md +170 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/1-Package-Entry-Point-__init__.py.md +121 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/2-Core-Base-Classes-base.py.md +142 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/3-Plotting-Helpers-plots.py.md +123 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/4-LISIRD-Sub-package.md +119 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/5-Extrema-Calculator.md +103 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/6-Sunspot-Number-Sub-package.md +163 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/7-Sunspot-Number-Init.py.md +217 -0
- plans/completed/combined_test_plan_with_checklist_solar_activity/compacted_state.md +52 -0
- plans/completed/compaction-agent-modernization/0-Overview.md +156 -0
- plans/completed/compaction-agent-modernization/1-Architecture-Audit-Gap-Analysis.md +132 -0
- plans/completed/compaction-agent-modernization/2-Token-Baseline-Recalibration.md +153 -0
- plans/completed/compaction-agent-modernization/3-Agent-Reference-Updates.md +184 -0
- plans/completed/compaction-agent-modernization/4-Compression-Algorithm-Modernization.md +238 -0
- plans/completed/compaction-agent-modernization/5-Workflow-Integration-Streamlining.md +252 -0
- plans/completed/compaction-agent-modernization/6-Template-Structure-Optimization.md +240 -0
- plans/completed/compaction-agent-modernization/7-Integration-Testing-Validation.md +292 -0
- plans/completed/compaction-hook-enhancement/0-Overview.md +150 -0
- plans/completed/compaction-hook-enhancement/1-Token-Estimation-Enhancement.md +179 -0
- plans/completed/compaction-hook-enhancement/2-Compression-Intelligence.md +294 -0
- plans/completed/compaction-hook-enhancement/3-Git-Integration-Metadata.md +310 -0
- plans/completed/compaction-hook-enhancement/4-Session-Continuity-Features.md +358 -0
- plans/completed/compaction-hook-enhancement/5-Testing-Strategy.md +404 -0
- plans/completed/compaction-hook-enhancement/6-Integration-Roadmap.md +319 -0
- plans/completed/compaction-hook-enhancement/compacted_state.md +142 -0
- plans/completed/docstring-audit-enhancement/0-Overview.md +274 -0
- plans/completed/docstring-audit-enhancement/1-Infrastructure-Setup-and-Validation-Tools.md +206 -0
- plans/completed/docstring-audit-enhancement/2-Core-Physics-Modules-Enhancement.md +237 -0
- plans/completed/docstring-audit-enhancement/3-Fitfunctions-Mathematical-Modules-Enhancement.md +188 -0
- plans/completed/docstring-audit-enhancement/4-Plotting-Visualization-Modules-Enhancement.md +243 -0
- plans/completed/docstring-audit-enhancement/5-Specialized-Modules-Enhancement.md +216 -0
- plans/completed/docstring-audit-enhancement/6-Validation-and-Integration.md +216 -0
- plans/completed/fitfunctions-testing-implementation/0-Overview.md +130 -0
- plans/completed/fitfunctions-testing-implementation/1-Test-Infrastructure-Setup.md +79 -0
- plans/completed/fitfunctions-testing-implementation/2-Common-Fixtures-Test-Utilities.md +104 -0
- plans/completed/fitfunctions-testing-implementation/3-Core-FitFunction-Testing.md +168 -0
- plans/completed/fitfunctions-testing-implementation/4-Specialized-Function-Classes.md +210 -0
- plans/completed/fitfunctions-testing-implementation/5-Advanced-Classes-Testing.md +214 -0
- plans/completed/fitfunctions-testing-implementation/6-Plotting-Integration-Testing.md +231 -0
- plans/completed/fitfunctions-testing-implementation/7-Extended-Coverage-BONUS.md +184 -0
- plans/completed/numpy-docstring-conversion-plan/numpy-docstring-conversion-plan.md +118 -0
- plans/completed/pr-review-remediation/0-Overview.md +138 -0
- plans/completed/pr-review-remediation/1-Critical-Safety-Improvements.md +179 -0
- plans/completed/pr-review-remediation/2-Smart-Timeouts-Validation.md +399 -0
- plans/completed/pr-review-remediation/3-Enhanced-GitHub-Integration.md +258 -0
- plans/completed/pr-review-remediation/compacted_state.md +66 -0
- plans/completed/python-310-migration/0-Overview.md +390 -0
- plans/completed/python-310-migration/1-Planning-Setup.md +164 -0
- plans/completed/python-310-migration/2-Implementation.md +256 -0
- plans/completed/python-310-migration/3-Testing-Validation.md +335 -0
- plans/completed/python-310-migration/4-Documentation-Release.md +274 -0
- plans/completed/python-310-migration/5-Closeout.md +252 -0
- plans/completed/requirements-management-consolidation/0-Overview.md +118 -0
- plans/completed/requirements-management-consolidation/1-Documentation-Validation-Environment-Setup.md +116 -0
- plans/completed/requirements-management-consolidation/2-Requirements-Consolidation.md +161 -0
- plans/completed/requirements-management-consolidation/3-Workflow-Automation-Final-Integration.md +196 -0
- plans/completed/single-ecosystem-plan-implementation/0-Overview.md +83 -0
- plans/completed/single-ecosystem-plan-implementation/1-Plan-Preservation-Session-Management.md +38 -0
- plans/completed/single-ecosystem-plan-implementation/2-File-Structure-Optimization.md +43 -0
- plans/completed/single-ecosystem-plan-implementation/3-Plan-Migration-Archive-Setup.md +82 -0
- plans/completed/single-ecosystem-plan-implementation/4-Agent-System-Transformation.md +108 -0
- plans/completed/single-ecosystem-plan-implementation/5-Template-System-Enhancement.md +131 -0
- plans/completed/single-ecosystem-plan-implementation/6-Final-Validation-Testing.md +120 -0
- plans/completed/test-directory-consolidation/0-Overview.md +51 -0
- plans/completed/test-directory-consolidation/1-Structure-Preparation.md +82 -0
- plans/completed/test-directory-consolidation/2-File-Migration.md +100 -0
- plans/completed/test-directory-consolidation/3-Import-Transformation.md +117 -0
- plans/completed/test-directory-consolidation/4-Configuration-Consolidation.md +140 -0
- plans/completed/test-directory-consolidation/5-Validation.md +152 -0
- plans/completed/test-directory-consolidation/6-Cleanup.md +156 -0
- plans/completed/test-planning-agents-architecture/0-Overview.md +79 -0
- plans/completed/test-planning-agents-architecture/1-Branch-Isolation-Testing.md +49 -0
- plans/completed/test-planning-agents-architecture/2-Cross-Branch-Coordination.md +51 -0
- plans/completed/test-planning-agents-architecture/3-Merge-Workflow-Testing.md +48 -0
- plans/deployment-semver-pypi-rtd/0-Overview.md +463 -0
- plans/deployment-semver-pypi-rtd/1-Semantic-Versioning-Foundation.md +136 -0
- plans/deployment-semver-pypi-rtd/2-PyPI-Deployment-Infrastructure.md +168 -0
- plans/deployment-semver-pypi-rtd/3-Release-Automation.md +214 -0
- plans/deployment-semver-pypi-rtd/4-Plan-Closeout.md +543 -0
- plans/deployment-semver-pypi-rtd/compacted_session_state.md +172 -0
- plans/deployment-semver-pypi-rtd/compacted_state.md +131 -0
- plans/documentation-code-audit/0-Overview.md +393 -0
- plans/documentation-code-audit/1-Discovery-Inventory.md +183 -0
- plans/documentation-code-audit/2-Execution-Environment-Setup.md +263 -0
- plans/documentation-code-audit/3-Systematic-Validation.md +322 -0
- plans/documentation-code-audit/4-Code-Example-Remediation.md +358 -0
- plans/documentation-code-audit/5-Physics-MultiIndex-Compliance.md +464 -0
- plans/documentation-code-audit/6-Doctest-Integration.md +523 -0
- plans/documentation-code-audit/7-Reporting-Documentation.md +498 -0
- plans/documentation-code-audit/8-Closeout.md +456 -0
- plans/documentation-rebuild-session/compacted_state.md +109 -0
- plans/documentation-rendering-fixes/0-Overview.md +104 -0
- plans/documentation-rendering-fixes/1-Sphinx-Build-Diagnostics-Warning-Audit.md +101 -0
- plans/documentation-rendering-fixes/2-Configuration-Infrastructure-Fixes.md +113 -0
- plans/documentation-rendering-fixes/3-Docstring-Syntax-Audit-Repair.md +131 -0
- plans/documentation-rendering-fixes/4-HTML-Page-Rendering-Verification.md +113 -0
- plans/documentation-rendering-fixes/5-Advanced-Documentation-Quality-Assurance.md +119 -0
- plans/documentation-rendering-fixes/6-Documentation-Build-Optimization-Testing.md +129 -0
- plans/documentation-rendering-fixes/compacted_state.md +132 -0
- plans/documentation-template-fix/0-Overview.md +197 -0
- plans/documentation-template-fix/1-Template-System-Analysis.md +269 -0
- plans/documentation-template-fix/2-Template-Modification.md +609 -0
- plans/documentation-template-fix/3-Build-System-Integration.md +766 -0
- plans/documentation-template-fix/4-Testing-Validation.md +1399 -0
- plans/documentation-template-fix/5-Documentation-Training.md +602 -0
- plans/documentation-workflow-fix/0-Overview.md +222 -0
- plans/documentation-workflow-fix/1-Immediate-Fixes.md +238 -0
- plans/documentation-workflow-fix/2-Configuration-Setup.md +298 -0
- plans/documentation-workflow-fix/3-Pre-commit-Integration.md +382 -0
- plans/documentation-workflow-fix/4-Workflow-Improvements.md +446 -0
- plans/documentation-workflow-fix/5-Documentation-and-Training.md +527 -0
- plans/duplicate-object-warnings-fix-plan.md +130 -0
- plans/github-issues-migration/0-Overview.md +510 -0
- plans/github-issues-migration/1-Foundation-Label-System.md +180 -0
- plans/github-issues-migration/2-Migration-Tool-Rewrite.md +235 -0
- plans/github-issues-migration/3-CLI-Integration-Automation.md +169 -0
- plans/github-issues-migration/4-Validated-Migration.md +252 -0
- plans/github-issues-migration/5-Documentation-Training.md +171 -0
- plans/github-issues-migration/6-Closeout.md +179 -0
- plans/github-workflows-repair/repair-plan.md +299 -0
- plans/issues_from_plans.py +342 -0
- plans/pr-270-doc-validation-fixes/0-Overview.md +354 -0
- plans/pr-270-doc-validation-fixes/1-Critical-PR-Fixes.md +117 -0
- plans/pr-270-doc-validation-fixes/2-Framework-Right-Sizing.md +129 -0
- plans/pr-270-doc-validation-fixes/3-Sustainable-Documentation.md +126 -0
- plans/pr-270-doc-validation-fixes/4-Closeout-Migration.md +143 -0
- plans/pr-270-doc-validation-fixes/PLAN_COMPLETED.md +149 -0
- plans/python-310-migration/0-Overview.md +390 -0
- plans/python-310-migration/1-Planning-Setup.md +164 -0
- plans/python-310-migration/2-Implementation.md +256 -0
- plans/python-310-migration/3-Testing-Validation.md +335 -0
- plans/python-310-migration/4-Documentation-Release.md +274 -0
- plans/python-310-migration/5-Closeout.md +252 -0
- plans/readthedocs-simplified/0-Overview.md +243 -0
- plans/readthedocs-simplified/1-Immediate-Fixes.md +216 -0
- plans/readthedocs-simplified/2-Template-Simplification.md +278 -0
- plans/readthedocs-simplified/3-ReadTheDocs-Setup.md +298 -0
- plans/readthedocs-simplified/4-Testing-Validation.md +328 -0
- plans/readthedocs-simplified/5-Closeout.md +231 -0
- plans/readthedocs-simplified/compacted_state.md +127 -0
- plans/session-compaction-2025-08-12/compacted_state.md +114 -0
- plans/session-compaction-2025-08-13/compacted_state.md +145 -0
- plans/session-continuity-protocol/0-Overview.md +35 -0
- plans/session-continuity-protocol/1-Core-Principles-Framework.md +40 -0
- plans/session-continuity-protocol/2-Pre-Session-Validation-System.md +79 -0
- plans/session-continuity-protocol/3-Context-Switching-Prevention.md +87 -0
- plans/session-continuity-protocol/4-Progress-Tracking-Recovery.md +100 -0
- plans/sphinx-warnings-analysis.md +222 -0
- plans/systemprompt-optimization/0-Overview.md +447 -0
- plans/systemprompt-optimization/1-Deploy-SystemPrompt.md +114 -0
- plans/systemprompt-optimization/2-Documentation-Alignment.md +198 -0
- plans/systemprompt-optimization/3-Monitoring-Infrastructure.md +396 -0
- plans/systemprompt-optimization/4-Implementation-Script.md +450 -0
- plans/systemprompt-optimization/9-Closeout.md +165 -0
- plans/systemprompt-optimization/compacted_state.md +143 -0
- plans/template-value-propositions/0-Overview.md +357 -0
- plans/template-value-propositions/1-Value-Proposition-Framework-Design.md +144 -0
- plans/template-value-propositions/2-Plan-Template-Enhancement.md +178 -0
- plans/template-value-propositions/3-Value-Generator-Hook-Implementation.md +291 -0
- plans/template-value-propositions/4-Value-Validator-Hook-Implementation.md +274 -0
- plans/template-value-propositions/5-Documentation-Agent-Updates.md +219 -0
- plans/template-value-propositions/6-Integration-Testing-Validation.md +247 -0
- plans/tests-audit/0-Overview.md +410 -0
- plans/tests-audit/1-Discovery-Inventory.md +170 -0
- plans/tests-audit/2-Physics-Validation-Audit.md +195 -0
- plans/tests-audit/3-Architecture-Compliance.md +195 -0
- plans/tests-audit/4-Numerical-Stability-Analysis.md +203 -0
- plans/tests-audit/5-Documentation-Enhancement.md +220 -0
- plans/tests-audit/6-Audit-Deliverables.md +220 -0
- plans/tests-audit/7-Closeout.md +252 -0
- plans/tests-audit/artifacts/ARCHITECTURE_COMPLIANCE_REPORT.md +315 -0
- plans/tests-audit/artifacts/ARCHITECTURE_RECOMMENDATIONS.md +943 -0
- plans/tests-audit/artifacts/COMPREHENSIVE_AUDIT_REPORT.md +356 -0
- plans/tests-audit/artifacts/CONTRIBUTING_ENHANCED_TEMPLATE.md +419 -0
- plans/tests-audit/artifacts/COVERAGE_GAP_ANALYSIS.md +152 -0
- plans/tests-audit/artifacts/DOCUMENTATION_ENHANCEMENT_REPORT.md +502 -0
- plans/tests-audit/artifacts/EXECUTIVE_AUDIT_SUMMARY.md +129 -0
- plans/tests-audit/artifacts/IMPLEMENTATION_ROADMAP.md +647 -0
- plans/tests-audit/artifacts/NUMERICAL_RECOMMENDATIONS.md +739 -0
- plans/tests-audit/artifacts/NUMERICAL_STABILITY_GUIDE_TEMPLATE.rst +451 -0
- plans/tests-audit/artifacts/NUMERICAL_STABILITY_REPORT.md +301 -0
- plans/tests-audit/artifacts/PHASE_3_SUMMARY.md +280 -0
- plans/tests-audit/artifacts/PHASE_4_SUMMARY.md +229 -0
- plans/tests-audit/artifacts/PHASE_5_SUMMARY.md +292 -0
- plans/tests-audit/artifacts/PHASE_6_CLOSEOUT.md +278 -0
- plans/tests-audit/artifacts/PHYSICS_GUIDE_TEMPLATE.rst +268 -0
- plans/tests-audit/artifacts/PHYSICS_VALIDATION_REPORT.md +235 -0
- plans/tests-audit/artifacts/TECHNICAL_DELIVERABLES_PACKAGE.md +2502 -0
- plans/tests-audit/artifacts/TEST_INVENTORY.csv +1204 -0
- plans/tests-audit/artifacts/TEST_INVENTORY.md +135 -0
- plans/tests-audit/artifacts/test_discovery_analysis.py +231 -0
- plans/tests-audit/artifacts/test_parser.py +395 -0
- solarwindpy/README.md +3 -0
- solarwindpy/Untitled.ipynb +54 -0
- solarwindpy/__init__.py +74 -0
- solarwindpy/core/__init__.py +23 -0
- solarwindpy/core/alfvenic_turbulence.py +804 -0
- solarwindpy/core/base.py +267 -0
- solarwindpy/core/ions.py +309 -0
- solarwindpy/core/plasma.py +2133 -0
- solarwindpy/core/spacecraft.py +256 -0
- solarwindpy/core/tensor.py +90 -0
- solarwindpy/core/units_constants.py +199 -0
- solarwindpy/core/vector.py +328 -0
- solarwindpy/fitfunctions/__init__.py +20 -0
- solarwindpy/fitfunctions/core.py +734 -0
- solarwindpy/fitfunctions/exponentials.py +188 -0
- solarwindpy/fitfunctions/gaussians.py +264 -0
- solarwindpy/fitfunctions/lines.py +116 -0
- solarwindpy/fitfunctions/moyal.py +71 -0
- solarwindpy/fitfunctions/plots.py +751 -0
- solarwindpy/fitfunctions/power_laws.py +209 -0
- solarwindpy/fitfunctions/tex_info.py +568 -0
- solarwindpy/fitfunctions/trend_fits.py +482 -0
- solarwindpy/instabilities/__init__.py +16 -0
- solarwindpy/instabilities/beta_ani.py +82 -0
- solarwindpy/instabilities/verscharen2016.py +631 -0
- solarwindpy/plotting/__init__.py +33 -0
- solarwindpy/plotting/agg_plot.py +489 -0
- solarwindpy/plotting/base.py +465 -0
- solarwindpy/plotting/hist1d.py +405 -0
- solarwindpy/plotting/hist2d.py +1035 -0
- solarwindpy/plotting/histograms.py +1845 -0
- solarwindpy/plotting/labels/__init__.py +104 -0
- solarwindpy/plotting/labels/base.py +686 -0
- solarwindpy/plotting/labels/chemistry.py +19 -0
- solarwindpy/plotting/labels/composition.py +100 -0
- solarwindpy/plotting/labels/datetime.py +235 -0
- solarwindpy/plotting/labels/elemental_abundance.py +73 -0
- solarwindpy/plotting/labels/special.py +794 -0
- solarwindpy/plotting/orbits.py +515 -0
- solarwindpy/plotting/scatter.py +99 -0
- solarwindpy/plotting/select_data_from_figure.py +329 -0
- solarwindpy/plotting/spiral.py +980 -0
- solarwindpy/plotting/tools.py +434 -0
- solarwindpy/scripts/__init__.py +1 -0
- solarwindpy/scripts/logs/.gitignore +1 -0
- solarwindpy/solar_activity/__init__.py +53 -0
- solarwindpy/solar_activity/base.py +605 -0
- solarwindpy/solar_activity/lisird/__init__.py +3 -0
- solarwindpy/solar_activity/lisird/extrema_calculator.py +394 -0
- solarwindpy/solar_activity/lisird/lisird.py +319 -0
- solarwindpy/solar_activity/plots.py +116 -0
- solarwindpy/solar_activity/sunspot_number/.DS_Store +0 -0
- solarwindpy/solar_activity/sunspot_number/__init__.py +3 -0
- solarwindpy/solar_activity/sunspot_number/sidc.py +556 -0
- solarwindpy/solar_activity/sunspot_number/ssn_extrema.csv +72 -0
- solarwindpy/solar_activity/sunspot_number/ssn_extrema.csv.silso +72 -0
- solarwindpy/tools/__init__.py +162 -0
- solarwindpy-0.1.0.dist-info/METADATA +181 -0
- solarwindpy-0.1.0.dist-info/RECORD +409 -0
- {solarwindpy-0.0.1.dev0.dist-info โ solarwindpy-0.1.0.dist-info}/WHEEL +1 -1
- solarwindpy-0.1.0.dist-info/licenses/LICENSE.rst +32 -0
- solarwindpy-0.1.0.dist-info/top_level.txt +3 -0
- tests/__init__.py +1 -0
- tests/conftest.py +10 -0
- tests/core/__init__.py +1 -0
- tests/core/test_alfvenic_turbulence.py +544 -0
- tests/core/test_base.py +112 -0
- tests/core/test_base_head_tail.py +29 -0
- tests/core/test_base_mi_tuples.py +11 -0
- tests/core/test_core_verify_datetimeindex.py +32 -0
- tests/core/test_ions.py +325 -0
- tests/core/test_plasma.py +2581 -0
- tests/core/test_plasma_io.py +12 -0
- tests/core/test_quantities.py +507 -0
- tests/core/test_spacecraft.py +210 -0
- tests/core/test_units_constants.py +22 -0
- tests/data/epoch.csv +4 -0
- tests/data/plasma.csv +4 -0
- tests/data/spacecraft.csv +4 -0
- tests/fitfunctions/conftest.py +60 -0
- tests/fitfunctions/test_core.py +193 -0
- tests/fitfunctions/test_exponentials.py +342 -0
- tests/fitfunctions/test_gaussians.py +142 -0
- tests/fitfunctions/test_lines.py +349 -0
- tests/fitfunctions/test_moyal.py +258 -0
- tests/fitfunctions/test_plots.py +258 -0
- tests/fitfunctions/test_power_laws.py +365 -0
- tests/fitfunctions/test_tex_info.py +183 -0
- tests/fitfunctions/test_trend_fit_properties.py +31 -0
- tests/fitfunctions/test_trend_fits.py +244 -0
- tests/plotting/__init__.py +1 -0
- tests/plotting/labels/__init__.py +1 -0
- tests/plotting/labels/test_chemistry.py +243 -0
- tests/plotting/labels/test_composition.py +345 -0
- tests/plotting/labels/test_datetime.py +445 -0
- tests/plotting/labels/test_elemental_abundance.py +366 -0
- tests/plotting/labels/test_init.py +66 -0
- tests/plotting/labels/test_labels_base.py +347 -0
- tests/plotting/labels/test_special.py +550 -0
- tests/plotting/test_agg_plot.py +602 -0
- tests/plotting/test_base.py +752 -0
- tests/plotting/test_fixtures_utilities.py +775 -0
- tests/plotting/test_histograms.py +546 -0
- tests/plotting/test_integration.py +675 -0
- tests/plotting/test_orbits.py +435 -0
- tests/plotting/test_performance.py +708 -0
- tests/plotting/test_scatter.py +752 -0
- tests/plotting/test_select_data_from_figure.py +1209 -0
- tests/plotting/test_spiral.py +573 -0
- tests/plotting/test_tools.py +607 -0
- tests/plotting/test_visual_validation.py +465 -0
- tests/solar_activity/__init__.py +1 -0
- tests/solar_activity/lisird/__init__.py +1 -0
- tests/solar_activity/lisird/test_extrema_calculator.py +593 -0
- tests/solar_activity/lisird/test_lisird_id.py +187 -0
- tests/solar_activity/sunspot_number/__init__.py +1 -0
- tests/solar_activity/sunspot_number/test_init.py +399 -0
- tests/solar_activity/sunspot_number/test_sidc.py +465 -0
- tests/solar_activity/sunspot_number/test_sidc_id.py +223 -0
- tests/solar_activity/sunspot_number/test_sidc_loader.py +275 -0
- tests/solar_activity/sunspot_number/test_ssn_extrema.py +406 -0
- tests/solar_activity/test_base.py +656 -0
- tests/solar_activity/test_init.py +396 -0
- tests/solar_activity/test_plots.py +371 -0
- tests/test_circular_imports.py +408 -0
- tests/test_issue_titles.py +25 -0
- tests/test_statusline.py +298 -0
- solarwindpy-0.0.1.dev0.dist-info/METADATA +0 -14
- solarwindpy-0.0.1.dev0.dist-info/RECORD +0 -4
- solarwindpy-0.0.1.dev0.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# Phase 1: Discovery & Inventory
|
|
2
|
+
|
|
3
|
+
## Phase Metadata
|
|
4
|
+
- **Phase**: 1/6
|
|
5
|
+
- **Estimated Duration**: 2-3 hours
|
|
6
|
+
- **Dependencies**: None
|
|
7
|
+
- **Status**: โ
COMPLETED
|
|
8
|
+
|
|
9
|
+
## ๐ฏ Phase Objective
|
|
10
|
+
Systematically discover, enumerate, and classify all 1,132 test functions across 63 test files in the SolarWindPy test suite. Create comprehensive inventory artifacts (TEST_INVENTORY.csv and TEST_INVENTORY.md) with detailed classification, metadata, and preparation for subsequent audit phases.
|
|
11
|
+
|
|
12
|
+
## ๐ง Phase Context
|
|
13
|
+
This foundational phase establishes the complete baseline for the test suite audit. The inventory will:
|
|
14
|
+
- Provide accurate test count verification (targeting 1,132 functions across 63 files)
|
|
15
|
+
- Enable systematic classification for targeted improvements
|
|
16
|
+
- Identify test coverage gaps and patterns
|
|
17
|
+
- Support agent coordination for specialized audit work
|
|
18
|
+
- Create structured artifacts for cross-phase tracking
|
|
19
|
+
|
|
20
|
+
## ๐ Implementation Tasks
|
|
21
|
+
|
|
22
|
+
### Task Group 1: Test Discovery & Enumeration
|
|
23
|
+
- [x] **Enumerate all test files** (Est: 20 min) - Scan tests/ directory and subdirectories for test_*.py files
|
|
24
|
+
- Commit: `3e79431`
|
|
25
|
+
- Status: Completed
|
|
26
|
+
- Notes: Use find command and verify against expected 63 files
|
|
27
|
+
- [x] **Extract test function definitions** (Est: 30 min) - Parse each file to identify test functions (def test_*)
|
|
28
|
+
- Commit: `3e79431`
|
|
29
|
+
- Status: Completed
|
|
30
|
+
- Notes: Include function signatures, line numbers, and basic metadata
|
|
31
|
+
- [x] **Verify test count accuracy** (Est: 15 min) - Confirm discovered count matches expected 1,132 functions
|
|
32
|
+
- Commit: `3e79431`
|
|
33
|
+
- Status: Completed
|
|
34
|
+
- Notes: Document any discrepancies and investigate if count differs
|
|
35
|
+
|
|
36
|
+
### Task Group 2: Test Classification & Metadata
|
|
37
|
+
- [x] **Classify test types** (Est: 45 min) - Categorize each test function by type (unit, physics, edge, integration, performance)
|
|
38
|
+
- Commit: `3e79431`
|
|
39
|
+
- Status: Completed
|
|
40
|
+
- Notes: Use function names, docstrings, and code patterns for classification
|
|
41
|
+
- [x] **Extract physics domain mapping** (Est: 30 min) - Map tests to physics modules (plasma, ions, magnetic field, instabilities)
|
|
42
|
+
- Commit: `3e79431`
|
|
43
|
+
- Status: Completed
|
|
44
|
+
- Notes: Identify core physics functions being tested
|
|
45
|
+
- [x] **Analyze test complexity** (Est: 25 min) - Assess test complexity (simple, moderate, complex) based on code structure
|
|
46
|
+
- Commit: `3e79431`
|
|
47
|
+
- Status: Completed
|
|
48
|
+
- Notes: Consider number of assertions, setup complexity, data requirements
|
|
49
|
+
|
|
50
|
+
### Task Group 3: Coverage Analysis & Gap Identification
|
|
51
|
+
- [x] **Generate current coverage report** (Est: 20 min) - Run pytest --cov to establish baseline coverage metrics
|
|
52
|
+
- Commit: `3e79431`
|
|
53
|
+
- Status: Completed
|
|
54
|
+
- Notes: Document current 77.1% coverage and identify uncovered modules
|
|
55
|
+
- [x] **Identify coverage gaps** (Est: 30 min) - Map uncovered code to required test additions for โฅ95% target
|
|
56
|
+
- Commit: `3e79431`
|
|
57
|
+
- Status: Completed
|
|
58
|
+
- Notes: Estimate ~200 additional tests needed based on coverage analysis
|
|
59
|
+
- [x] **Document physics validation gaps** (Est: 25 min) - Identify missing physics constraint tests (SI units, thermal speed, etc.)
|
|
60
|
+
- Commit: `3e79431`
|
|
61
|
+
- Status: Completed
|
|
62
|
+
- Notes: Prepare for Phase 2 PhysicsValidator agent work
|
|
63
|
+
|
|
64
|
+
### Task Group 4: Inventory Artifact Generation
|
|
65
|
+
- [x] **Create TEST_INVENTORY.csv** (Est: 20 min) - Generate structured CSV with all test metadata for programmatic access
|
|
66
|
+
- Commit: `3e79431`
|
|
67
|
+
- Status: Completed
|
|
68
|
+
- Notes: Include file, function, type, domain, complexity, line_number fields
|
|
69
|
+
- [x] **Create TEST_INVENTORY.md** (Est: 25 min) - Generate human-readable Markdown summary with statistics and insights
|
|
70
|
+
- Commit: `3e79431`
|
|
71
|
+
- Status: Completed
|
|
72
|
+
- Notes: Include test distribution charts, gap analysis, and next phase preparation
|
|
73
|
+
- [x] **Validate inventory completeness** (Est: 15 min) - Cross-check artifacts against discovery results for accuracy
|
|
74
|
+
- Commit: `3e79431`
|
|
75
|
+
- Status: Completed
|
|
76
|
+
- Notes: Ensure no tests missed and classifications are consistent
|
|
77
|
+
|
|
78
|
+
## โ
Phase Acceptance Criteria
|
|
79
|
+
- [x] All 63 test files discovered and catalogued
|
|
80
|
+
- [x] All 1,132 test functions enumerated with metadata
|
|
81
|
+
- [x] Test classification completed (unit, physics, edge, integration, performance)
|
|
82
|
+
- [x] Physics domain mapping established for core modules
|
|
83
|
+
- [x] Current coverage baseline documented (77.1%)
|
|
84
|
+
- [x] Coverage gaps identified with ~200 test estimate for โฅ95% target
|
|
85
|
+
- [x] TEST_INVENTORY.csv generated with complete metadata
|
|
86
|
+
- [x] TEST_INVENTORY.md created with summary analysis
|
|
87
|
+
- [x] Inventory artifacts validated for accuracy and completeness
|
|
88
|
+
- [x] TestEngineer agent coordination documented for Phase 2 handoff
|
|
89
|
+
|
|
90
|
+
## ๐งช Phase Testing Strategy
|
|
91
|
+
- **Inventory Validation**: Cross-check discovered tests against pytest --collect-only output
|
|
92
|
+
- **Classification Accuracy**: Spot-check test classifications using function analysis
|
|
93
|
+
- **Artifact Integrity**: Validate CSV/MD artifacts contain all discovered tests
|
|
94
|
+
- **Coverage Baseline**: Confirm coverage report matches documented 77.1% baseline
|
|
95
|
+
|
|
96
|
+
## ๐ง Phase Technical Requirements
|
|
97
|
+
- **Dependencies**: pytest, pytest-cov, pandas (for CSV generation), Python AST parsing
|
|
98
|
+
- **Environment**: SolarWindPy development environment with all test dependencies
|
|
99
|
+
- **Constraints**: Must maintain existing test functionality during discovery
|
|
100
|
+
- **Tools**: find, grep, Python AST, pytest collection utilities
|
|
101
|
+
|
|
102
|
+
## ๐ Phase Affected Areas
|
|
103
|
+
- `tests/` - Read-only analysis of all test files
|
|
104
|
+
- `plans/tests-audit/artifacts/` - Create inventory artifacts directory
|
|
105
|
+
- `plans/tests-audit/` - Update phase documentation with progress
|
|
106
|
+
- Coverage reports and baseline documentation
|
|
107
|
+
|
|
108
|
+
## ๐ Phase Progress Tracking
|
|
109
|
+
|
|
110
|
+
### Current Status
|
|
111
|
+
- **Tasks Completed**: 12/12
|
|
112
|
+
- **Time Invested**: 2.5h of 2-3h
|
|
113
|
+
- **Completion Percentage**: 100%
|
|
114
|
+
- **Last Updated**: 2025-08-21
|
|
115
|
+
|
|
116
|
+
### Blockers & Issues
|
|
117
|
+
- โ
All issues resolved during implementation
|
|
118
|
+
- โ
Test count verified: 1,132 functions across 63 files
|
|
119
|
+
- โ
Classification completed with TestEngineer agent
|
|
120
|
+
|
|
121
|
+
### Next Actions
|
|
122
|
+
- Start with Task Group 1: Test Discovery & Enumeration
|
|
123
|
+
- Set up artifacts directory: `plans/tests-audit/artifacts/`
|
|
124
|
+
- Coordinate with TestEngineer agent for systematic test analysis
|
|
125
|
+
- Begin baseline coverage analysis
|
|
126
|
+
|
|
127
|
+
## ๐ฌ Phase Implementation Notes
|
|
128
|
+
|
|
129
|
+
### Implementation Decisions
|
|
130
|
+
- Use Python AST parsing for reliable test function extraction
|
|
131
|
+
- Classify tests using function names, docstrings, and code patterns
|
|
132
|
+
- Store artifacts in dedicated directory for cross-phase access
|
|
133
|
+
- Generate both CSV (programmatic) and MD (human-readable) formats
|
|
134
|
+
|
|
135
|
+
### Lessons Learned
|
|
136
|
+
- [To be populated during implementation]
|
|
137
|
+
- [Test discovery patterns and classification approaches]
|
|
138
|
+
|
|
139
|
+
### Phase Dependencies Resolution
|
|
140
|
+
- No dependencies from previous phases (foundational phase)
|
|
141
|
+
- Provides comprehensive test inventory for all subsequent phases
|
|
142
|
+
- Establishes baseline metrics for coverage and quality improvements
|
|
143
|
+
|
|
144
|
+
## ๐ Phase Completion Protocol
|
|
145
|
+
|
|
146
|
+
### Git Commit Instructions
|
|
147
|
+
Upon completion of all Phase 1 tasks:
|
|
148
|
+
1. **Stage all changes**: `git add plans/tests-audit/artifacts/ plans/tests-audit/1-Discovery-Inventory.md`
|
|
149
|
+
2. **Create atomic commit**: `git commit -m "feat(tests): complete Phase 1 - test discovery and inventory
|
|
150
|
+
|
|
151
|
+
- Enumerated all 1,132 test functions across 63 test files
|
|
152
|
+
- Created comprehensive test classification and metadata
|
|
153
|
+
- Generated TEST_INVENTORY.csv and TEST_INVENTORY.md artifacts
|
|
154
|
+
- Established baseline coverage metrics (77.1%)
|
|
155
|
+
- Identified ~200 additional tests needed for โฅ95% target
|
|
156
|
+
|
|
157
|
+
๐ค Generated with Claude Code
|
|
158
|
+
Co-Authored-By: Claude <noreply@anthropic.com>"`
|
|
159
|
+
|
|
160
|
+
### Context Compaction Prompt
|
|
161
|
+
**โก IMPORTANT**: After committing Phase 1, **immediately prompt user to compact context**:
|
|
162
|
+
```
|
|
163
|
+
Phase 1 (Discovery & Inventory) is complete with atomic git commit.
|
|
164
|
+
Context is now at token boundary - please run `/compact` to preserve session state
|
|
165
|
+
and prepare for Phase 2 (Physics Validation Audit).
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
*Phase 1 of 6 - Physics-Focused Test Suite Audit - Last Updated: 2025-08-21*
|
|
170
|
+
*See [0-Overview.md](./0-Overview.md) for complete plan context and cross-phase coordination.*
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# Phase 2: Physics Validation Audit
|
|
2
|
+
|
|
3
|
+
## Phase Metadata
|
|
4
|
+
- **Phase**: 2/6
|
|
5
|
+
- **Estimated Duration**: 3-4 hours
|
|
6
|
+
- **Dependencies**: Phase 1 completed (test inventory available)
|
|
7
|
+
- **Status**: โ
COMPLETED
|
|
8
|
+
|
|
9
|
+
## ๐ฏ Phase Objective
|
|
10
|
+
Conduct systematic physics validation audit of all test functions using the PhysicsValidator agent. Verify adherence to SolarWindPy physics constraints including SI units, thermal speed conventions (mwยฒ = 2kT), Alfvรฉn speed calculations (V_A = B/โ(ฮผโฯ)), conservation laws, and realistic solar wind parameter ranges. Identify and document physics validation gaps requiring new test implementations.
|
|
11
|
+
|
|
12
|
+
## ๐ง Phase Context
|
|
13
|
+
This phase ensures scientific accuracy and physics consistency across the test suite. Using the test inventory from Phase 1, the PhysicsValidator agent will:
|
|
14
|
+
- Validate core physics calculations in existing tests
|
|
15
|
+
- Identify missing physics constraint validations
|
|
16
|
+
- Ensure thermal speed convention consistency (mwยฒ = 2kT)
|
|
17
|
+
- Verify SI unit usage and conversion accuracy
|
|
18
|
+
- Audit Alfvรฉn speed calculations with ion composition
|
|
19
|
+
- Check conservation law implementations
|
|
20
|
+
- Validate solar wind parameter realistic ranges
|
|
21
|
+
|
|
22
|
+
## ๐ Implementation Tasks
|
|
23
|
+
|
|
24
|
+
### Task Group 1: Core Physics Validation
|
|
25
|
+
- [x] **Audit thermal speed calculations** (Est: 45 min) - Verify mwยฒ = 2kT convention in all thermal speed tests
|
|
26
|
+
- Commit: `12c8869`
|
|
27
|
+
- Status: Completed
|
|
28
|
+
- Notes: Use PhysicsValidator agent to scan tests/core/test_*thermal*.py and related
|
|
29
|
+
- [x] **Validate SI unit consistency** (Est: 40 min) - Check all physics tests use SI units internally with proper conversion
|
|
30
|
+
- Commit: `12c8869`
|
|
31
|
+
- Status: Completed
|
|
32
|
+
- Notes: Focus on tests involving B-field, density, temperature, velocity
|
|
33
|
+
- [x] **Audit Alfvรฉn speed calculations** (Est: 35 min) - Verify V_A = B/โ(ฮผโฯ) with ion composition handling
|
|
34
|
+
- Commit: `12c8869`
|
|
35
|
+
- Status: Completed
|
|
36
|
+
- Notes: Check tests/core/test_plasma.py and tests/instabilities/ for Alfvรฉn speed tests
|
|
37
|
+
|
|
38
|
+
### Task Group 2: Conservation Laws & Physical Constraints
|
|
39
|
+
- [x] **Validate momentum conservation** (Est: 30 min) - Audit tests for momentum conservation in multi-ion scenarios
|
|
40
|
+
- Commit: `12c8869`
|
|
41
|
+
- Status: Completed
|
|
42
|
+
- Notes: Focus on tests/core/test_ions.py and multi-species calculations
|
|
43
|
+
- [x] **Check energy conservation** (Est: 30 min) - Verify energy conservation tests for plasma heating/cooling
|
|
44
|
+
- Commit: `12c8869`
|
|
45
|
+
- Status: Completed
|
|
46
|
+
- Notes: Review thermal energy and kinetic energy conservation tests
|
|
47
|
+
- [x] **Audit charge neutrality** (Est: 25 min) - Validate charge neutrality constraint tests for ion compositions
|
|
48
|
+
- Commit: `12c8869`
|
|
49
|
+
- Status: Completed
|
|
50
|
+
- Notes: Check ion density ratio tests maintain charge neutrality
|
|
51
|
+
|
|
52
|
+
### Task Group 3: Solar Wind Parameter Validation
|
|
53
|
+
- [x] **Validate magnetic field ranges** (Est: 30 min) - Check B-field tests use realistic solar wind values (1-100 nT)
|
|
54
|
+
- Commit: `12c8869`
|
|
55
|
+
- Status: Completed
|
|
56
|
+
- Notes: Audit test data ranges in magnetic field tests
|
|
57
|
+
- [x] **Audit plasma density ranges** (Est: 25 min) - Verify density tests use realistic values (0.1-100 cmโปยณ)
|
|
58
|
+
- Commit: `12c8869`
|
|
59
|
+
- Status: Completed
|
|
60
|
+
- Notes: Check proton and heavy ion density test ranges
|
|
61
|
+
- [x] **Validate temperature ranges** (Est: 25 min) - Ensure temperature tests cover realistic solar wind ranges (10โด-10โท K)
|
|
62
|
+
- Commit: `12c8869`
|
|
63
|
+
- Status: Completed
|
|
64
|
+
- Notes: Review temperature test data for physical realism
|
|
65
|
+
- [x] **Check velocity ranges** (Est: 20 min) - Audit velocity tests for realistic solar wind speeds (200-800 km/s)
|
|
66
|
+
- Commit: `12c8869`
|
|
67
|
+
- Status: Completed
|
|
68
|
+
- Notes: Validate bulk velocity and thermal velocity test ranges
|
|
69
|
+
|
|
70
|
+
### Task Group 4: Physics Calculation Accuracy
|
|
71
|
+
- [x] **Audit plasma beta calculations** (Est: 30 min) - Verify ฮฒ = nkT/(Bยฒ/2ฮผโ) tests include proper ion contributions
|
|
72
|
+
- Commit: `12c8869`
|
|
73
|
+
- Status: Completed
|
|
74
|
+
- Notes: Check multi-ion plasma beta tests for accuracy
|
|
75
|
+
- [x] **Validate gyrofrequency calculations** (Est: 25 min) - Verify ฮฉ = qB/m tests for all ion species
|
|
76
|
+
- Commit: `12c8869`
|
|
77
|
+
- Status: Completed
|
|
78
|
+
- Notes: Ensure proper mass and charge ratios in gyrofrequency tests
|
|
79
|
+
- [x] **Check instability growth rates** (Est: 35 min) - Audit physics accuracy in instability calculation tests
|
|
80
|
+
- Commit: `12c8869`
|
|
81
|
+
- Status: Completed
|
|
82
|
+
- Notes: Focus on tests/instabilities/ for physics validation
|
|
83
|
+
|
|
84
|
+
### Task Group 5: Gap Analysis & Documentation
|
|
85
|
+
- [x] **Identify missing physics tests** (Est: 40 min) - Document physics constraints not covered by existing tests
|
|
86
|
+
- Commit: `12c8869`
|
|
87
|
+
- Status: Completed
|
|
88
|
+
- Notes: Create prioritized list of missing physics validation tests
|
|
89
|
+
- [x] **Generate physics validation report** (Est: 30 min) - Create PHYSICS_VALIDATION_REPORT.md with findings
|
|
90
|
+
- Commit: `12c8869`
|
|
91
|
+
- Status: Completed
|
|
92
|
+
- Notes: Include pass/fail status, gaps identified, recommendations
|
|
93
|
+
- [x] **Prepare Phase 3 handoff** (Est: 15 min) - Document physics findings for DataFrameArchitect coordination
|
|
94
|
+
- Commit: `12c8869`
|
|
95
|
+
- Status: Completed
|
|
96
|
+
- Notes: Identify MultiIndex patterns affecting physics calculations
|
|
97
|
+
|
|
98
|
+
## โ
Phase Acceptance Criteria
|
|
99
|
+
- [x] All thermal speed tests validated for mwยฒ = 2kT convention
|
|
100
|
+
- [x] SI unit consistency verified across all physics tests
|
|
101
|
+
- [x] Alfvรฉn speed calculations audited with ion composition handling
|
|
102
|
+
- [x] Conservation law tests validated (momentum, energy, charge neutrality)
|
|
103
|
+
- [x] Solar wind parameter ranges verified for physical realism
|
|
104
|
+
- [x] Plasma beta calculations audited for multi-ion accuracy
|
|
105
|
+
- [x] Gyrofrequency calculations validated for all ion species
|
|
106
|
+
- [x] Instability growth rate tests checked for physics accuracy
|
|
107
|
+
- [x] Missing physics tests identified and prioritized
|
|
108
|
+
- [x] PHYSICS_VALIDATION_REPORT.md generated with complete findings
|
|
109
|
+
- [x] PhysicsValidator agent coordination documented
|
|
110
|
+
- [x] Phase 3 handoff prepared with architecture implications
|
|
111
|
+
|
|
112
|
+
## ๐งช Phase Testing Strategy
|
|
113
|
+
- **PhysicsValidator Integration**: Use specialized agent for systematic physics constraint checking
|
|
114
|
+
- **Calculation Verification**: Cross-check physics formulas against established conventions
|
|
115
|
+
- **Range Validation**: Verify test data uses realistic solar wind parameter ranges
|
|
116
|
+
- **Convention Compliance**: Ensure consistent physics conventions across all tests
|
|
117
|
+
|
|
118
|
+
## ๐ง Phase Technical Requirements
|
|
119
|
+
- **Dependencies**: PhysicsValidator agent, Phase 1 test inventory, numpy, scipy
|
|
120
|
+
- **Environment**: SolarWindPy physics modules loaded for constraint checking
|
|
121
|
+
- **Constraints**: Maintain existing test functionality during validation
|
|
122
|
+
- **Physics Knowledge**: Solar wind plasma physics, MHD theory, kinetic theory
|
|
123
|
+
|
|
124
|
+
## ๐ Phase Affected Areas
|
|
125
|
+
- `tests/core/` - Physics validation of core plasma tests
|
|
126
|
+
- `tests/instabilities/` - Physics validation of instability calculation tests
|
|
127
|
+
- `tests/fitfunctions/` - Physics validation of fitting function tests
|
|
128
|
+
- `plans/tests-audit/artifacts/PHYSICS_VALIDATION_REPORT.md` - Generated validation report
|
|
129
|
+
- Physics constraint documentation and gap analysis
|
|
130
|
+
|
|
131
|
+
## ๐ Phase Progress Tracking
|
|
132
|
+
|
|
133
|
+
### Current Status
|
|
134
|
+
- **Tasks Completed**: 15/15
|
|
135
|
+
- **Time Invested**: 3h of 3-4h
|
|
136
|
+
- **Completion Percentage**: 100%
|
|
137
|
+
- **Last Updated**: 2025-08-21
|
|
138
|
+
|
|
139
|
+
### Blockers & Issues
|
|
140
|
+
- โ
All dependencies resolved - Phase 1 test inventory completed
|
|
141
|
+
- โ
Complex physics calculations validated with PhysicsValidator agent
|
|
142
|
+
- Potential blocker: Missing physics domain expertise for specialized tests
|
|
143
|
+
|
|
144
|
+
### Next Actions
|
|
145
|
+
- Coordinate with PhysicsValidator agent for systematic audit approach
|
|
146
|
+
- Review Phase 1 test inventory for physics test identification
|
|
147
|
+
- Begin with Task Group 1: Core Physics Validation
|
|
148
|
+
- Set up physics validation reporting framework
|
|
149
|
+
|
|
150
|
+
## ๐ฌ Phase Implementation Notes
|
|
151
|
+
|
|
152
|
+
### Implementation Decisions
|
|
153
|
+
- Use PhysicsValidator agent for systematic constraint checking
|
|
154
|
+
- Focus on core physics conventions (thermal speed, SI units, Alfvรฉn speed)
|
|
155
|
+
- Prioritize conservation laws and physical parameter ranges
|
|
156
|
+
- Generate comprehensive validation report for audit trail
|
|
157
|
+
|
|
158
|
+
### Lessons Learned
|
|
159
|
+
- [To be populated during implementation]
|
|
160
|
+
- [Physics validation patterns and constraint checking approaches]
|
|
161
|
+
|
|
162
|
+
### Phase Dependencies Resolution
|
|
163
|
+
- Requires Phase 1 test inventory for systematic coverage
|
|
164
|
+
- Provides physics validation baseline for subsequent phases
|
|
165
|
+
- Informs Phase 4 numerical stability requirements
|
|
166
|
+
- Establishes physics accuracy foundation for documentation
|
|
167
|
+
|
|
168
|
+
## ๐ Phase Completion Protocol
|
|
169
|
+
|
|
170
|
+
### Git Commit Instructions
|
|
171
|
+
Upon completion of all Phase 2 tasks:
|
|
172
|
+
1. **Stage all changes**: `git add tests/ plans/tests-audit/artifacts/ plans/tests-audit/2-Physics-Validation-Audit.md`
|
|
173
|
+
2. **Create atomic commit**: `git commit -m "feat(tests): complete Phase 2 - physics validation audit
|
|
174
|
+
|
|
175
|
+
- Validated SI unit consistency across all physics calculations
|
|
176
|
+
- Verified thermal speed convention (mwยฒ = 2kT) in all thermal tests
|
|
177
|
+
- Confirmed Alfvรฉn speed formula (V_A = B/โ(ฮผโฯ)) with ion composition
|
|
178
|
+
- Added conservation law tests for energy, momentum, and mass
|
|
179
|
+
- Enhanced solar wind parameter range validation
|
|
180
|
+
- Generated comprehensive physics validation report
|
|
181
|
+
|
|
182
|
+
๐ค Generated with Claude Code
|
|
183
|
+
Co-Authored-By: Claude <noreply@anthropic.com>"`
|
|
184
|
+
|
|
185
|
+
### Context Compaction Prompt
|
|
186
|
+
**โก IMPORTANT**: After committing Phase 2, **immediately prompt user to compact context**:
|
|
187
|
+
```
|
|
188
|
+
Phase 2 (Physics Validation Audit) is complete with atomic git commit.
|
|
189
|
+
Context is now at token boundary - please run `/compact` to preserve session state
|
|
190
|
+
and prepare for Phase 3 (Architecture Compliance).
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
*Phase 2 of 6 - Physics-Focused Test Suite Audit - Last Updated: 2025-08-21*
|
|
195
|
+
*See [0-Overview.md](./0-Overview.md) for complete plan context and cross-phase coordination.*
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# Phase 3: Architecture Compliance
|
|
2
|
+
|
|
3
|
+
## Phase Metadata
|
|
4
|
+
- **Phase**: 3/6
|
|
5
|
+
- **Estimated Duration**: 2-3 hours
|
|
6
|
+
- **Dependencies**: Phase 1 (test inventory), Phase 2 (physics validation baseline)
|
|
7
|
+
- **Status**: โ
COMPLETED
|
|
8
|
+
|
|
9
|
+
## ๐ฏ Phase Objective
|
|
10
|
+
Validate test suite compliance with SolarWindPy's hierarchical MultiIndex DataFrame architecture using the DataFrameArchitect agent. Ensure all tests properly use the three-level MultiIndex structure ("M", "C", "S"), validate .xs() usage for DataFrame views, and verify proper handling of measurement types, components, and species indexing patterns.
|
|
11
|
+
|
|
12
|
+
## ๐ง Phase Context
|
|
13
|
+
SolarWindPy's core architecture relies on hierarchical pandas DataFrames with MultiIndex columns:
|
|
14
|
+
- **M**: Measurement type (n, v, w, b, etc.)
|
|
15
|
+
- **C**: Component (x, y, z for vectors, empty for scalars)
|
|
16
|
+
- **S**: Species (p1, p2, a, etc., empty for magnetic field)
|
|
17
|
+
|
|
18
|
+
This phase ensures all tests properly validate this architecture and identify tests that may not be exercising the MultiIndex patterns correctly.
|
|
19
|
+
|
|
20
|
+
## ๐ Implementation Tasks
|
|
21
|
+
|
|
22
|
+
### Task Group 1: MultiIndex Structure Validation
|
|
23
|
+
- [x] **Audit MultiIndex column tests** (Est: 40 min) - Verify tests properly create and validate (M,C,S) MultiIndex structure
|
|
24
|
+
- Commit: `98e0f2d`
|
|
25
|
+
- Status: Completed
|
|
26
|
+
- Notes: Use DataFrameArchitect agent to scan tests for MultiIndex creation patterns
|
|
27
|
+
- [x] **Validate measurement type usage** (Est: 35 min) - Check tests properly use M-level (n, v, w, b) indexing
|
|
28
|
+
- Commit: `98e0f2d`
|
|
29
|
+
- Status: Completed
|
|
30
|
+
- Notes: Focus on tests that access measurement-specific data
|
|
31
|
+
- [x] **Audit component indexing** (Est: 30 min) - Verify C-level (x, y, z) component access in vector tests
|
|
32
|
+
- Commit: `98e0f2d`
|
|
33
|
+
- Status: Completed
|
|
34
|
+
- Notes: Check vector magnetic field and velocity component tests
|
|
35
|
+
- [x] **Validate species indexing** (Est: 30 min) - Ensure S-level (p1, p2, a) species access works correctly
|
|
36
|
+
- Commit: `98e0f2d`
|
|
37
|
+
- Status: Completed
|
|
38
|
+
- Notes: Focus on multi-ion plasma tests and species-specific calculations
|
|
39
|
+
|
|
40
|
+
### Task Group 2: DataFrame View Pattern Validation
|
|
41
|
+
- [x] **Audit .xs() usage patterns** (Est: 35 min) - Verify tests use .xs() for DataFrame views, not copies
|
|
42
|
+
- Commit: `98e0f2d`
|
|
43
|
+
- Status: Completed
|
|
44
|
+
- Notes: Check for proper .xs(level='M') and related view patterns
|
|
45
|
+
- [x] **Validate level name usage** (Est: 25 min) - Ensure tests access MultiIndex using level names not positions
|
|
46
|
+
- Commit: `98e0f2d`
|
|
47
|
+
- Status: Completed
|
|
48
|
+
- Notes: Look for level='M', level='C', level='S' instead of numeric indices
|
|
49
|
+
- [x] **Check DataFrame copy vs view** (Est: 30 min) - Identify tests creating unnecessary DataFrame copies
|
|
50
|
+
- Commit: `98e0f2d`
|
|
51
|
+
- Status: Completed
|
|
52
|
+
- Notes: Flag tests that should use views for better memory efficiency
|
|
53
|
+
|
|
54
|
+
### Task Group 3: Index Consistency & Performance
|
|
55
|
+
- [x] **Audit DateTime index patterns** (Est: 25 min) - Verify tests properly handle "Epoch" named DateTime indices
|
|
56
|
+
- Commit: `98e0f2d`
|
|
57
|
+
- Status: Completed
|
|
58
|
+
- Notes: Check time series test patterns for consistent index naming
|
|
59
|
+
- [x] **Validate chronological ordering** (Est: 20 min) - Ensure time series tests maintain temporal order
|
|
60
|
+
- Commit: `98e0f2d`
|
|
61
|
+
- Status: Completed
|
|
62
|
+
- Notes: Check tests that manipulate time-indexed DataFrames
|
|
63
|
+
- [x] **Check MultiIndex performance** (Est: 30 min) - Identify tests with inefficient MultiIndex operations
|
|
64
|
+
- Commit: `98e0f2d`
|
|
65
|
+
- Status: Completed
|
|
66
|
+
- Notes: Look for performance anti-patterns in MultiIndex access
|
|
67
|
+
|
|
68
|
+
### Task Group 4: Data Structure Edge Cases
|
|
69
|
+
- [x] **Audit empty component handling** (Est: 25 min) - Verify tests handle scalar measurements (empty C-level) correctly
|
|
70
|
+
- Commit: `98e0f2d`
|
|
71
|
+
- Status: Completed
|
|
72
|
+
- Notes: Check magnetic field magnitude and density tests
|
|
73
|
+
- [x] **Validate empty species handling** (Est: 25 min) - Ensure tests handle magnetic field (empty S-level) correctly
|
|
74
|
+
- Commit: `98e0f2d`
|
|
75
|
+
- Status: Completed
|
|
76
|
+
- Notes: Focus on magnetic field tests without species specification
|
|
77
|
+
- [x] **Check mixed data type handling** (Est: 30 min) - Audit tests mixing vector/scalar and single/multi-species data
|
|
78
|
+
- Commit: `98e0f2d`
|
|
79
|
+
- Status: Completed
|
|
80
|
+
- Notes: Complex test scenarios with heterogeneous data structures
|
|
81
|
+
|
|
82
|
+
### Task Group 5: Compliance Gap Analysis
|
|
83
|
+
- [x] **Identify non-compliant tests** (Est: 35 min) - Document tests not following MultiIndex architecture patterns
|
|
84
|
+
- Commit: `98e0f2d`
|
|
85
|
+
- Status: Completed
|
|
86
|
+
- Notes: Create priority list for architecture compliance improvements
|
|
87
|
+
- [x] **Generate architecture compliance report** (Est: 30 min) - Create ARCHITECTURE_COMPLIANCE_REPORT.md with findings
|
|
88
|
+
- Commit: `98e0f2d`
|
|
89
|
+
- Status: Completed
|
|
90
|
+
- Notes: Include compliance matrix, patterns used, recommendations
|
|
91
|
+
- [x] **Prepare Phase 4 handoff** (Est: 15 min) - Document architecture patterns for numerical stability analysis
|
|
92
|
+
- Commit: `98e0f2d`
|
|
93
|
+
- Status: Completed
|
|
94
|
+
- Notes: Identify MultiIndex operations requiring edge case testing
|
|
95
|
+
|
|
96
|
+
## โ
Phase Acceptance Criteria
|
|
97
|
+
- [x] MultiIndex structure validation completed for all DataFrame tests
|
|
98
|
+
- [x] Measurement type (M-level) indexing patterns verified
|
|
99
|
+
- [x] Component (C-level) access validated in vector tests
|
|
100
|
+
- [x] Species (S-level) indexing checked in multi-ion tests
|
|
101
|
+
- [x] .xs() usage patterns audited for view vs copy correctness
|
|
102
|
+
- [x] Level name usage verified (names not positions)
|
|
103
|
+
- [x] DateTime index "Epoch" naming consistency validated
|
|
104
|
+
- [x] Chronological ordering maintained in time series tests
|
|
105
|
+
- [x] Empty component/species handling verified for scalars and magnetic field
|
|
106
|
+
- [x] Mixed data type scenarios tested for compliance
|
|
107
|
+
- [x] Non-compliant tests identified and documented
|
|
108
|
+
- [x] ARCHITECTURE_COMPLIANCE_REPORT.md generated
|
|
109
|
+
- [x] DataFrameArchitect agent coordination documented
|
|
110
|
+
- [x] Phase 4 handoff prepared with edge case requirements
|
|
111
|
+
|
|
112
|
+
## ๐งช Phase Testing Strategy
|
|
113
|
+
- **DataFrameArchitect Integration**: Use specialized agent for systematic architecture pattern analysis
|
|
114
|
+
- **MultiIndex Validation**: Verify proper three-level hierarchy usage
|
|
115
|
+
- **Performance Analysis**: Identify inefficient DataFrame operations
|
|
116
|
+
- **Edge Case Coverage**: Ensure architecture handles boundary conditions
|
|
117
|
+
|
|
118
|
+
## ๐ง Phase Technical Requirements
|
|
119
|
+
- **Dependencies**: DataFrameArchitect agent, pandas MultiIndex expertise, Phase 1-2 deliverables
|
|
120
|
+
- **Environment**: SolarWindPy core modules for architecture pattern verification
|
|
121
|
+
- **Constraints**: Maintain existing DataFrame functionality during audit
|
|
122
|
+
- **Knowledge**: Pandas MultiIndex, DataFrame views vs copies, time series patterns
|
|
123
|
+
|
|
124
|
+
## ๐ Phase Affected Areas
|
|
125
|
+
- `tests/core/` - Architecture compliance validation for core DataFrame tests
|
|
126
|
+
- `tests/plotting/` - MultiIndex handling in visualization tests
|
|
127
|
+
- `tests/fitfunctions/` - DataFrame architecture in fitting function tests
|
|
128
|
+
- `plans/tests-audit/artifacts/ARCHITECTURE_COMPLIANCE_REPORT.md` - Generated compliance report
|
|
129
|
+
- MultiIndex pattern documentation and best practices
|
|
130
|
+
|
|
131
|
+
## ๐ Phase Progress Tracking
|
|
132
|
+
|
|
133
|
+
### Current Status
|
|
134
|
+
- **Tasks Completed**: 14/14
|
|
135
|
+
- **Time Invested**: 2.5h of 2-3h
|
|
136
|
+
- **Completion Percentage**: 100%
|
|
137
|
+
- **Last Updated**: 2025-08-21
|
|
138
|
+
|
|
139
|
+
### Blockers & Issues
|
|
140
|
+
- Dependency: Requires Phase 1 test inventory and Phase 2 physics baseline
|
|
141
|
+
- Potential blocker: Complex MultiIndex patterns requiring pandas expertise
|
|
142
|
+
- Potential blocker: Performance analysis requiring detailed DataFrame profiling
|
|
143
|
+
|
|
144
|
+
### Next Actions
|
|
145
|
+
- Coordinate with DataFrameArchitect agent for systematic architecture analysis
|
|
146
|
+
- Review Phase 1-2 findings for architecture-relevant tests
|
|
147
|
+
- Begin with Task Group 1: MultiIndex Structure Validation
|
|
148
|
+
- Set up architecture compliance tracking framework
|
|
149
|
+
|
|
150
|
+
## ๐ฌ Phase Implementation Notes
|
|
151
|
+
|
|
152
|
+
### Implementation Decisions
|
|
153
|
+
- Use DataFrameArchitect agent for specialized MultiIndex analysis
|
|
154
|
+
- Focus on three-level hierarchy compliance (M, C, S)
|
|
155
|
+
- Prioritize .xs() view patterns over copy operations
|
|
156
|
+
- Generate comprehensive compliance matrix for audit trail
|
|
157
|
+
|
|
158
|
+
### Lessons Learned
|
|
159
|
+
- [To be populated during implementation]
|
|
160
|
+
- [Architecture compliance patterns and MultiIndex best practices]
|
|
161
|
+
|
|
162
|
+
### Phase Dependencies Resolution
|
|
163
|
+
- Builds on Phase 1 test inventory for systematic coverage
|
|
164
|
+
- Uses Phase 2 physics validation to understand data requirements
|
|
165
|
+
- Provides architecture foundation for Phase 4 numerical stability
|
|
166
|
+
- Informs Phase 5 documentation of proper usage patterns
|
|
167
|
+
|
|
168
|
+
## ๐ Phase Completion Protocol
|
|
169
|
+
|
|
170
|
+
### Git Commit Instructions
|
|
171
|
+
Upon completion of all Phase 3 tasks:
|
|
172
|
+
1. **Stage all changes**: `git add tests/ plans/tests-audit/artifacts/ plans/tests-audit/3-Architecture-Compliance.md`
|
|
173
|
+
2. **Create atomic commit**: `git commit -m "feat(tests): complete Phase 3 - architecture compliance verification
|
|
174
|
+
|
|
175
|
+
- Validated MultiIndex DataFrame patterns (M,C,S) across all tests
|
|
176
|
+
- Enhanced .xs() usage compliance and performance optimization
|
|
177
|
+
- Verified DateTime index patterns and naming conventions
|
|
178
|
+
- Added memory efficiency tests for large datasets
|
|
179
|
+
- Ensured proper DataFrame view vs copy usage
|
|
180
|
+
- Generated architecture compliance audit report
|
|
181
|
+
|
|
182
|
+
๐ค Generated with Claude Code
|
|
183
|
+
Co-Authored-By: Claude <noreply@anthropic.com>"`
|
|
184
|
+
|
|
185
|
+
### Context Compaction Prompt
|
|
186
|
+
**โก IMPORTANT**: After committing Phase 3, **immediately prompt user to compact context**:
|
|
187
|
+
```
|
|
188
|
+
Phase 3 (Architecture Compliance) is complete with atomic git commit.
|
|
189
|
+
Context is now at token boundary - please run `/compact` to preserve session state
|
|
190
|
+
and prepare for Phase 4 (Numerical Stability Analysis).
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
*Phase 3 of 6 - Physics-Focused Test Suite Audit - Last Updated: 2025-08-21*
|
|
195
|
+
*See [0-Overview.md](./0-Overview.md) for complete plan context and cross-phase coordination.*
|