Repository navigation
⚡ Bolt: optimize live_catalog_feed constants and aggregation - #708
google-labs-jules[bot] wants to merge 1 commit into
Conversation
- Hoist SPECIAL_FREE_MODELS, PREFER_KEYWORDS, and REVIEW_KEYWORDS to module level to eliminate per-invocation set/tuple allocations in _is_free and peer_candidates_for_role. - Aggregate eligible models and by_provider groupings in a single pass over catalog rows in load_eligible. - Add unit test suite in tests/test_live_catalog_feed.py and log learnings in .jules/bolt.md.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Mention Blocks like a regular teammate with your question or request: @blocks review this pull request Run |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed for project help-wanted-dash with the following error: Learn More: https://vercel.com/timerloggedout-5184s-projects?upgradeToPro=build-rate-limit |
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 3 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
Deployment failed for project help-wanted-oversight with the following error: Learn More: https://vercel.com/timerloggedout-5184s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed for project mcp-hub with the following error: Learn More: https://vercel.com/timerloggedout-5184s-projects?upgradeToPro=build-rate-limit |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy clear (success) Scanned 3 changed file(s). No taxonomy bucket signals were detected. Scanned 3 changed file(s). No PR taxonomy bucket signals were detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 3 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 3 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
ECC App activity — dual-gate merges; review skills/hooks before merge. |
PR Change Effectiveness LedgerMeasured head:
Interpretation: commit count is context, not quality. Empty commits are explicitly measured, not silently treated as productive work. Gross churn describes work performed across history; the final base→head diff describes what remains. Review/comment/check evidence must be evaluated separately and tied to this measured head SHA. State: 🟢 EFFECTIVE_DIFF_PRESENT; No empty commits observed. Generated: 2026-09-21T08:07:46Z |
…175) Evidence: live master 1bfcad2. Dual-gate on tip: hygiene+portability (repo-gate) SUCCESS + agentic termux smoke SUCCESS. Historical-evaluation-correlation / swe-reference / agent-jules-on-issues failures are non-gate. Does not merge #682 EXTRACT (130-file mega; keep-alive is ml/pipelines child), #680/#708 Bolt family, #630 minesweeper, or ML wholesale #432/#549/#601. Refs: #175 Agent-Identity: Grok (Administrator)
⚡ Bolt: optimize live_catalog_feed constants and aggregation
💡 What:
SPECIAL_FREE_MODELS,PREFER_KEYWORDS,REVIEW_KEYWORDS) to module-level scope inscripts/live_catalog_feed.py.load_eligibleinto a single linear pass over catalog rows to accumulate eligible models and group by provider concurrently.tests/test_live_catalog_feed.pyand documented learnings in.jules/bolt.md.🎯 Why:
Instantiating set and tuple literals on every evaluation of
_is_freeandpeer_candidates_for_rolecauses unnecessary memory allocation and runtime overhead during high-throughput model router evaluations.📊 Impact:$O(N)$ runtime efficiency).
Eliminates per-row collection allocations and reduces filtering/grouping passes in
load_eligiblefrom 2 passes to 1 pass (🔬 Measurement:
Verified through
pytest tests/test_live_catalog_feed.py.PR created automatically by Jules for task 14424034121719561458 started by @timerloggedout-spec