Skip to content

Hidden suite: a sign-in lockout in one test fails every later test #116

Closed

Description

@braboj

Builds that lock the administrator out after failed sign-ins lose about 30 % of the hidden tests, though their code works. The suite runs every module in one process, so its own wrong-password tests trip the lockout for all the tests after them.

How it plays out, round 5c on Python 3.12:

test_http_signin.py   several wrong passwords, on purpose
                      -> the build's module-level counter reaches 5
                      -> the administrator is locked out (15 min in skills-4)
test_http_customers   every signed-in test redirects to /sign-in
test_export_*         same
test_seed, test_nojs  same
Build Pass rate Lockout
skills-4, skills-10 71 % yes
hybrid-2, reference-4 70 % yes
any none build ≥ 98.9 % none added
  • Run alone, those modules pass on these builds (checked on skills-4: 110 of 110).
  • This alone makes skills read "worse" on task success in round 5c's report.
  • A lockout is the brute-force protection the templates ask for, so the suite penalises a templates arm for following them.

Not this issue: reference-8 and reference-11 fail because Flask is not a declared dependency, and reference-12 (77 %) is not yet traced.

  • Decide the fix, for example:
    • run each module in a process of its own, or
    • start each test with the lockout state reset (no reach into the build's code), or
    • make the wrong-password tests use their own username
  • Validate the changed suite again: the reference passes all, and the mutation control still catches 12 of 12
  • Decide before round 5d's first trial whether 5d scores on the new suite revision (Round 5d: hand and short against round 5c #89); 5c's none would then be re-scored on it too
  • Round 5c's report is not re-graded for this (FR-12-10); note it as a known effect

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xPFWEQr1bipxbbKBRF

Activity

  1. added
    task
    P1
    on Nov 2, 2026
  2. braboj commented on Nov 4, 2026

    @braboj
    ContributorAuthor

    Done:

    Effect of the fix on round 5c: skills reads better than no file instead of worse. skills-4 and skills-10 rise from 71 % to the suite's normal pass rate; hybrid-2 and reference-4 likewise. reference-8, -11 (Flask not declared) still fail, and reference-12 stays untraced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions