Skip to content

insights: Level 4 waits for its weeks-of-changes check, which gets a longer limit; with no answer the level reads L3, could be L4 - #40

Merged
teocns merged 1 commit into
mainfrom
insights-level-4-check-time-limit
Nov 13, 2026
Merged

teocns merged 1 commit into
mainfrom
insights-level-4-check-time-limit

Conversation

@teocns

@teocns teocns commented Nov 13, 2026

Copy link
Copy Markdown
Member

Before and after:

  • Before, the one check that decides Level 4 (changes to what you built in 3 or more different weeks) was read as met when it gave no answer. It has the same short time limit as every other check and timed out in about 1 run in 10 on a busy laptop, so a laptop that had not shown the weeks could read Level 4.
  • After, that check has a limit of its own, 4 times the others, and nothing else gets it. When it still gives no answer, the level reads "L3, could be L4" with the reason said ("the weeks you changed what you built could not be counted this time"), never L4. With fewer than 3 weeks the reading is as before. The same holds in the second reading of the level (the one built from things), whose "what would move you up" line says the weeks could not be counted.
  • Example: a laptop whose check timed out read L4 before and reads L3, could be L4 now; run again with time to answer, it reads what the weeks say.

Limits: a check that really needs more than 4 times the limit still has no answer and holds the level at L3, could be L4. That is the cautious side on purpose: what decides a level has to be seen.

Test:

  • cd plugins/insights/scripts/v15/engine/variants/views && uv run --no-project python -m unittest test_view_built test_view_mylevel test_counts (45 tests, OK)

  • claude plugin validate . passes with the warnings it already gave.

  • The sources this repository is published from have tests for 5 and 3 weeks, 1 and 0 weeks, and every kind of no answer; they pass and are not shipped here.

  • One change. I did not edit a version, a CHANGELOG.md, marketplace.json or kit.json.

  • Nothing personal: no names, no paths from my machine, no output of my own scan, no secrets.

No version change: nothing reaches members until a release.

…longer limit; with no answer the level reads L3, could be L4

Kit-Commit: 023949d362f0442bec2ca16015c9626cf76bb9a3
Kit-Only: plugins/insights
@teocns
teocns merged commit 9eb830f into main Nov 13, 2026
@teocns teocns mentioned this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant