The page leanprompt report --html writes for career-ops-hq/career-ops at commit e399fad, audited 2026-11-30. Every figure on this page is an estimate from reading the code, not a measurement of the app in use. Corrections and takedown: email info@podwarden.com or open an issue. Back to the audit of career-ops-hq/career-ops

leanprompt audit of career-ops-hq/career-ops

Unattended audit: nobody was asked during the run, so priority, volume and prices were left open; the questions for the owner are listed at the end.

The audit found no place where this app pays for tokens it doesn't need

Plus 2 other problems the audit found, listed after the findings. Not scored.

What's wrong and what to change

0 open, 0 fixed. Largest first, by the audit's estimate of tokens lost per 1,000 calls.

No confirmed findings.

Other problems the audit found

Problems the audit checked in the code that cost no tokens of their own, such as a spend meter that ignores cache tokens or a cut-off answer accepted as complete. They are not scored. Check each one before you change anything.

Batch Gemini evaluator defaults to models that retire on 2026-12-01

Note 1. batch-evaluate-gemini.mjs:150 LP-GE-13 medium not scored

spendTierToModel() returns gemini-2.5-flash for the default spend_tier (standard, config/profile.example.yml:201) and gemini-2.5-pro for premium. The Gemini deprecations page says that from 2026-12-01 requests to both route automatically to other models (gemini-3.5-flash-lite and gemini-3.8-flash), billed at those models' rates (page checked on 2026-11-30). This script has no GEMINI_MODEL override, so a user who passes no --model gets the swap without a message. gemini-eval.mjs already defaults to gemini-3.6-flash and its header lists gemini-2.5-flash as deprecated.

What to change
Point the standard and premium tiers at current ids (the ones gemini-eval.mjs uses), or read GEMINI_MODEL here as gemini-eval.mjs does, and update the 2.5 rows in utils/token-tracker.mjs:18 with them.
Why it matters
From 2026-12-01 the model that runs, and its price, change with no line in the batch output saying so.

How to check the fix Run node batch-evaluate-gemini.mjs --limit 1 with spend_tier standard and check that the 'Calling Gemini (<model>)' line names a current id.

Gemini evaluator cost estimate leaves out thought tokens; Gemini batch records no usage

Note 2. gemini-eval.mjs:566 LP-GE-11 medium not scored

gemini-eval.mjs sets completion_tokens from usageMetadata.candidatesTokenCount and never reads thoughtsTokenCount, which the API reference lists as its own field ('Number of tokens of thoughts for thinking models'). The pricing page says the output price includes thinking tokens (both pages checked on 2026-11-30). estimateCost (utils/token-tracker.mjs:134) prices only completion_tokens, so for a model that thinks the printed cost can be below the bill. batch-evaluate-gemini.mjs (line 424) reads no usage at all, so a batch run prints no token or cost figure.

What to change
Add thoughtsTokenCount to completion_tokens at gemini-eval.mjs:566, and have the batch evaluator record usageMetadata through the same TokenAccumulator.
Why it matters
The cost breakdown is the only spend figure a user sees for the Gemini paths; it may read low for a thinking model, and for batch runs it does not exist.

How to check the fix For one request, the printed completion count equals candidatesTokenCount plus thoughtsTokenCount from the response.

Fix it with your coding agent

Paste this into Claude Code, Codex, Cursor or any coding assistant. It will check each finding against your code and propose fixes one at a time, asking before it changes anything.

Please check and fix the LLM-call findings from a leanprompt audit of this repository.

1. If the leanprompt skills are not installed for you here, install them: npx leanprompt@0.1.0-dev.15 install
2. Read .leanprompt/findings.json and leanprompt-report.md. If they are missing, use the list below.
3. Check each finding against the code before you change anything. The audit can be wrong: if a finding does not hold, tell me why and leave that code alone.
4. Fix one finding at a time. Show me the change as a small diff and apply it only after I say yes.
5. Prove each fix with the measure-loop skill: a before and after on the same scenario. Ask me before running anything that sends real, billed requests.
6. When a fix is proved, set "fixed": true on its finding in .leanprompt/findings.json and run npx leanprompt@0.1.0-dev.15 score.

Other problems found (check each against the code first; not scored):
- Batch Gemini evaluator defaults to models that retire on 2026-12-01 (batch-evaluate-gemini.mjs:150) [LP-GE-13]: spendTierToModel() returns gemini-2.5-flash for the default spend_tier (standard, config/profile.example.yml:201) and gemini-2.5-pro for premium. The Gemini deprecations page says that from 2026-12-01 requests to both route automatically to other models (gemini-3.5-flash-lite and gemini-3.8-flash), billed at those models' rates (page checked on 2026-11-30). This script has no GEMINI_MODEL override, so a user who passes no --model gets the swap without a message. gemini-eval.mjs already defaults to gemini-3.6-flash and its header lists gemini-2.5-flash as deprecated. Change: Point the standard and premium tiers at current ids (the ones gemini-eval.mjs uses), or read GEMINI_MODEL here as gemini-eval.mjs does, and update the 2.5 rows in utils/token-tracker.mjs:18 with them.
- Gemini evaluator cost estimate leaves out thought tokens; Gemini batch records no usage (gemini-eval.mjs:566) [LP-GE-11]: gemini-eval.mjs sets completion_tokens from usageMetadata.candidatesTokenCount and never reads thoughtsTokenCount, which the API reference lists as its own field ('Number of tokens of thoughts for thinking models'). The pricing page says the output price includes thinking tokens (both pages checked on 2026-11-30). estimateCost (utils/token-tracker.mjs:134) prices only completion_tokens, so for a model that thinks the printed cost can be below the bill. batch-evaluate-gemini.mjs (line 424) reads no usage at all, so a batch run prints no token or cost figure. Change: Add thoughtsTokenCount to completion_tokens at gemini-eval.mjs:566, and have the batch evaluator record usageMetadata through the same TokenAccumulator.

Score

One number from 0 to 100 for how well this app avoids paying for the same tokens twice; higher is better. It is computed from the findings above (static) or from your usage log (measured).

100static
E, prefill reuse
1.00
S, prefix stability
1.00
G, generation waste
0.00
Default shares
0 of 0

Findings scored with severity defaults, not estimates. The fewer, the more the static score says about this app.

A static score is an estimate from the audit's findings, not a measurement.

Scored 2026-11-30 (the date on the machine that ran it).

Questions for the owner

These were not answered during the audit. Until they are, the page shows tokens only and ranks the advice without a priority.

  • Priority: which matters most for this app, cost, speed or quality (or weights)? Not set, so the advice uses equal weights. Answer with priority: in leanprompt.yaml.
  • Volume: how many calls does the app make a month? Answer with volume: {calls_per_month: N, source: "..."} in leanprompt.yaml.
  • Prices: what does each model cost (input, cached input, output per 1M tokens, with the source and the date it was read, and the currency if not US dollars)? Answer with prices: in leanprompt.yaml.