quantum-cortex 1.0.0__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/AUTHORS.md +34 -30
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/LICENSE +73 -73
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/LICENSE-DOCS.md +34 -34
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/NOTICE +50 -50
- quantum_cortex-1.1.0/PKG-INFO +150 -0
- quantum_cortex-1.1.0/README.md +121 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2/__init__.py +161 -161
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2/consolidation.py +146 -146
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2/router_ablation.py +254 -254
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2/router_v2.py +109 -109
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/__init__.py +1060 -724
- quantum_cortex-1.1.0/cortex_c2b/a0.py +304 -0
- quantum_cortex-1.1.0/cortex_c2b/addressing_probe.py +107 -0
- quantum_cortex-1.1.0/cortex_c2b/adoption_reading.py +309 -0
- quantum_cortex-1.1.0/cortex_c2b/bucket_probe.py +705 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/companion_demo.py +209 -203
- quantum_cortex-1.1.0/cortex_c2b/cost_harness.py +487 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/crypto.py +102 -102
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/external_arm.py +743 -591
- quantum_cortex-1.1.0/cortex_c2b/freeze.py +180 -0
- quantum_cortex-1.1.0/cortex_c2b/hm_lm.py +1639 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/hm_protocol.py +311 -308
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/lifecycle.py +540 -454
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/lm_bridge.py +352 -338
- quantum_cortex-1.1.0/cortex_c2b/near_duplicate_probe.py +784 -0
- quantum_cortex-1.1.0/cortex_c2b/near_duplicate_reading.py +1497 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/organ_use.py +254 -254
- quantum_cortex-1.1.0/cortex_c2b/provenance_bench.py +613 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/read_path.py +355 -218
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_c2b/reconstruction_probe.py +531 -471
- quantum_cortex-1.1.0/cortex_c2b/record_tools.py +90 -0
- quantum_cortex-1.1.0/cortex_c2b/references.py +435 -0
- quantum_cortex-1.1.0/cortex_c2b/resumable.py +664 -0
- quantum_cortex-1.1.0/cortex_c2b/revision_probe.py +228 -0
- quantum_cortex-1.1.0/cortex_c2b/scale_probe.py +1223 -0
- quantum_cortex-1.1.0/cortex_c2b/scale_reading.py +554 -0
- quantum_cortex-1.1.0/cortex_c2b/sealed_families.py +523 -0
- quantum_cortex-1.1.0/cortex_c2b/sealed_family.py +970 -0
- quantum_cortex-1.1.0/cortex_c2b/sealed_reading.py +772 -0
- quantum_cortex-1.1.0/cortex_c2b/withdrawal_probe.py +278 -0
- quantum_cortex-1.1.0/cortex_c2b/write_path.py +325 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_data/__init__.py +439 -439
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_data/relay.py +174 -174
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/__init__.py +20 -20
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/ablation_mqar.py +187 -187
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/confirmation_run.py +133 -133
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/domain_map.py +127 -127
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/external_baseline.py +148 -148
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/ingest_confirmation.py +194 -194
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/mqar.py +122 -122
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/multiseed.py +148 -148
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/recurrent_base.py +197 -197
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/recurrent_ladder.py +159 -159
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/resumable_ladder.py +231 -231
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/resumable_rb.py +207 -207
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/run_mqar.py +127 -127
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/cortex_eval/serial_position.py +116 -116
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/pyproject.toml +49 -49
- quantum_cortex-1.1.0/quantum_cortex.egg-info/PKG-INFO +150 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/quantum_cortex.egg-info/SOURCES.txt +50 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_ablation_mqar.py +34 -34
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2_consolidation.py +105 -105
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2_layers.py +86 -86
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2_router.py +80 -80
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2_router_ablation.py +25 -25
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2_router_v2.py +86 -86
- quantum_cortex-1.1.0/tests/test_c2b_a0.py +119 -0
- quantum_cortex-1.1.0/tests/test_c2b_a0_record.py +465 -0
- quantum_cortex-1.1.0/tests/test_c2b_addressing_probe.py +34 -0
- quantum_cortex-1.1.0/tests/test_c2b_addressing_record.py +91 -0
- quantum_cortex-1.1.0/tests/test_c2b_adoption_record.py +240 -0
- quantum_cortex-1.1.0/tests/test_c2b_adoption_replay.py +441 -0
- quantum_cortex-1.1.0/tests/test_c2b_bucket_probe.py +616 -0
- quantum_cortex-1.1.0/tests/test_c2b_bucket_probe_record.py +261 -0
- quantum_cortex-1.1.0/tests/test_c2b_cost_harness.py +178 -0
- quantum_cortex-1.1.0/tests/test_c2b_external_arm.py +476 -0
- quantum_cortex-1.1.0/tests/test_c2b_external_arm_record.py +118 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_extraction_probe.py +205 -205
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_familiarity_mark.py +338 -326
- quantum_cortex-1.1.0/tests/test_c2b_freeze.py +118 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_hm_protocol.py +46 -46
- quantum_cortex-1.1.0/tests/test_c2b_identity_record.py +379 -0
- quantum_cortex-1.1.0/tests/test_c2b_identity_rule.py +606 -0
- quantum_cortex-1.1.0/tests/test_c2b_index_geometry.py +426 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_lifecycle.py +432 -427
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_lm_bridge.py +613 -609
- quantum_cortex-1.1.0/tests/test_c2b_near_duplicate.py +530 -0
- quantum_cortex-1.1.0/tests/test_c2b_near_duplicate_record.py +214 -0
- quantum_cortex-1.1.0/tests/test_c2b_provenance_bench.py +450 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_read_path.py +103 -84
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_reconstruction_probe.py +146 -137
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_reconstruction_record.py +118 -118
- quantum_cortex-1.1.0/tests/test_c2b_references.py +232 -0
- quantum_cortex-1.1.0/tests/test_c2b_revision.py +320 -0
- quantum_cortex-1.1.0/tests/test_c2b_revision_record.py +125 -0
- quantum_cortex-1.1.0/tests/test_c2b_scale_probe.py +754 -0
- quantum_cortex-1.1.0/tests/test_c2b_scale_reading.py +244 -0
- quantum_cortex-1.1.0/tests/test_c2b_scale_record.py +617 -0
- quantum_cortex-1.1.0/tests/test_c2b_sealed_families.py +236 -0
- quantum_cortex-1.1.0/tests/test_c2b_sealed_family.py +475 -0
- quantum_cortex-1.1.0/tests/test_c2b_sealed_reading.py +260 -0
- quantum_cortex-1.1.0/tests/test_c2b_sealed_record.py +825 -0
- quantum_cortex-1.1.0/tests/test_c2b_source_text.py +406 -0
- quantum_cortex-1.1.0/tests/test_c2b_state_coherence.py +387 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_storage_policy.py +263 -263
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_store.py +114 -114
- quantum_cortex-1.1.0/tests/test_c2b_withdrawal_probe.py +190 -0
- quantum_cortex-1.1.0/tests/test_c2b_withdrawal_record.py +218 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_c2b_write_path.py +103 -92
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_circuit_breaker.py +61 -61
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_companion_demo.py +28 -28
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_compose_snippet.py +72 -70
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_confirmation_run.py +12 -12
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_control_conv.py +80 -80
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_domain_map.py +27 -27
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_ingest_confirmation.py +69 -69
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_invariants.py +112 -112
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_ledger.py +47 -47
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_mqar.py +73 -73
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_multiseed.py +41 -41
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_recurrent_base.py +117 -117
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_recurrent_base_record.py +139 -139
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_recurrent_ladder.py +32 -32
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_relay.py +98 -98
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_resumable_ladder.py +61 -61
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_run_mqar.py +21 -21
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_serial_position.py +50 -50
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_smoke.py +49 -49
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/tests/test_wiring.py +69 -69
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/train.py +951 -885
- quantum_cortex-1.0.0/PKG-INFO +0 -209
- quantum_cortex-1.0.0/README.md +0 -180
- quantum_cortex-1.0.0/cortex_c2b/hm_lm.py +0 -983
- quantum_cortex-1.0.0/cortex_c2b/write_path.py +0 -176
- quantum_cortex-1.0.0/quantum_cortex.egg-info/PKG-INFO +0 -209
- quantum_cortex-1.0.0/tests/test_c2b_external_arm.py +0 -195
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/quantum_cortex.egg-info/dependency_links.txt +0 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/quantum_cortex.egg-info/requires.txt +0 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/quantum_cortex.egg-info/top_level.txt +0 -0
- {quantum_cortex-1.0.0 → quantum_cortex-1.1.0}/setup.cfg +0 -0
|
@@ -1,30 +1,34 @@
|
|
|
1
|
-
# Authors — quantum-cortex
|
|
2
|
-
|
|
3
|
-
This file lists the authors of **quantum-cortex**, the pure-LLM member of the
|
|
4
|
-
Quantum Meridian ecosystem (a project of Win2Win SRL, Belgium). It covers **this
|
|
5
|
-
repository only** — each repository of the family keeps its own `AUTHORS.md`.
|
|
6
|
-
|
|
7
|
-
The repositories of the family, each with its own `AUTHORS.md` (private at the v1 edition of this repository; the two hub pages that govern this one are mirrored in `docs/hub/`):
|
|
8
|
-
|
|
9
|
-
- quantum-meridian — documentation & governance hub
|
|
10
|
-
- quantum-contracts — shared wire types & invariants
|
|
11
|
-
- quantum-proxy — control plane (`qctl`), premium tier
|
|
12
|
-
- quantum-agent — VS Code extension (fork of Cline), free tier
|
|
13
|
-
- [quantum-figma-mcp](https://github.com/vaneeckhoutnicolas/quantum-figma-mcp) — design-system federation satellite
|
|
14
|
-
- [quantum-cortex](https://github.com/vaneeckhoutnicolas/quantum-cortex) — the pure-LLM member, Apache-2.0, independent sibling ← **you are here**
|
|
15
|
-
|
|
16
|
-
## Maintainer
|
|
17
|
-
- Nicolas Van Eeckhout (founder) — Win2Win SRL
|
|
18
|
-
|
|
19
|
-
## Contributors
|
|
20
|
-
Contributors are added here when their
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
# Authors — quantum-cortex
|
|
2
|
+
|
|
3
|
+
This file lists the authors of **quantum-cortex**, the pure-LLM member of the
|
|
4
|
+
Quantum Meridian ecosystem (a project of Win2Win SRL, Belgium). It covers **this
|
|
5
|
+
repository only** — each repository of the family keeps its own `AUTHORS.md`.
|
|
6
|
+
|
|
7
|
+
The repositories of the family, each with its own `AUTHORS.md` (private at the v1 edition of this repository; the two hub pages that govern this one are mirrored in `docs/hub/`):
|
|
8
|
+
|
|
9
|
+
- quantum-meridian — documentation & governance hub
|
|
10
|
+
- quantum-contracts — shared wire types & invariants
|
|
11
|
+
- quantum-proxy — control plane (`qctl`), premium tier
|
|
12
|
+
- quantum-agent — VS Code extension (fork of Cline), free tier
|
|
13
|
+
- [quantum-figma-mcp](https://github.com/vaneeckhoutnicolas/quantum-figma-mcp) — design-system federation satellite
|
|
14
|
+
- [quantum-cortex](https://github.com/vaneeckhoutnicolas/quantum-cortex) — the pure-LLM member, Apache-2.0, independent sibling ← **you are here**
|
|
15
|
+
|
|
16
|
+
## Maintainer
|
|
17
|
+
- Nicolas Van Eeckhout (founder) — Win2Win SRL
|
|
18
|
+
|
|
19
|
+
## Contributors
|
|
20
|
+
Contributors are added here when their contribution enters the record: no pull
|
|
21
|
+
request is merged directly in this public copy; a retained contribution is applied
|
|
22
|
+
in the author's workshop with the contributor's authorship kept on the commit and
|
|
23
|
+
reaches this copy at the next refresh of the filter (`CONTRIBUTING.md`,
|
|
24
|
+
`docs/WORKSHOP.md`). To be listed, add your name (optionally with a handle or
|
|
25
|
+
email) in your first contribution, or in a follow-up pull request.
|
|
26
|
+
|
|
27
|
+
Copyright in each contribution is retained by its author and licensed under the
|
|
28
|
+
terms of this repository: Apache-2.0 for the code (`LICENSE`), CC BY 4.0 for the
|
|
29
|
+
documentation and the figures (`LICENSE-DOCS.md`).
|
|
30
|
+
|
|
31
|
+
Independent of any licence, the author retains the moral rights under Belgian law
|
|
32
|
+
(Code of Economic Law, Article XI.165).
|
|
33
|
+
|
|
34
|
+
(c) 2026 Nicolas Van Eeckhout, Win2Win SRL.
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
10
|
-
|
|
11
|
-
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
12
|
-
|
|
13
|
-
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
14
|
-
|
|
15
|
-
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
16
|
-
|
|
17
|
-
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
18
|
-
|
|
19
|
-
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
20
|
-
|
|
21
|
-
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
22
|
-
|
|
23
|
-
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
24
|
-
|
|
25
|
-
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
26
|
-
|
|
27
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
28
|
-
|
|
29
|
-
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
30
|
-
|
|
31
|
-
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
32
|
-
|
|
33
|
-
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
34
|
-
|
|
35
|
-
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
36
|
-
|
|
37
|
-
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
38
|
-
|
|
39
|
-
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
40
|
-
|
|
41
|
-
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
|
42
|
-
|
|
43
|
-
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
44
|
-
|
|
45
|
-
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
46
|
-
|
|
47
|
-
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
48
|
-
|
|
49
|
-
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
50
|
-
|
|
51
|
-
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
52
|
-
|
|
53
|
-
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
54
|
-
|
|
55
|
-
END OF TERMS AND CONDITIONS
|
|
56
|
-
|
|
57
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
58
|
-
|
|
59
|
-
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
|
60
|
-
|
|
61
|
-
Copyright [yyyy] [name of copyright owner]
|
|
62
|
-
|
|
63
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
64
|
-
you may not use this file except in compliance with the License.
|
|
65
|
-
You may obtain a copy of the License at
|
|
66
|
-
|
|
67
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
68
|
-
|
|
69
|
-
Unless required by applicable law or agreed to in writing, software
|
|
70
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
71
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
72
|
-
See the License for the specific language governing permissions and
|
|
73
|
-
limitations under the License.
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
10
|
+
|
|
11
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
12
|
+
|
|
13
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
14
|
+
|
|
15
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
16
|
+
|
|
17
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
18
|
+
|
|
19
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
20
|
+
|
|
21
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
22
|
+
|
|
23
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
24
|
+
|
|
25
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
26
|
+
|
|
27
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
28
|
+
|
|
29
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
30
|
+
|
|
31
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
32
|
+
|
|
33
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
34
|
+
|
|
35
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
36
|
+
|
|
37
|
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
38
|
+
|
|
39
|
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
40
|
+
|
|
41
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
|
42
|
+
|
|
43
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
44
|
+
|
|
45
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
46
|
+
|
|
47
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
48
|
+
|
|
49
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
50
|
+
|
|
51
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
52
|
+
|
|
53
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
54
|
+
|
|
55
|
+
END OF TERMS AND CONDITIONS
|
|
56
|
+
|
|
57
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
58
|
+
|
|
59
|
+
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
|
60
|
+
|
|
61
|
+
Copyright [yyyy] [name of copyright owner]
|
|
62
|
+
|
|
63
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
64
|
+
you may not use this file except in compliance with the License.
|
|
65
|
+
You may obtain a copy of the License at
|
|
66
|
+
|
|
67
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
68
|
+
|
|
69
|
+
Unless required by applicable law or agreed to in writing, software
|
|
70
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
71
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
72
|
+
See the License for the specific language governing permissions and
|
|
73
|
+
limitations under the License.
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
# Documentation licence
|
|
2
|
-
|
|
3
|
-
The **documentation** of quantum-cortex, that is every file under `docs/` (the whitepaper
|
|
4
|
-
`docs/WHITEPAPER.md`, the record `docs/RESULTS.md`, the register, the decision records, the
|
|
5
|
-
concept pages, the working notes), the figures under `docs/figures/`, and the prose content of
|
|
6
|
-
`README.md` and of the other Markdown files at the root, is licensed under the
|
|
7
|
-
|
|
8
|
-
**Creative Commons Attribution 4.0 International (CC BY 4.0)** licence.
|
|
9
|
-
|
|
10
|
-
You are free to share and adapt this material for any purpose, even commercially, under one
|
|
11
|
-
condition: **attribution**. You must give appropriate credit to *Nicolas Van Eeckhout, Win2Win
|
|
12
|
-
SRL*, provide a link to the licence, and indicate if changes were made. You may do so in any
|
|
13
|
-
reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
|
14
|
-
|
|
15
|
-
The full legal text is at <https://creativecommons.org/licenses/by/4.0/legalcode>.
|
|
16
|
-
|
|
17
|
-
**Scope.** This licence covers the documentation and the figures only. The **source code**, the
|
|
18
|
-
tests, the notebooks, the configurations and the measurement files under `metrics/` are licensed
|
|
19
|
-
under the Apache License 2.0 (`LICENSE`), whose attribution conditions are stated in `NOTICE`.
|
|
20
|
-
Where a file mixes code and prose (a notebook, a docstring), the Apache License applies. The
|
|
21
|
-
pretraining data is not part of this repository and carries its own licence (FineWeb-Edu,
|
|
22
|
-
ODC-By 1.0, attributed in `NOTICE`).
|
|
23
|
-
|
|
24
|
-
**Citing.** To cite the whitepaper or the repository, use `CITATION.cff`; the tag of each edition
|
|
25
|
-
is the citable object.
|
|
26
|
-
|
|
27
|
-
Independently of any licence, the author retains the moral rights of authorship under Belgian
|
|
28
|
-
law (Code of Economic Law, Article XI.165).
|
|
29
|
-
|
|
30
|
-
Decided by the founder on 2026-09-30 (register Rev79) so that the whitepaper carries the licence
|
|
31
|
-
that arXiv and the archives expect, distinct from the hub's CC BY-SA 4.0 for its own
|
|
32
|
-
documentation.
|
|
33
|
-
|
|
34
|
-
© 2026 Nicolas Van Eeckhout, Win2Win SRL.
|
|
1
|
+
# Documentation licence
|
|
2
|
+
|
|
3
|
+
The **documentation** of quantum-cortex, that is every file under `docs/` (the whitepaper
|
|
4
|
+
`docs/WHITEPAPER.md`, the record `docs/RESULTS.md`, the register, the decision records, the
|
|
5
|
+
concept pages, the working notes), the figures under `docs/figures/`, and the prose content of
|
|
6
|
+
`README.md` and of the other Markdown files at the root, is licensed under the
|
|
7
|
+
|
|
8
|
+
**Creative Commons Attribution 4.0 International (CC BY 4.0)** licence.
|
|
9
|
+
|
|
10
|
+
You are free to share and adapt this material for any purpose, even commercially, under one
|
|
11
|
+
condition: **attribution**. You must give appropriate credit to *Nicolas Van Eeckhout, Win2Win
|
|
12
|
+
SRL*, provide a link to the licence, and indicate if changes were made. You may do so in any
|
|
13
|
+
reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
|
14
|
+
|
|
15
|
+
The full legal text is at <https://creativecommons.org/licenses/by/4.0/legalcode>.
|
|
16
|
+
|
|
17
|
+
**Scope.** This licence covers the documentation and the figures only. The **source code**, the
|
|
18
|
+
tests, the notebooks, the configurations and the measurement files under `metrics/` are licensed
|
|
19
|
+
under the Apache License 2.0 (`LICENSE`), whose attribution conditions are stated in `NOTICE`.
|
|
20
|
+
Where a file mixes code and prose (a notebook, a docstring), the Apache License applies. The
|
|
21
|
+
pretraining data is not part of this repository and carries its own licence (FineWeb-Edu,
|
|
22
|
+
ODC-By 1.0, attributed in `NOTICE`).
|
|
23
|
+
|
|
24
|
+
**Citing.** To cite the whitepaper or the repository, use `CITATION.cff`; the tag of each edition
|
|
25
|
+
is the citable object.
|
|
26
|
+
|
|
27
|
+
Independently of any licence, the author retains the moral rights of authorship under Belgian
|
|
28
|
+
law (Code of Economic Law, Article XI.165).
|
|
29
|
+
|
|
30
|
+
Decided by the founder on 2026-09-30 (register Rev79) so that the whitepaper carries the licence
|
|
31
|
+
that arXiv and the archives expect, distinct from the hub's CC BY-SA 4.0 for its own
|
|
32
|
+
documentation.
|
|
33
|
+
|
|
34
|
+
© 2026 Nicolas Van Eeckhout, Win2Win SRL.
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
quantum-cortex
|
|
2
|
-
Copyright 2026 Nicolas Van Eeckhout (Win2Win SRL, Brussels, Belgium)
|
|
3
|
-
ORCID: https://orcid.org/0000-0002-5256-3185
|
|
4
|
-
Original work: https://github.com/vaneeckhoutnicolas/quantum-cortex
|
|
5
|
-
|
|
6
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
7
|
-
use this work except in compliance with the License. You may obtain a copy of
|
|
8
|
-
the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
ATTRIBUTION NOTICE (Apache License 2.0, Section 4):
|
|
11
|
-
quantum-cortex was originally created by Nicolas Van Eeckhout. Redistribution
|
|
12
|
-
of this work, or of any Derivative Work, in Source or Object form, is permitted
|
|
13
|
-
by the License only on its conditions, two of which concern this file: the
|
|
14
|
-
attribution notices it contains must be retained in the Source form of any
|
|
15
|
-
Derivative Work (Section 4(c)), and a readable copy of them must be included
|
|
16
|
-
with any Derivative Work you distribute, in a NOTICE file, in the source or
|
|
17
|
-
documentation, or in a display where third party notices normally appear
|
|
18
|
-
(Section 4(d)). This holds whether or not the work is modified, forked,
|
|
19
|
-
renamed, or incorporated into a larger work. A redistribution that drops this
|
|
20
|
-
attribution is outside the License. As Section 4(d) provides, the contents of
|
|
21
|
-
this file are for informational purposes only and do not modify the License.
|
|
22
|
-
|
|
23
|
-
Independently of the License, the author holds the moral rights of authorship
|
|
24
|
-
under Belgian law (Code of Economic Law, Article XI.165), including the right
|
|
25
|
-
to be named as the author; these rights are not waived by the License.
|
|
26
|
-
|
|
27
|
-
AUTHORSHIP: the design, the declarations, the readings and the integration of
|
|
28
|
-
this work are the author's, documented in the repository's dated record; a
|
|
29
|
-
language model produced most of the code and drafted text under his direction
|
|
30
|
-
and review, as stated in the whitepaper (docs/WHITEPAPER.md, section 7b).
|
|
31
|
-
|
|
32
|
-
THIRD PARTY DATA: the pretraining slice used by the runs in the record is drawn
|
|
33
|
-
from FineWeb-Edu (HuggingFaceFW), made available under the Open Data Commons
|
|
34
|
-
Attribution License v1.0 (ODC-By 1.0); its provenance is recorded in
|
|
35
|
-
data/mixes/fineweb-edu-n1.json and data/mixes/fineweb-edu-n1.provenance.json,
|
|
36
|
-
and the dataset is cited in the whitepaper's references. No third party code
|
|
37
|
-
is vendored in this repository: core components are written from scratch, and
|
|
38
|
-
peripheral needs are met by declared pip dependencies (see requirements.txt
|
|
39
|
-
and docs/OSS-SURVEY-2026-08-07.md for the anti plagiarism protocol).
|
|
40
|
-
|
|
41
|
-
This repository is the pure LLM member of the Quantum Meridian ecosystem
|
|
42
|
-
(a project of Win2Win SRL). It is fully open and contains no proprietary
|
|
43
|
-
Quantum Meridian control plane code. The continuity benchmarks it publishes
|
|
44
|
-
(the Molaison dissociation, the H.M. protocol; oracle shift; the reference
|
|
45
|
-
ratio) are part of this work and carry the same attribution requirement.
|
|
46
|
-
|
|
47
|
-
The documentation, the whitepaper and the figures of this repository are licensed
|
|
48
|
-
separately under CC BY 4.0 (see LICENSE-DOCS.md); the code is Apache 2.0.
|
|
49
|
-
|
|
50
|
-
How to cite this work: see CITATION.cff in this repository.
|
|
1
|
+
quantum-cortex
|
|
2
|
+
Copyright 2026 Nicolas Van Eeckhout (Win2Win SRL, Brussels, Belgium)
|
|
3
|
+
ORCID: https://orcid.org/0000-0002-5256-3185
|
|
4
|
+
Original work: https://github.com/vaneeckhoutnicolas/quantum-cortex
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
7
|
+
use this work except in compliance with the License. You may obtain a copy of
|
|
8
|
+
the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
ATTRIBUTION NOTICE (Apache License 2.0, Section 4):
|
|
11
|
+
quantum-cortex was originally created by Nicolas Van Eeckhout. Redistribution
|
|
12
|
+
of this work, or of any Derivative Work, in Source or Object form, is permitted
|
|
13
|
+
by the License only on its conditions, two of which concern this file: the
|
|
14
|
+
attribution notices it contains must be retained in the Source form of any
|
|
15
|
+
Derivative Work (Section 4(c)), and a readable copy of them must be included
|
|
16
|
+
with any Derivative Work you distribute, in a NOTICE file, in the source or
|
|
17
|
+
documentation, or in a display where third party notices normally appear
|
|
18
|
+
(Section 4(d)). This holds whether or not the work is modified, forked,
|
|
19
|
+
renamed, or incorporated into a larger work. A redistribution that drops this
|
|
20
|
+
attribution is outside the License. As Section 4(d) provides, the contents of
|
|
21
|
+
this file are for informational purposes only and do not modify the License.
|
|
22
|
+
|
|
23
|
+
Independently of the License, the author holds the moral rights of authorship
|
|
24
|
+
under Belgian law (Code of Economic Law, Article XI.165), including the right
|
|
25
|
+
to be named as the author; these rights are not waived by the License.
|
|
26
|
+
|
|
27
|
+
AUTHORSHIP: the design, the declarations, the readings and the integration of
|
|
28
|
+
this work are the author's, documented in the repository's dated record; a
|
|
29
|
+
language model produced most of the code and drafted text under his direction
|
|
30
|
+
and review, as stated in the whitepaper (docs/WHITEPAPER.md, section 7b).
|
|
31
|
+
|
|
32
|
+
THIRD PARTY DATA: the pretraining slice used by the runs in the record is drawn
|
|
33
|
+
from FineWeb-Edu (HuggingFaceFW), made available under the Open Data Commons
|
|
34
|
+
Attribution License v1.0 (ODC-By 1.0); its provenance is recorded in
|
|
35
|
+
data/mixes/fineweb-edu-n1.json and data/mixes/fineweb-edu-n1.provenance.json,
|
|
36
|
+
and the dataset is cited in the whitepaper's references. No third party code
|
|
37
|
+
is vendored in this repository: core components are written from scratch, and
|
|
38
|
+
peripheral needs are met by declared pip dependencies (see requirements.txt
|
|
39
|
+
and docs/OSS-SURVEY-2026-08-07.md for the anti plagiarism protocol).
|
|
40
|
+
|
|
41
|
+
This repository is the pure LLM member of the Quantum Meridian ecosystem
|
|
42
|
+
(a project of Win2Win SRL). It is fully open and contains no proprietary
|
|
43
|
+
Quantum Meridian control plane code. The continuity benchmarks it publishes
|
|
44
|
+
(the Molaison dissociation, the H.M. protocol; oracle shift; the reference
|
|
45
|
+
ratio) are part of this work and carry the same attribution requirement.
|
|
46
|
+
|
|
47
|
+
The documentation, the whitepaper and the figures of this repository are licensed
|
|
48
|
+
separately under CC BY 4.0 (see LICENSE-DOCS.md); the code is Apache 2.0.
|
|
49
|
+
|
|
50
|
+
How to cite this work: see CITATION.cff in this repository.
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: quantum-cortex
|
|
3
|
+
Version: 1.1.0
|
|
4
|
+
Summary: An open language model built to measure continuity: a sealed episodic organ outside the weights, a frozen dissociation protocol, and a record that can be audited to the digit.
|
|
5
|
+
Author: Nicolas Van Eeckhout
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/vaneeckhoutnicolas/quantum-cortex
|
|
8
|
+
Project-URL: Repository, https://github.com/vaneeckhoutnicolas/quantum-cortex
|
|
9
|
+
Project-URL: Paper, https://github.com/vaneeckhoutnicolas/quantum-cortex/blob/main/docs/WHITEPAPER.md
|
|
10
|
+
Project-URL: Results, https://github.com/vaneeckhoutnicolas/quantum-cortex/blob/main/docs/RESULTS.md
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
License-File: LICENSE-DOCS.md
|
|
20
|
+
License-File: NOTICE
|
|
21
|
+
License-File: AUTHORS.md
|
|
22
|
+
Requires-Dist: numpy>=1.26
|
|
23
|
+
Requires-Dist: torch>=2.2
|
|
24
|
+
Requires-Dist: jsonschema>=4.20
|
|
25
|
+
Requires-Dist: cryptography>=42
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
|
|
30
|
+
# quantum-cortex
|
|
31
|
+
|
|
32
|
+
[](https://doi.org/10.5281/zenodo.23110775) [](https://pypi.org/project/quantum-cortex/) [](https://github.com/vaneeckhoutnicolas/quantum-cortex/actions/workflows/ci.yml) [](LICENSE) [](LICENSE-DOCS.md)
|
|
33
|
+
|
|
34
|
+
**A small language model with a memory outside its weights: a sealed journal of episodes that the model must cite or abstain from, built so that every claim about it has a row, a file and a test that can fail.**
|
|
35
|
+
|
|
36
|
+
## What it is
|
|
37
|
+
|
|
38
|
+
quantum-cortex is a 27 million parameter byte level language model, trained from scratch by one researcher on a free GPU tier and a laptop, plus an *organ* that lives outside the weights: an append only journal of episodes, sealed under a key, each line carrying its address, its time and the evidence it rests on; a write gate that admits or refuses a line; an index that returns a small window of candidate lines for a question; a read path that hands the model that window with the organ's own similarity written on every line, and a veto that refuses a citation the organ marks weakly. The model reads the journal while it generates under one contract: cite the line it uses, by its pointer, or say it does not know. An episode the organ evicts is withdrawn from its memory of addresses; nothing is kept in the weights that the journal already holds. The name is the family's (Quantum Meridian, an orchestration project around existing models); nothing here is quantum computing.
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
A one page explanation of the organ for a reader who is not a specialist is [`docs/EXPLAINER.md`](docs/EXPLAINER.md).
|
|
43
|
+
|
|
44
|
+
## What is shown, and what is not
|
|
45
|
+
|
|
46
|
+
Every number below has a row in [`docs/RESULTS.md`](docs/RESULTS.md) with the file that produced it and a test that recomputes it. Everything is at 27 million parameters, on synthetic facts built to be leak proof and written by the system's author; nothing here is natural text, and nothing here is a benchmark score.
|
|
47
|
+
|
|
48
|
+
- **The organ alone stores, returns and forgets what it is told to.** Planted episodes return by their address after the process that wrote them has ended, on four seeds, and nothing returns for an entity that was never planted (row 13: planted 1.000, cut 0.125, never planted 0.000). By the text of a question the organ alone is at chance: it is an index, not a language (row 13c). An eviction withdraws the episode's address from the memory: 600 of 600 withdrawn addresses no longer return, nothing kept moved (row 42).
|
|
49
|
+
- **The system holds on its own family of facts.** With the organ's index geometry adopted and its mark on every line of the window, the model with the organ retrieves the right episode on 600 of 600 questions and answers strictly on 95 % and 91 % of them on the two seeds that did not conceive the policy, with no invalid citation and no claim on a never planted entity (row 47); a near duplicate written to the journal is admitted under an identity rule and never cited in place of the original under the adopted selection rule (rows 49, 50).
|
|
50
|
+
- **The limit, measured on families the system had never seen (rows 51, 52).** On formulations outside the templates it was trained on, the four frozen conditions hold on no cell (letter A3): the model's strict recall is 0 of 200 on every cell. Read against the organ's own mark, the model alone selects the right line on 5 reads where the mark alone selects it on 287, of 466 (the sentence declared for this outcome and graved: *on these formulations the organ's mark reproduces the selection the protocol rewards; the model's measured contribution is its copy and its abstention*). Against the simplest references, a byte level BM25 and an exhaustive cosine on the organ's own cues with an exact verifier, the organ's stack is not separated at this size: 0 against 0 on 400 pairs (letter R-b, by vacuity). The read side brings no measured advantage over a classical stack on these families; the write side (persistence, withdrawal, provenance) was compared with no reference and no advantage is claimed for it. The cost on one processor at 200 entries: the organ's index step 235 to 243 microseconds, BM25's 65 to 89, the exhaustive cosine's 512 to 524, against the encoder's 20 to 23 milliseconds per question (row 52; not a scale result).
|
|
51
|
+
|
|
52
|
+
Whether any of this holds at a larger size, or on natural text, is not measured and not claimed (`docs/WHITEPAPER.md`, §5). Rows 53 and 54, graved with this edition, read the organ's lifecycle on journals of eleven thousand and one hundred and ten thousand entries and the construction's own ceiling under byte keys; their numbers are in the record, not here.
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
## Try it in five minutes
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
pip install quantum-cortex
|
|
60
|
+
python -m cortex_c2b.companion_demo
|
|
61
|
+
python -m cortex_c2b.hm_protocol --persistent
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
The first command installs the organ and the protocols (no checkpoint is needed for what follows). The second runs the organ as a component: a session writes a project's decisions into a sealed journal on disk, a second session in a new process that knows nothing but the disk answers five questions by citing the stored line with its pointer and says "no record" for three it was never told, printing the scores it decided on (seconds on a CPU). The third runs the dissociation protocol the record is built on, against the organ alone, and prints its verdict. The twenty minute way to attack the published numbers, with the command that recomputes each of them from the committed files, is [`docs/FALSIFY.md`](docs/FALSIFY.md); the record tests run with `pytest tests/ -m "not slow"` on a clone (825 of the 842, in about fifteen minutes on one processor).
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
|
|
70
|
+
<details>
|
|
71
|
+
<summary><b>Use it with your own model, in a dozen lines</b> (the organ as a library, any model decoding, no training; the two blocks are run as printed by <code>tests/test_compose_snippet.py</code>)</summary>
|
|
72
|
+
|
|
73
|
+
Session A, today (the key comes from the environment, one per journal, never from a file):
|
|
74
|
+
|
|
75
|
+
<!-- compose: session A -->
|
|
76
|
+
```python
|
|
77
|
+
import os
|
|
78
|
+
from cortex_c2b import Journal, POLICY_STOP
|
|
79
|
+
from cortex_c2b.write_path import WritePath
|
|
80
|
+
from cortex_c2b.read_path import JournalPath
|
|
81
|
+
from cortex_c2b.hm_protocol import address_cue
|
|
82
|
+
|
|
83
|
+
key = bytes.fromhex(os.environ["QUANTUM_CORTEX_JOURNAL_KEY"]) # one key per journal, one journal per scope, never in a file
|
|
84
|
+
journal = Journal("runs/my-scope/journal.jsonl", key=key, policy=POLICY_STOP)
|
|
85
|
+
write, read = WritePath(journal, admission_threshold=0.15, seed=0), JournalPath(journal)
|
|
86
|
+
address = "decision|argument:originality" # the entity is the address
|
|
87
|
+
report = write.write(address_cue(address),
|
|
88
|
+
b"12 Jan: the originality argument is set aside on the strength of ruling 2024/AR/512",
|
|
89
|
+
"decision", now=0.0, source=address) # the text of the address is sealed beside the record (ADR-009)
|
|
90
|
+
if report.admitted: # the gate refuses what the journal already predicts
|
|
91
|
+
read.on_write(report.entry)
|
|
92
|
+
print("written" if report.admitted else f"refused: {report.reason}", report.entry.pointer[:12] if report.entry else "")
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Session B, months later, in a new process that knows nothing of session A but the disk:
|
|
96
|
+
|
|
97
|
+
<!-- compose: session B -->
|
|
98
|
+
```python
|
|
99
|
+
import os
|
|
100
|
+
from cortex_c2b import Journal, POLICY_STOP
|
|
101
|
+
from cortex_c2b.read_path import JournalPath
|
|
102
|
+
from cortex_c2b.hm_protocol import address_cue
|
|
103
|
+
|
|
104
|
+
key = bytes.fromhex(os.environ["QUANTUM_CORTEX_JOURNAL_KEY"])
|
|
105
|
+
journal = Journal("runs/my-scope/journal.jsonl", key=key, policy=POLICY_STOP) # reopened from the disk alone
|
|
106
|
+
read = JournalPath(journal)
|
|
107
|
+
for address in ("decision|argument:originality", "decision|argument:database-right"):
|
|
108
|
+
hits = read.retrieve(address_cue(address), k=4) # never a scan; (entry, payload, score) per hit
|
|
109
|
+
if hits and hits[0][2] >= 0.5: # the declared line on the journal's own score
|
|
110
|
+
entry, payload, score = hits[0]
|
|
111
|
+
print("cite", entry.pointer[:12], payload.decode()) # the window your model answers from, under the contract
|
|
112
|
+
else:
|
|
113
|
+
print("abstain: no record for", address)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Expected: the first address is cited with its pointer and its record, the second is abstained on (no record was written); running session A again is refused as redundant; the files under `runs/my-scope/` are sealed (no plaintext at rest). `tests/test_compose_snippet.py` runs these two blocks as they stand, session B in a new process, and asserts all four. The line at 0.5 is declared for this cue convention; with your own encoder, set it on addresses never written before use, as the companion demonstration does. The three ways to compose the organ with a model, with what each inherits from the record and what it has to measure for itself, are in [`docs/README-LONG.md`](docs/README-LONG.md) and the paper's §3.6.
|
|
117
|
+
|
|
118
|
+
</details>
|
|
119
|
+
|
|
120
|
+
## What to do with it today
|
|
121
|
+
|
|
122
|
+
Three things it is for, as measured; nothing more is claimed.
|
|
123
|
+
|
|
124
|
+
- **A memory with exact withdrawal and provenance for a small model.** A long running matter (a project, a case, a correspondence) whose record a fresh session must find months later, cite line by line, and answer "no record" on what was never written: the companion demonstration above is that use, on the organ's own code path. What is withdrawn is withdrawn (row 42); what is cited is a pointer to a sealed line, never a paraphrase.
|
|
125
|
+
- **A bench for memory organs.** The sealed families, the references (BM25, the exhaustive cosine, an exact verifier), the cost harness and the record tests are a way to measure any memory organ against the simplest stack on the same questions, with the construction's own ceiling read beside (rows 51 to 54): the measurements that made this organ's limit visible are reusable on the next one. The provenance benchmark ([`docs/PROVENANCE-BENCH.md`](docs/PROVENANCE-BENCH.md)) packages that use: it builds a bench from the sealed generator, your system reads the statements and answers the questions, and it scores the answers with the record's reading and the record's frozen conditions, without the model and without the organ; your numbers are yours, and the record claims nothing from them.
|
|
126
|
+
- **A worked example of a falsifiable record.** Every measurement was declared before it ran, with the readings of every outcome; every file was retained before a number in it was read; the failures are published in the same table as the rest, and a reviewer can recompute every digit. The account of how it was made, with a language model as design and review partner under that discipline, is [`docs/JOURNEY.md`](docs/JOURNEY.md).
|
|
127
|
+
|
|
128
|
+
It is not a product, not a chat model, and not a claim about larger models.
|
|
129
|
+
|
|
130
|
+

|
|
131
|
+
|
|
132
|
+
## Where to go next, by question
|
|
133
|
+
|
|
134
|
+
The paper carries the detailed taxonomy; this screen only names where each question is answered.
|
|
135
|
+
|
|
136
|
+
- *What is the capability called continuity, and who is it for?* The paper's §1.2 (its three components) and §1.4 (the five settings, and what the results serve today, §1.4b).
|
|
137
|
+
- *How is the organ built, rule by rule?* §3.5 (the write path as a ledger: five rules and their origin), §3.6 (the organ composed with other models); the decisions behind them, [ADR-007](docs/adr/ADR-007-c2b-persistent-tier.md) (the persistent tier, the lifecycle, the write gate) and [ADR-008](docs/adr/ADR-008-journal-in-the-decode-loop.md) (the journal in the decode loop, the cite or abstain contract).
|
|
138
|
+
- *How are the measurements read, and what do the letters mean?* §2.6 (the admission of claims), §4.2 (why a map and not a ranking), §4.8 (the ideas, one by one, with what each measurement validated or invalidated); the letters of the independent test are declared in [ADR-010](docs/adr/ADR-010-independent-test-industrial-door-2026-10-14.md), part A, before any number.
|
|
139
|
+
- *What happens under attack?* §4.9 (security in two registers, by design and by measure).
|
|
140
|
+
- *How does the organ compare with the simplest alternatives?* §4.10 and [ADR-010](docs/adr/ADR-010-independent-test-industrial-door-2026-10-14.md), parts B and C (the references, the cost, the scale probe with the cascade).
|
|
141
|
+
- *What maps to the brain and what does not?* §5c; the feature map, [ADR-003](docs/adr/ADR-003-brain-feature-map.md).
|
|
142
|
+
- *What are the limits?* §6 (the reserves), §5d (what waits for a larger size).
|
|
143
|
+
- *How do I reproduce or attack it?* §7 and [`docs/FALSIFY.md`](docs/FALSIFY.md); every file, [`metrics/ARTEFACTS.md`](metrics/ARTEFACTS.md); the evidence inventory, Appendix A.
|
|
144
|
+
- *The words.* [`docs/glossary.md`](docs/glossary.md); the decision index, [`docs/adr/README.md`](docs/adr/README.md).
|
|
145
|
+
|
|
146
|
+
## Read the record
|
|
147
|
+
|
|
148
|
+
The paper, [`docs/WHITEPAPER.md`](docs/WHITEPAPER.md); the record, one row per claim or non claim, [`docs/RESULTS.md`](docs/RESULTS.md); the decisions and their amendments, [`docs/adr/`](docs/adr/); how to attack it, [`docs/FALSIFY.md`](docs/FALSIFY.md); where every file lives, [`metrics/ARTEFACTS.md`](metrics/ARTEFACTS.md); the long README of the first edition, [`docs/README-LONG.md`](docs/README-LONG.md). Code under Apache 2.0 (the `NOTICE` file travels with every copy), documentation under CC BY 4.0; cite with `CITATION.cff` (the concept DOI 10.5281/zenodo.23110775 resolves to the latest archived edition).
|
|
149
|
+
|
|
150
|
+
*Author: Nicolas Van Eeckhout (Win2Win SRL, Brussels).*
|