Understand the AlphaSift Project Structure
mainAlphaSift is organized into a core Python package and a strategy directory.
strategies/: Contains YAML files defining stock selection strategies. This is where you add custom strategies.alphasift/: The core Python package containing the logic for:cli.py: The command-line interface entry point.pipeline.py: Orchestrates the main execution flow.filter.py: Performs L1 hard filtering.scorer.py: Calculates scores.ranker.py: Performs L2 LLM-based ranking.risk.py: Handles the independent risk layer.post_analysis.py: Provides pluggable L3 post-analysis.snapshot.py: Manages full-market snapshots with automatic data source fallback.store.py: Persists run results.evaluate.py: Handles T+N posterior evaluation and batch aggregation.
alphasift/
├── SKILL.md # Skill description for AI Agents
├── strategies/ # Stock selection strategy YAMLs
├── docs/ # Documentation
└── alphasift/ # Python package
├── cli.py # CLI entrypoint
├── pipeline.py # Main flow orchestration
└── ... (core logic modules)