Skip to content

feat: af_load_data skill — own data loading and selection cuts - #62

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/af-load-data-skill
Nov 8, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/af-load-data-skill

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #61.

Summary

  • New skills/af_load_data.md — reads CSV / FITS / HDF5 / npy / JSON into the arrays the Analysis takes; asks the user to confirm column meanings, units and error convention; states every selection cut back with a one-line justification and prints rows kept after each cut; records the column map in profile "Data shapes" and the cuts in a dated wiki/project/ entry; hands off to the data-inspection gate immediately. Worked recipe is the bundled Pantheon+ CSV (is_calibrator == 0, z_hd > 0.023), written in workspace script style.
  • Registration: skills/README.md (Domain adaptation), .claude/skills/af_load_data.md symlink, .codex/skills/autofit-assistant-af-load-data/SKILL.md.
  • Citations: af_adapt_to_domain (interview step 2 + Orient table), af_wrap_likelihood (Ask: the data), modes/start_here.md P0 now routes loading through the skill instead of the one-sentence stopgap.
  • wiki/project/_profile_template.md gains a "Data shapes" section.

Notes for review

  • The .codex adapter was written by hand to match the format PyAutoBrain/bin/project_discovery.py produces: PyAutoBrain could not be attached to this session, so the generator wasn't run. It is byte-identical in structure to the existing adapters; please run install.sh --check-project-discovery autofit_assistant before merging (or regenerate).
  • Verified the loader recipe on the real CSV: 1701 rows → 1624 after is_calibrator == 0 → 1371 after z_hd > 0.023, all finite.
  • pytest autoassistant/tests: 13 failures, the same 13 as unchanged main in this container (autofit isn't installed, plus one existing benchmark README check). None come from this change.

Generated by Claude Code

New skill that loads the user's data (CSV / FITS / HDF5 / npy / JSON) into
the arrays their Analysis takes, confirms column meanings and units, states
every selection cut back with its justification, and records both in
wiki/project/ before the data-inspection gate fires. Registered in the skills
index, .claude and .codex discovery; cited from af_adapt_to_domain,
af_wrap_likelihood and start-here P0; profile template gains "Data shapes".

Closes #61

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8N1DRK5UkzPPm3tuZQ
Adds the missing .claude/commands/af_load_data.md symlink and refreshes the
stale af-configure-search Codex adapter description (pre-existing drift on
main), via PyAutoBrain/bin/project_discovery.py write. install.sh
--check-project-discovery autofit_assistant now passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8QHqrNT4BEqeURYq8y
@Jammy2211
Jammy2211 merged commit a975a3c into main Nov 8, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/af-load-data-skill branch November 8, 2026 13:45
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.

feat: af_load_data skill — own data loading and selection cuts

2 participants