Files
NexQuant/rdagent/scenarios/data_science/proposal/exp_gen
TPTBusiness a43c443c2e fix(security): replace remaining assert statements with proper error handling
Replaced 53 assert statements across 22 files with proper
if/raise patterns (TypeError, ValueError, AssertionError)
to resolve Bandit B101 alerts.
2026-05-01 13:49:58 +02:00
..
2025-07-23 12:20:06 +08:00
2025-09-11 16:14:48 +08:00
2025-07-23 12:20:06 +08:00
2025-09-11 16:14:48 +08:00
2025-10-17 16:57:28 +08:00
2025-09-11 16:14:48 +08:00

Folder structure design

Concepts

When we are optimizing solutions, we have the following strategies.

  • draft: create a new solution
  • idea: propose an idea to improve solutions
  • merge: merge different solutions

Optimization is a long journey; we may switch between different strategies. These strategies are called routers.

  • router: a meta strategy to route between different strategies. Router may have different implementations.

Tools:

  • select: It provides features to be used by other strategies or steps.
    1. submit: before we end the optimization, we have to select the only one solution to submit.
    2. expand: we may have select one point to start the next expansion.

Suggest folder structure

So the suggested folder structure is:

- router/
- idea/
  - samll_step(or refine?).py
  - normal.py
- draft/
- merge/
- select/
  - expand.py
  - submit.py