brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
factor-miningOperate AlphaGPT factor-token mining, formula execution, feature engineering, backtest scoring, and training artifacts safely.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about AlphaGPT's factor-token language,
formula validation, synthetic factor execution, model-core training loop, LoRD
regularization in the AlphaGPT model, or interpreting best_meme_strategy.json
and training_history.json.
times.py or lord/experiment.py research unless the user explicitly selects optional experiments; see ../../references/experiments-and-exclusions.md.StackVM.execute(...) returns None, factors are constant, DB rows are missing, training is slow, or GPU/backend expectations are unclear.--scope factor for import checks.18 and operator offset 6.best_meme_strategy.json and training_history.json.AlphaEngine.train() loop as a quick smoke check; it expects DB data, samples large batches, may run long, and writes artifacts.FeatureEngineer.compute_features(raw_dict) returns [token_count, 6, time] for raw open, high, low, close, volume, liquidity, and fdv tensors.AdvancedFactorEngineer.compute_advanced_features(self, raw_dict) returns twelve channels, but the verified formula vocabulary still exposes only the six base feature tokens.StackVM.execute(self, formula_tokens, feat_tensor) returns a single factor tensor or None when the RPN stack is invalid.MemeBacktest.evaluate(self, factors, raw_data, target_ret) converts factor logits to sigmoid signals and scores median risk-adjusted performance.AlphaEngine.__init__(self, use_lord_regularization=True, lord_decay_rate=0.001, lord_num_iterations=5) wires the loader, model, optimizer, StackVM, and backtester.AlphaEngine.train(self) writes best_meme_strategy.json and training_history.json in the process working directory.| User intent | Read/run | Notes |
|---|---|---|
| "What do token IDs mean?" | references/training-and-formulas.md | Includes feature/operator table and RPN examples. |
| "Does this formula execute?" | scripts/alpha_gpt_formula_smoke.py | Uses synthetic tensors; accepts token IDs or names. |
| "Why did the VM return None?" | references/troubleshooting.md | Stack underflow, bad IDs, leftover operands, and feature mismatch. |
| "How does training produce best_meme_strategy.json?" | references/training-and-formulas.md | Covers DB-backed loader, rewards, LoRD, and outputs. |
| "What are the API signatures?" | references/api-reference.md | Verified signatures and config constants. |
The bundled formula smoke is the default assertion-backed validation path. Full
native model_core/engine.py training is a DB-dependent, long-running candidate
and should remain skipped unless the user supplies a populated fixture database
or explicitly authorizes a training run.