Skip to content

Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.

Record Django solve regression and verified sklearn compatibility miss

David Zhangdb76699c76a9
diff --git a/specs/jevgrep/README.md b/specs/jevgrep/README.md
index bde53be..73c2a8b 100644
--- a/specs/jevgrep/README.md
+++ b/specs/jevgrep/README.md
@@ -16,7 +16,9 @@ attempt. The merged `bun run verify` gate passed and whole-product review's sole
finding is fixed with a clean follow-up review. Exact archive checks pass on
macOS arm64 and Linux arm64/amd64; all ten no-call validations passed.
See [runtime evidence](assets/python-runtime.md) for coverage, artifact identity
-and interpreter-version limits. Quality acceptance remains unproven.
+and interpreter-version limits. Django failed a required test despite a solved baseline, so solve-preservation
+acceptance currently fails. Continue the remaining frozen cells and paired failure
+analysis before proposing a correction.
`installed-jg-reference-parity-v1` is stopped and superseded. Requests and
scikit-learn officially solved but exceeded baseline cost; Django was interrupted
diff --git a/specs/jevgrep/assets/cpython-confirmation.md b/specs/jevgrep/assets/cpython-confirmation.md
index 7285b6f..50c1524 100644
--- a/specs/jevgrep/assets/cpython-confirmation.md
+++ b/specs/jevgrep/assets/cpython-confirmation.md
@@ -3,7 +3,8 @@
Study: `evals/runs/swebench/installed-jg-cpython-parity-v1/plan.json`.
The [runtime evidence](python-runtime.md) owns the exact archive and preflight
checks. This is one prospective ten-task cohort; superseded studies do not
-contribute results, and saved baselines are never rerun. Acceptance remains open.
+contribute results, and saved baselines are never rerun. Acceptance is currently failing solve preservation because Django did not solve;
+the remaining frozen cells continue to characterize the same policy.
## Verified completed pairs
@@ -11,8 +12,10 @@ contribute results, and saved baselines are never rerun. Acceptance remains open
| --- | --- | ---: | ---: | ---: | ---: |
| Requests 1142 | Solved, no evaluator errors | $0.2307800 | $0.2685004 | −14.05% | $0.011333322 |
| scikit-learn 13124 | Solved, no evaluator errors | $0.2161638 | $0.2944360 | −26.58% | $0.061259100 |
+| Django 15629 | Unresolved; one required test failed | $1.0015696 | $1.5055472 | −33.47%, **not a win** | Known $0.179557602; full total unknown |
-Both Sol bills are complete, with nine generations each. Jev response-cost
+All three Sol bills are complete: nine generations each for Requests and
+scikit-learn, 24 for Django. Jev response-cost
coverage is complete: Requests has 72 client calls and 81 provider attempts;
scikit-learn has 215 calls and 233 provider attempts. These are observed API
metadata, not invoice reconciliation. Unknown or failed remaining outcomes cannot
@@ -51,3 +54,56 @@ study's Requests attempt; comparators are the retained baseline at
`auto-research-80/unit-locators-confirmation/psf__requests-1142`, relative to
`evals/runs/swebench/`. Use raw rollout files for complete tool output; event
summaries can retain only the final output segment.
+
+## Scikit-learn quality caveat
+
+The new packet contains eight files and zero source excerpts. Jev scored the main
+implementation 0.27 (a reading lead) and the existing shuffle test 0.15 (no lead).
+No declaration passed the 0.5 source threshold across 58 classification requests.
+Sol then read the implementation and tests locally, made one patch and passed two
+focused tests followed by the full module's 62 tests.
+
+Source review finds a compatibility miss: normalizing `random_state`
+unconditionally can reject an invalid but unused seed when `shuffle=False`.
+Both the baseline and accepted spike caught this edge, made normalization
+conditional, and legitimately retested. An offline runtime reproduction in the retained Python 3.6.13 image confirms
+the difference: original, baseline and accepted spike return ten folds for an
+unused `object()` seed; the new patch raises `ValueError`. Valid-seed shuffled
+and unshuffled controls agree across the corrected implementations. Exact probe
+commands and patch identities are in `/tmp/jg-sklearn-rng-probe/`. The official cost win remains the formal benchmark result, but it does
+not establish equal patch robustness. Some omitted work protected compatibility;
+it must not all be described as unnecessary exploration. Full paired evidence is
+retained at `/tmp/jg-cpython-sklearn-comparison/`.
+
+## Django failure and cost coverage
+
+The patch applied, but official `test_alter_field_pk_fk_db_collation` failed:
+the related foreign-key column had no collation instead of `nocase`. Creation
+coverage and all pass-to-pass tests succeeded; there was no infrastructure or
+evaluator error. The baseline solved this task. This result fails the cohort's
+solve-preservation gate regardless of its lower cost. Paired trace review identifies the missing SQLite condition: the new patch
+leaves related-table rebuilding conditional on a type change; both baseline and
+accepted spike also check a collation change. The official test changes only the
+collation, so the new branch never rebuilds the referencing table.
+
+The new agent's focused collation test failed. It attributed the failure to model
+state, removed the failing related-column assertions, and replaced the scenario
+with an AutoField-to-CharField migration. That type change exercises the existing
+condition and therefore misses the required collation-only transition. The later
+313-test pass did not establish the missing behavior. In contrast, the accepted
+spike retained a failing collation-only scenario, read the relevant SQLite range,
+and corrected the condition; baseline read that range too.
+
+Both retrieval packets locate SQLite's schema editor and return no source excerpts.
+The new packet has one reading lead versus four in the accepted spike. These
+packet differences might influence exploration, but do not prove retrieval caused
+the failure. The missing condition and changed test scenario directly explain the
+observed failure. No outcome is discarded or policy changed mid-cohort.
+
+Jev saved 936 cost-bearing responses, but 13 transport endings recorded broken
+pipes with zero delivered bytes. Those requests timed out at the client; late
+response bodies were still retained. Eleven declaration requests recovered by
+retry, and two navigation requests recovered by splitting. The CLI returned
+complete output, but strict accounting leaves the full observed Jev total unknown
+while retaining the known response-cost subtotal above. This is not zero usage
+and does not change the fully accounted Sol bill.
diff --git a/specs/jevgrep/slices/08-release.md b/specs/jevgrep/slices/08-release.md
index 530048a..68fd757 100644
--- a/specs/jevgrep/slices/08-release.md
+++ b/specs/jevgrep/slices/08-release.md
@@ -1,6 +1,6 @@
# Confirm quality and the release artifact
-Status: verifying. Depends on: 07. Read [contracts](../contracts.md) first.
+Status: frozen confirmation in progress; solve preservation currently fails on Django. Depends on: 07. Read [contracts](../contracts.md) first.
## Contract and owner