This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 4.0.1 instead.
Reason given by maintainers: audit
Pre-Reasoning V4
Mia Labs' Pre-Reasoning Engine V4 is a super-optimized release: it reduces the parameter requirement by 93% compared with the previous V3 engine (13.7M to 1M).
check the file loss_function_optimization.md if interested on the how.
Usage
from pre_reasoning import analyze
result = analyze("Frontend depends on API. API depends on Auth.")
print(result["trace"])
The bundled release checkpoint is the weights-only file pre_reasoning/checkpoints/pre-reasoning-1m.safetensors. Training checkpoints and optimizer state are not distributed.
Contract
V4 retains the five-family structural output: dependencies, conflicts, requirements, conditionals, transitive closure, root blockers, and cycle detection. The deterministic harness helps with entities and preserves same V4 contract; the 1M model supplies the learned component behind that contract.
The promoted checkpoint passed the V4-compatible harness board at 3,000/3,000, including 1,000/1,000 F1–F5 cases.
Layout
pre_reasoning/— single public V4 packagepre_reasoning/checkpoints/pre-reasoning-1m.safetensors— bundled 1M weights-only checkpointpre_reasoning/engine.py— V4 API and harness adapterpre_reasoning/inference.py— minimal NanoChat model runtimepre_reasoning/engine_core.py— stable graph-core compatibility modulepre_reasoning/harness.py— structural graph harness
No previous-engine checkpoint, training sidecar, or MoE is included (or needed) in this release tree.
License
MIT. See LICENSE.
Metadata
Release files for pre-reasoning 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pre_reasoning-4.0.0.tar.gz | 3.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pre_reasoning-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 MB
Release files / pre_reasoning-4.0.0.tar.gz
| Download URL | pre_reasoning-4.0.0.tar.gz |
|---|---|
| Size | 3.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62d54eca7aacc5653bf4f66e0d309e72146005387ef763786f67f5cbeb256633
|
|
BLAKE2b-256 checksum How to use checksums |
0061246c000d1de9bd1f7f6b09d01f593ccbf4aacc555aad904be9d6bc131242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Release files / pre_reasoning-4.0.0-py3-none-any.whl
| Download URL | pre_reasoning-4.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58bddb98c8830acee23fd2cb0d9230f176315c43aea57c492b82dbe8faf386ba
|
|
BLAKE2b-256 checksum How to use checksums |
3aa5801182382ab3878bced4c83ced4a6ac3e20e0de7f139b839e92b7bb0909e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|