JacobLinCool Codex commited on
Commit
0a5521b
·
verified ·
1 Parent(s): 1c7ce9d

fix: keep prize ledger out of bootstrap

Browse files

Co-authored-by: Codex <noreply@openai.com>

Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +0 -1
  3. tests/test_app.py +1 -1
README.md CHANGED
@@ -136,7 +136,7 @@ depending on browser `localStorage`.
136
 
137
  `/api/prize-ledger` exposes submission evidence: the documented model stack, total parameter budget, Tiny Titan
138
  eligibility, runtime backend, and badge readiness. It is kept as an API artifact rather than a primary in-app panel so
139
- the user-facing app stays centered on idea evaluation.
140
 
141
  ## Wood Map
142
 
 
136
 
137
  `/api/prize-ledger` exposes submission evidence: the documented model stack, total parameter budget, Tiny Titan
138
  eligibility, runtime backend, and badge readiness. It is kept as an API artifact rather than a primary in-app panel so
139
+ the user-facing app stays centered on idea evaluation. The main `/api/bootstrap` payload does not include the ledger.
140
 
141
  ## Wood Map
142
 
app.py CHANGED
@@ -74,7 +74,6 @@ def bootstrap() -> dict:
74
  "goal_profiles": goal_profiles(),
75
  "default_goals": GOALS[:3],
76
  "profile_fields": PROFILE_FIELDS,
77
- "prize_ledger": prize_ledger(runtime_status),
78
  }
79
 
80
 
 
74
  "goal_profiles": goal_profiles(),
75
  "default_goals": GOALS[:3],
76
  "profile_fields": PROFILE_FIELDS,
 
77
  }
78
 
79
 
tests/test_app.py CHANGED
@@ -45,7 +45,7 @@ def test_bootstrap_exposes_index_metadata() -> None:
45
  assert payload["goal_profiles"][0]["label"] == "Local-first"
46
  assert "description" in payload["goal_profiles"][0]
47
  assert "skills" in payload["profile_fields"]
48
- assert payload["prize_ledger"]["tiny_titan_eligible"] is True
49
 
50
 
51
  def test_trace_artifact_endpoint_exports_jsonl() -> None:
 
45
  assert payload["goal_profiles"][0]["label"] == "Local-first"
46
  assert "description" in payload["goal_profiles"][0]
47
  assert "skills" in payload["profile_fields"]
48
+ assert "prize_ledger" not in payload
49
 
50
 
51
  def test_trace_artifact_endpoint_exports_jsonl() -> None: