gaurv007 commited on
Commit
d8511eb
·
verified ·
1 Parent(s): a7a3c87

fix: restore PROVEN_ARCHETYPES export + add new exports (get_theme_archetype, get_theme_fields, THEME_TO_ARCHETYPE)"

Browse files
alpha_factory/deterministic/__init__.py CHANGED
@@ -1,12 +1,21 @@
1
  """
2
  Deterministic modules — no LLM required.
3
  """
4
- from .lint import lint, quick_dedup_hash
5
- from .theme_sampler import pick_theme, compute_gap_scores, PROVEN_ARCHETYPES
 
 
 
 
6
  from .fitness import compute_fitness, would_pass_brain, regime_tag_years
7
 
 
 
 
8
  __all__ = [
9
- "lint", "quick_dedup_hash",
10
  "pick_theme", "compute_gap_scores", "PROVEN_ARCHETYPES",
 
 
11
  "compute_fitness", "would_pass_brain", "regime_tag_years",
12
  ]
 
1
  """
2
  Deterministic modules — no LLM required.
3
  """
4
+ from .lint import lint, quick_dedup_hash, validate_field_exists
5
+ from .theme_sampler import (
6
+ pick_theme, compute_gap_scores,
7
+ THEME_FIELDS, THEME_TO_ARCHETYPE, THEME_TO_TAG,
8
+ get_theme_fields, get_theme_archetype, get_theme_tag,
9
+ )
10
  from .fitness import compute_fitness, would_pass_brain, regime_tag_years
11
 
12
+ # Backward-compat alias: list of known archetype names
13
+ PROVEN_ARCHETYPES = list(THEME_TO_ARCHETYPE.values())
14
+
15
  __all__ = [
16
+ "lint", "quick_dedup_hash", "validate_field_exists",
17
  "pick_theme", "compute_gap_scores", "PROVEN_ARCHETYPES",
18
+ "THEME_FIELDS", "THEME_TO_ARCHETYPE", "THEME_TO_TAG",
19
+ "get_theme_fields", "get_theme_archetype", "get_theme_tag",
20
  "compute_fitness", "would_pass_brain", "regime_tag_years",
21
  ]