eq-layer 0.2.6__tar.gz → 0.2.7__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.
Files changed (214) hide show
  1. {eq_layer-0.2.6 → eq_layer-0.2.7}/.codex-plugin/plugin.json +1 -1
  2. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/dependabot.yml +12 -2
  3. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/affect-dialogue-benchmarks.yml +1 -1
  4. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/breakdown-audit.yml +1 -1
  5. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/create-release.yml +1 -1
  6. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/dependency-review.yml +1 -1
  7. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/determinism-matrix.yml +2 -2
  8. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/dialogbank.yml +1 -1
  9. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/disagreement-audit.yml +1 -1
  10. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/eval.yml +2 -2
  11. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/fuzz.yml +1 -1
  12. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/heldout-build.yml +1 -1
  13. eq_layer-0.2.7/.github/workflows/help-wanted-label.yml +29 -0
  14. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/lengthmatched-full120.yml +1 -1
  15. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/lengthmatched-pilot.yml +1 -1
  16. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/openweight-full120.yml +1 -1
  17. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/openweight-pilot.yml +1 -1
  18. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/pre-commit.yml +1 -1
  19. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/publish-npm.yml +2 -2
  20. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/quality-100.yml +1 -1
  21. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/release.yml +2 -2
  22. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/route-heldout.yml +1 -1
  23. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/scorecard.yml +1 -1
  24. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/sign-release.yml +2 -2
  25. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/typecheck.yml +1 -1
  26. {eq_layer-0.2.6 → eq_layer-0.2.7}/.gitignore +3 -0
  27. {eq_layer-0.2.6 → eq_layer-0.2.7}/CHANGELOG.md +25 -0
  28. {eq_layer-0.2.6 → eq_layer-0.2.7}/CITATION.cff +2 -2
  29. {eq_layer-0.2.6 → eq_layer-0.2.7}/PKG-INFO +73 -16
  30. {eq_layer-0.2.6 → eq_layer-0.2.7}/README.md +68 -15
  31. {eq_layer-0.2.6 → eq_layer-0.2.7}/SECURITY.md +2 -2
  32. {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/PUBLISHING.md +1 -1
  33. {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/index.md +8 -3
  34. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/__init__.py +4 -0
  35. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/ab_eval.py +76 -10
  36. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/affect.py +9 -62
  37. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/auditor.py +8 -25
  38. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/data/intent_train.jsonl +62 -0
  39. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/dialogue_reference.py +7 -67
  40. eq_layer-0.2.7/eq_layer/i18n/__init__.py +74 -0
  41. eq_layer-0.2.7/eq_layer/i18n/en.py +89 -0
  42. eq_layer-0.2.7/eq_layer/i18n/ru.py +320 -0
  43. eq_layer-0.2.7/eq_layer/i18n/tr.py +177 -0
  44. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/intent.py +8 -53
  45. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/interaction.py +1 -1
  46. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/policies.py +6 -1
  47. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/steer.py +1 -18
  48. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/textnorm.py +4 -4
  49. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_subtext.py +2 -1
  50. eq_layer-0.2.7/eq_layer/transformer_intent.py +259 -0
  51. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_score_multi.py +20 -1
  52. {eq_layer-0.2.6 → eq_layer-0.2.7}/package.json +1 -1
  53. {eq_layer-0.2.6 → eq_layer-0.2.7}/plugin.json +1 -1
  54. {eq_layer-0.2.6 → eq_layer-0.2.7}/pyproject.toml +6 -1
  55. {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/SKILL.md +1 -1
  56. eq_layer-0.2.7/tests/test_ab_eval_integrity_contract.py +205 -0
  57. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_multirater_boundaries.py +34 -0
  58. eq_layer-0.2.7/tests/test_ab_score_multi_cli.py +112 -0
  59. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_action_affect_belief_remaining_paths.py +32 -0
  60. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_auditor_final_contract.py +16 -9
  61. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_docs_claims.py +66 -0
  62. eq_layer-0.2.7/tests/test_i18n_pr43_review_extra.py +188 -0
  63. eq_layer-0.2.7/tests/test_i18n_registry.py +48 -0
  64. eq_layer-0.2.7/tests/test_russian_language_support.py +177 -0
  65. eq_layer-0.2.7/tests/test_transformer_intent.py +341 -0
  66. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_version.py +22 -0
  67. eq_layer-0.2.6/tests/test_ab_eval_integrity_contract.py +0 -96
  68. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  69. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/case.yml +0 -0
  70. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  71. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  72. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  73. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/RFC_TEMPLATE.md +0 -0
  74. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/mypy-baseline.json +0 -0
  75. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/scripts/mypy_ratchet.py +0 -0
  76. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/skills/eq-layer/SKILL.md +0 -0
  77. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/codeql.yml +0 -0
  78. {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/docs.yml +0 -0
  79. {eq_layer-0.2.6 → eq_layer-0.2.7}/CODE_OF_CONDUCT.md +0 -0
  80. {eq_layer-0.2.6 → eq_layer-0.2.7}/CONTRIBUTING.md +0 -0
  81. {eq_layer-0.2.6 → eq_layer-0.2.7}/LICENSE +0 -0
  82. {eq_layer-0.2.6 → eq_layer-0.2.7}/THIRD_PARTY_DATA.md +0 -0
  83. {eq_layer-0.2.6 → eq_layer-0.2.7}/conftest.py +0 -0
  84. {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/AB_LATENCY_BENCHMARK.md +0 -0
  85. {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/PRIOR_ART_AND_NOVELTY.md +0 -0
  86. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/_deps.py +0 -0
  87. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/_version.py +0 -0
  88. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/actions.py +0 -0
  89. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/cli.py +0 -0
  90. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/coarse_discourse.py +0 -0
  91. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/dbdc3.py +0 -0
  92. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/dialogbank_iso.py +0 -0
  93. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/intent_belief.py +0 -0
  94. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/json_contract.py +0 -0
  95. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/model_state.py +0 -0
  96. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/preferences.py +0 -0
  97. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/py.typed +0 -0
  98. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/response_experiment.py +0 -0
  99. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/tracker.py +0 -0
  100. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_affect.py +0 -0
  101. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_breakdown.py +0 -0
  102. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_disagreement.py +0 -0
  103. {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_intent.py +0 -0
  104. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/AB_PROTOCOL.md +0 -0
  105. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/LOSS_MATRIX_CALIBRATION_PROTOCOL.md +0 -0
  106. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_case_preflight.py +0 -0
  107. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_generate.py +0 -0
  108. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_harness_eval.py +0 -0
  109. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_latency_eval.py +0 -0
  110. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_prepare.py +0 -0
  111. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_score.py +0 -0
  112. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/cases.jsonl +0 -0
  113. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/coarse_disagreement_eval.py +0 -0
  114. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/coarse_discourse_inventory.py +0 -0
  115. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/data/dialogue_reference_adversarial.jsonl +0 -0
  116. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dbdc3_breakdown_eval.py +0 -0
  117. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dbdc3_inventory.py +0 -0
  118. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/determinism_matrix.py +0 -0
  119. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/determinism_workload.py +0 -0
  120. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dialogbank_inventory.py +0 -0
  121. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dialogue_reference_adversarial_eval.py +0 -0
  122. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dialogue_reference_eval.py +0 -0
  123. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/emobank_affect_eval.py +0 -0
  124. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/evidence_tier_eval.py +0 -0
  125. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/factored_action_eval.py +0 -0
  126. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/fake_model_command.py +0 -0
  127. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_control_audit.py +0 -0
  128. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_control_audit_eval.py +0 -0
  129. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_repair_sampling_eval.py +0 -0
  130. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_sampling_margin_eval.py +0 -0
  131. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/hf_model_server.py +0 -0
  132. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_belief_eval.py +0 -0
  133. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_eval.py +0 -0
  134. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_evidence_fusion_eval.py +0 -0
  135. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_holdout.jsonl +0 -0
  136. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_risk_sensitivity.py +0 -0
  137. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_risk_sensitivity_eval.py +0 -0
  138. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/interaction_state_eval.py +0 -0
  139. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_calibration.py +0 -0
  140. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_calibration_eval.py +0 -0
  141. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_matched_arm_eval.py +0 -0
  142. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_report.py +0 -0
  143. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_report_eval.py +0 -0
  144. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/loss_matrix_calibration.py +0 -0
  145. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/loss_matrix_calibration_eval.py +0 -0
  146. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/policy_claims_eval.py +0 -0
  147. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/policy_selector_eval.py +0 -0
  148. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/prepare_selected_ballot.py +0 -0
  149. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/reproducibility_check.py +0 -0
  150. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/response_auditor_eval.py +0 -0
  151. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/response_experiment_eval.py +0 -0
  152. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/ab-latency.json +0 -0
  153. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/coarse_disagreement_no_go.json +0 -0
  154. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/dbdc3_breakdown_no_go.json +0 -0
  155. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/dialogbank_label_inventory.json +0 -0
  156. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/emobank_affect_baseline.json +0 -0
  157. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/intent_risk_cellwise_robustness_pilot.json +0 -0
  158. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/intent_risk_grouped_120_sensitivity.json +0 -0
  159. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/intent_risk_heldout_120_audit.json +0 -0
  160. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/xdailydialog_signal_baseline.json +0 -0
  161. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/route_heldout_eval.py +0 -0
  162. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/route_score.py +0 -0
  163. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/route_score_eval.py +0 -0
  164. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/run.py +0 -0
  165. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/selected_ballot_eval.py +0 -0
  166. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/session_preferences_eval.py +0 -0
  167. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/skill_packaging_eval.py +0 -0
  168. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/stratified_case_selection_eval.py +0 -0
  169. {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/xdailydialog_subtext_eval.py +0 -0
  170. {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/cli.mjs +0 -0
  171. {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/publish-workflow.test.mjs +0 -0
  172. {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/version.mjs +0 -0
  173. {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/version.test.mjs +0 -0
  174. {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/references/ARCHITECTURE.md +0 -0
  175. {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/references/VENDOR_COMPATIBILITY.md +0 -0
  176. {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/scripts/route.py +0 -0
  177. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/fixtures/fallback_golden.jsonl +0 -0
  178. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/fixtures/route_golden.jsonl +0 -0
  179. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/fuzz/fuzz_json_contract.py +0 -0
  180. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_input_and_sample_contract.py +0 -0
  181. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_reference_io.py +0 -0
  182. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_reference_votes.py +0 -0
  183. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_bundled_intent_cache.py +0 -0
  184. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_classifier_determinism.py +0 -0
  185. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_cli_contract_paths_full.py +0 -0
  186. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_cli_strict_transcripts.py +0 -0
  187. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_corpus_adapter_reference_contract.py +0 -0
  188. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_determinism_matrix.py +0 -0
  189. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_experiment_command_fault_boundaries.py +0 -0
  190. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_experiment_generation_protocol_boundaries.py +0 -0
  191. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_experiment_reproducibility.py +0 -0
  192. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_fallback_contract.py +0 -0
  193. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_hardening_20261023.py +0 -0
  194. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_jsonl_case_integrity.py +0 -0
  195. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_last_control_contract_branches.py +0 -0
  196. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_optional_dependencies.py +0 -0
  197. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_reference_interaction_remaining_contract.py +0 -0
  198. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_reproducibility_check_gate.py +0 -0
  199. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_response_experiment.py +0 -0
  200. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_route_golden.py +0 -0
  201. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_session_preferences_and_experiment_reference.py +0 -0
  202. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_steer_reference_decisions.py +0 -0
  203. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_steer_scoring_reference.py +0 -0
  204. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_textnorm.py +0 -0
  205. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_trained_adapter_real_ml_and_artifacts.py +0 -0
  206. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_trained_model_state.py +0 -0
  207. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_trained_subtext_and_intent_complete.py +0 -0
  208. {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_version_and_trained_entry_edges.py +0 -0
  209. {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/build_ab_heldout.py +0 -0
  210. {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/crosscheck.js +0 -0
  211. {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/install_agent_skills.py +0 -0
  212. {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/syntaxcheck.js +0 -0
  213. {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/train_emobank_affect.py +0 -0
  214. {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/train_xdailydialog_subtext.py +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eq-layer",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Inspectable EQ-Layer response-control skill.",
5
5
  "skills": "./skills/"
6
6
  }
@@ -1,8 +1,10 @@
1
+ # Version updates are disabled on purpose: every entry below sets
2
+ # open-pull-requests-limit: 0, so Dependabot opens no pull requests.
1
3
  version: 2
2
4
  updates:
3
5
  - package-ecosystem: github-actions
4
6
  directory: /
5
- open-pull-requests-limit: 2
7
+ open-pull-requests-limit: 0
6
8
  schedule:
7
9
  interval: weekly
8
10
  commit-message:
@@ -10,17 +12,25 @@ updates:
10
12
  labels:
11
13
  - dependencies
12
14
  groups:
15
+ # The CodeQL action steps must all run the same version; mixing them
16
+ # fails with "Loaded a configuration file for version 'X', but running
17
+ # version 'Y'". Keep them in one Dependabot group.
18
+ codeql:
19
+ patterns:
20
+ - "github/codeql-action*"
13
21
  routine-actions:
14
22
  applies-to: version-updates
15
23
  patterns:
16
24
  - "*"
25
+ exclude-patterns:
26
+ - "github/codeql-action*"
17
27
  update-types:
18
28
  - minor
19
29
  - patch
20
30
 
21
31
  - package-ecosystem: pip
22
32
  directory: /
23
- open-pull-requests-limit: 2
33
+ open-pull-requests-limit: 0
24
34
  schedule:
25
35
  interval: weekly
26
36
  commit-message:
@@ -26,7 +26,7 @@ jobs:
26
26
  benchmark:
27
27
  runs-on: ubuntu-latest
28
28
  steps:
29
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
29
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30
30
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
31
31
  with:
32
32
  python-version: "3.12"
@@ -22,7 +22,7 @@ jobs:
22
22
  audit:
23
23
  runs-on: ubuntu-latest
24
24
  steps:
25
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
25
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26
26
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
27
27
  with:
28
28
  python-version: "3.12"
@@ -16,7 +16,7 @@ jobs:
16
16
  contents: write
17
17
  actions: write
18
18
  steps:
19
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
19
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20
20
  - name: Verify requested version
21
21
  id: version
22
22
  run: |
@@ -15,7 +15,7 @@ jobs:
15
15
  pull-requests: write
16
16
  steps:
17
17
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18
- - uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
18
+ - uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1
19
19
  with:
20
20
  fail-on-severity: high
21
21
  comment-summary-in-pr: on-failure
@@ -26,7 +26,7 @@ jobs:
26
26
  matrix:
27
27
  os: [ubuntu-latest, macos-latest, windows-latest]
28
28
  steps:
29
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
29
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30
30
  with:
31
31
  persist-credentials: false
32
32
  - name: Set up Python
@@ -65,7 +65,7 @@ jobs:
65
65
  permissions:
66
66
  contents: read
67
67
  steps:
68
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
68
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
69
69
  with:
70
70
  persist-credentials: false
71
71
  - name: Set up Python
@@ -16,7 +16,7 @@ jobs:
16
16
  inventory:
17
17
  runs-on: ubuntu-latest
18
18
  steps:
19
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
19
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20
20
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
21
21
  with:
22
22
  python-version: "3.12"
@@ -22,7 +22,7 @@ jobs:
22
22
  audit:
23
23
  runs-on: ubuntu-latest
24
24
  steps:
25
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
25
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26
26
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
27
27
  with:
28
28
  python-version: "3.12"
@@ -17,13 +17,13 @@ jobs:
17
17
  eval:
18
18
  runs-on: ubuntu-latest
19
19
  steps:
20
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
20
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21
21
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
22
22
  with:
23
23
  python-version: "3.12"
24
24
  cache: 'pip'
25
25
  cache-dependency-path: pyproject.toml
26
- - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
26
+ - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
27
27
  with:
28
28
  node-version: "24"
29
29
  package-manager-cache: false
@@ -24,7 +24,7 @@ jobs:
24
24
  runs-on: ubuntu-latest
25
25
  timeout-minutes: 15
26
26
  steps:
27
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
27
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
28
28
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
29
29
  with:
30
30
  python-version: "3.12"
@@ -21,7 +21,7 @@ jobs:
21
21
  build:
22
22
  runs-on: ubuntu-latest
23
23
  steps:
24
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
24
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25
25
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
26
26
  with:
27
27
  python-version: "3.12"
@@ -0,0 +1,29 @@
1
+ name: help wanted label
2
+
3
+ # Marks every new issue as needing a human pull request; no bot opens PRs here.
4
+
5
+ on:
6
+ issues:
7
+ types: [opened]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ label:
14
+ name: Label the issue for a human pull request
15
+ runs-on: ubuntu-latest
16
+ timeout-minutes: 5
17
+ permissions:
18
+ contents: read
19
+ issues: write
20
+ steps:
21
+ - name: Ask for a human pull request
22
+ env:
23
+ GH_TOKEN: ${{ github.token }}
24
+ ITEM_NUMBER: ${{ github.event.issue.number }}
25
+ run: |
26
+ labels=$(gh label list --repo "$GITHUB_REPOSITORY" --limit 200 --json name --jq '.[].name')
27
+ printf '%s\n' "$labels" | grep -qxF "help wanted" || gh label create "help wanted" --repo "$GITHUB_REPOSITORY" --color 008672 --description "A human should open a pull request to resolve this"
28
+ printf '%s\n' "$labels" | grep -qxF "good first issue" || gh label create "good first issue" --repo "$GITHUB_REPOSITORY" --color 7057ff --description "A newcomer-friendly issue a human can pick up"
29
+ gh issue edit "$ITEM_NUMBER" --repo "$GITHUB_REPOSITORY" --add-label "help wanted,good first issue"
@@ -32,7 +32,7 @@ jobs:
32
32
  TRANSFORMERS_VERBOSITY: "error"
33
33
  TOKENIZERS_PARALLELISM: "false"
34
34
  steps:
35
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
35
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36
36
 
37
37
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
38
38
  with:
@@ -26,7 +26,7 @@ jobs:
26
26
  TRANSFORMERS_VERBOSITY: "error"
27
27
  TOKENIZERS_PARALLELISM: "false"
28
28
  steps:
29
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
29
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30
30
 
31
31
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
32
32
  with:
@@ -26,7 +26,7 @@ jobs:
26
26
  TRANSFORMERS_VERBOSITY: "error"
27
27
  TOKENIZERS_PARALLELISM: "false"
28
28
  steps:
29
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
29
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30
30
 
31
31
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
32
32
  with:
@@ -39,7 +39,7 @@ jobs:
39
39
  TRANSFORMERS_VERBOSITY: "error"
40
40
  TOKENIZERS_PARALLELISM: "false"
41
41
  steps:
42
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
42
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
43
43
 
44
44
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
45
45
  with:
@@ -19,7 +19,7 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  timeout-minutes: 15
21
21
  steps:
22
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
22
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23
23
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
24
24
  with:
25
25
  python-version: "3.12"
@@ -44,7 +44,7 @@ jobs:
44
44
  contents: read
45
45
  id-token: write
46
46
  steps:
47
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
47
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
48
48
  with:
49
49
  # Always a tag: the release tag for `release`, or `v<version>` for an
50
50
  # explicit dispatch. Never the dispatching branch.
@@ -63,7 +63,7 @@ jobs:
63
63
  echo "::error::Release commit $(git rev-parse HEAD) is not on main."
64
64
  exit 1
65
65
  }
66
- - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
66
+ - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
67
67
  with:
68
68
  node-version: "24"
69
69
  registry-url: "https://registry.npmjs.org"
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
  timeout-minutes: 20
16
16
  steps:
17
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
17
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18
18
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
19
19
  with:
20
20
  python-version: "3.12"
@@ -91,7 +91,7 @@ jobs:
91
91
  if: needs.preflight.outputs.published != 'true'
92
92
  runs-on: ubuntu-latest
93
93
  steps:
94
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
94
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
95
95
  with:
96
96
  # Always a tag: recovery dispatches must build the tagged bytes, not
97
97
  # whatever main happens to point at when the dispatch runs.
@@ -173,7 +173,7 @@ jobs:
173
173
  contents: read
174
174
  id-token: write
175
175
  steps:
176
- - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
176
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
177
177
  with:
178
178
  name: python-dist
179
179
  path: dist
@@ -25,7 +25,7 @@ jobs:
25
25
  runs-on: ubuntu-latest
26
26
  timeout-minutes: 45
27
27
  steps:
28
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
28
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
29
29
 
30
30
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
31
31
  with:
@@ -22,7 +22,7 @@ jobs:
22
22
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23
23
  with:
24
24
  persist-credentials: false
25
- - uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
25
+ - uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0
26
26
  with:
27
27
  results_file: results.sarif
28
28
  results_format: sarif
@@ -70,7 +70,7 @@ jobs:
70
70
  echo "sha=${sha}" >> "$GITHUB_OUTPUT"
71
71
 
72
72
  - name: Check out the released commit
73
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v7
73
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
74
74
  with:
75
75
  fetch-depth: 0
76
76
  ref: ${{ steps.resolve.outputs.sha }}
@@ -146,7 +146,7 @@ jobs:
146
146
 
147
147
  - name: Install cosign
148
148
  if: steps.signature.outputs.signed == 'false'
149
- uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
149
+ uses: sigstore/cosign-installer@881c63bd87e38389154debd8331404ce7ca8a3ab # v4.1.4
150
150
 
151
151
  - name: Sign the archive with a keyless identity
152
152
  if: steps.signature.outputs.signed == 'false'
@@ -16,7 +16,7 @@ jobs:
16
16
  timeout-minutes: 15
17
17
  steps:
18
18
  - name: Check out repository
19
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
19
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20
20
  with:
21
21
  persist-credentials: false
22
22
 
@@ -21,3 +21,6 @@ build/
21
21
  # .github/workflows/create-release.yml and .github/workflows/publish-npm.yml)
22
22
  .npm-release-request
23
23
  .release-trigger
24
+
25
+ # Coverage gate artifact written by .github/workflows/quality-100.yml and release.yml
26
+ junit.xml
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.7] - 2026-12-05
11
+
10
12
  ### Security
11
13
 
12
14
  - The response auditor folds punctuation, fullwidth and zero-width characters,
@@ -45,6 +47,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
45
47
  selection with `PYTHONHASHSEED` and fails the matrix instead of passing
46
48
  unnoticed.
47
49
 
50
+ ### Documentation
51
+
52
+ - README and docs no longer claim decode-path steering. Steering is
53
+ prompt-level (`Steer.system_instruction()` / `Steer.apply_to_prompt()`);
54
+ the `Steer.logit_bias` field is documented as an unused placeholder, which
55
+ is what the code actually does.
56
+ - The intent loss matrix is documented as explicitly **uncalibrated**
57
+ (`hand-specified-v1`), with calibration pending under
58
+ `eval/LOSS_MATRIX_CALIBRATION_PROTOCOL.md`. The clarification-cost
59
+ sensitivity table now reproduces the full sweep captured in
60
+ `eval/results/intent_risk_heldout_120_audit.json` (×0.75 through ×2.5) and
61
+ summarises the grouped-cost no-go artifact
62
+ `eval/results/intent_risk_grouped_120_sensitivity.json`. No new data was
63
+ produced; every number is read from the existing captured artifacts.
64
+ - The response-level human A/B evaluation is marked **PENDING** in the README
65
+ and docs: 0 adjudicated routing labels, blinded ratings blank, no rated
66
+ result exists. The claim that EQ-Layer improves a fixed LLM's responses is
67
+ stated as an untested hypothesis pointing at the pre-registered
68
+ `eval/AB_PROTOCOL.md`.
69
+ - New doc-guard tests pin these claims: prompt-level steering wording, the
70
+ unused `logit_bias` placeholder, the uncalibrated loss-matrix status, the
71
+ sensitivity table against the captured artifact, and the pending A/B status.
72
+
48
73
  ## [0.2.6] - 2026-11-07
49
74
 
50
75
  ### Changed
@@ -3,8 +3,8 @@ message: "If you use this software, please cite it as below."
3
3
  title: >-
4
4
  EQ-Layer: Inspectable intent, affect, repair, uncertainty, and factored-action
5
5
  control for LLM responses
6
- version: "0.2.6"
7
- date-released: "2026-10-21"
6
+ version: "0.2.7"
7
+ date-released: "2026-12-05"
8
8
  license: MIT
9
9
  repository-code: "https://github.com/Furox-Art/eq-layer"
10
10
  url: "https://github.com/Furox-Art/eq-layer"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: eq-layer
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Inspectable intent, affect, repair, uncertainty, and factored-action control for LLM responses
5
5
  Project-URL: Homepage, https://github.com/Furox-Art/eq-layer
6
6
  Project-URL: Repository, https://github.com/Furox-Art/eq-layer
@@ -32,11 +32,20 @@ Requires-Dist: twine<8,>=6; extra == 'dev'
32
32
  Provides-Extra: ml
33
33
  Requires-Dist: joblib<2,>=1.3; extra == 'ml'
34
34
  Requires-Dist: scikit-learn<2,>=1.5; extra == 'ml'
35
+ Provides-Extra: transformers
36
+ Requires-Dist: scikit-learn<2,>=1.5; extra == 'transformers'
37
+ Requires-Dist: torch>=2.0; extra == 'transformers'
38
+ Requires-Dist: transformers>=4.30; extra == 'transformers'
35
39
  Description-Content-Type: text/markdown
36
40
 
37
41
  # eq-layer
38
42
 
39
- A control layer that gives an LLM a *decision* about how to speak before it speaks — instead of asking it to be more empathetic in a prompt.
43
+ [![npm version](https://img.shields.io/npm/v/eq-layer.svg)](https://www.npmjs.com/package/eq-layer)
44
+ [![PyPI](https://img.shields.io/pypi/v/eq-layer.svg)](https://pypi.org/project/eq-layer/)
45
+
46
+ A control layer that gives an LLM an explicit, inspectable *decision* about how to speak before it speaks — compiled into structured prompt instructions, rather than a vague ask to be more empathetic.
47
+
48
+ Current release: **0.2.7**. The same version ships on [PyPI](https://pypi.org/project/eq-layer/) and [npm](https://www.npmjs.com/package/eq-layer).
40
49
 
41
50
  ## Why this exists
42
51
 
@@ -54,7 +63,7 @@ So this repo does not retrain the model. It adds a layer:
54
63
  3. **Conversation health state** — `repair` identifies observable user→assistant misalignment and its target; `interaction_quality` tracks structural conversation failure separately from emotion using current score, delta, repeated failures, unresolved repair, and clarification load.
55
64
  4. **Policy selection** — affect and intent jointly choose a response-policy family (`mirror`, `validate_redirect`, `direct`, `ask`, `deflate`, `repair`, `hold`, `boundary`). Selection is a discrete decision, not generation.
56
65
  5. **Factored action compilation** — the selected policy is split into orthogonal controls: `task_move`, `social_move`, `repair_move`, and `realization`. The task is driven primarily by user intent, so affective adaptation cannot silently replace what the user actually asked for.
57
- 6. **Steering** — the factored action, source policy, repair state, interaction quality, and canonical request are injected into the decode path so the control decision actually lands in the tokens.
66
+ 6. **Steering (prompt-level)** — the factored action, source policy, repair state, interaction quality, and canonical request are compiled into a structured system instruction and prompt prefix (`Steer.system_instruction()` / `Steer.apply_to_prompt()`). This is prompt-level steering, not token-level intervention: the `Steer.logit_bias` field is an unused placeholder (never populated or applied), no logits or decoding are touched, and whether the control decision lands in the output depends on the model following the instruction.
58
67
  7. **Structural response audit** — the generated response is checked against inspectable control contracts such as question budget, required clarification, unsupported privacy promises, unknown-stance admissions, repair repetition, and low-verbosity overruns. This is not a factual truth checker.
59
68
 
60
69
  ## Prior art and novelty boundary
@@ -77,6 +86,8 @@ and architecture lessons carried forward into this project.
77
86
 
78
87
  Early. The harness runs; the numbers are development signals, not a real-world EQ benchmark.
79
88
 
89
+ **The core claim is untested.** That this layer improves a fixed LLM's responses has not been established: no real-model A/B comparison has been generated and rated, and the pre-registered human evaluation in `eval/AB_PROTOCOL.md` is **pending** (0 adjudicated routing labels, blinded ballot ratings blank). Until that study runs, "EQ-Layer improves responses" is a hypothesis, not a finding.
90
+
80
91
  There is no standard benchmark for EQ. `eval/` is a first attempt at one, not a finished measurement. If you improve the scorer, that contribution matters as much as adding a policy.
81
92
 
82
93
  ## Agent Skills: Codex, Claude, Copilot, Cursor, Antigravity, and Grok
@@ -113,7 +124,7 @@ paths and source documentation.
113
124
 
114
125
  ## Quick start
115
126
 
116
- Install the Python runtime:
127
+ Install the Python runtime (Python >= 3.11):
117
128
 
118
129
  ```bash
119
130
  pip install "eq-layer[ml]"
@@ -209,6 +220,18 @@ caution on the English data.
209
220
 
210
221
  ## Intent is a control signal, not mind-reading
211
222
 
223
+ ### Optional transformer intent backend
224
+
225
+ `TransformerIntent` is an opt-in adapter that replaces the TF-IDF features with
226
+ HuggingFace sentence embeddings. Install the optional dependencies with
227
+ `pip install "eq-layer[transformers]"` (Torch, Transformers and scikit-learn),
228
+ then either call `TransformerIntent.from_bundled()` directly or pass a fitted
229
+ instance to `FullEQPipeline(tracker=..., intent=..., selector=...)`. The adapter
230
+ implements the same `infer` and `reconcile_with_dialogue_evidence` contract as
231
+ `TrainedIntent`, so the pipeline applies the same dialogue-evidence fusion. The
232
+ CLI does not expose this backend; `FullEQPipeline.load` keeps using
233
+ `TrainedIntent` unless the caller constructs the pipeline explicitly.
234
+
212
235
  The default intent path is now learned rather than keyword-selected.
213
236
  `TrainedIntent` fits a balanced logistic-regression classifier over combined
214
237
  word and character TF-IDF features. The bundled corpus currently contains
@@ -224,8 +247,12 @@ generic question can still be answered because the semantic mismatch cost is
224
247
  small, while ambiguity between executing an action and merely responding to a
225
248
  statement can trigger clarification.
226
249
 
227
- The current loss matrix is **hand-specified and transparent, not learned or
228
- claimed optimal**. It encodes relative interaction costs. EQ-Layer therefore
250
+ The current loss matrix (`hand-specified-v1`) is **hand-specified, transparent,
251
+ and uncalibrated: not learned, not calibrated against human cost judgments, and
252
+ not claimed optimal**. It encodes relative interaction costs. Calibration is
253
+ **pending** under the pre-registered `eval/LOSS_MATRIX_CALIBRATION_PROTOCOL.md`
254
+ (a scaffold only — no calibrated matrix exists yet, and the A/B held-out set is
255
+ forbidden tuning data). EQ-Layer therefore
229
256
  audits routing sensitivity rather than treating one matrix as ground truth:
230
257
  `eval/intent_risk_sensitivity.py` sweeps clarification cost and performs
231
258
  one-at-a-time ±20% perturbations of every non-zero loss cell, reporting action
@@ -243,12 +270,31 @@ of every non-zero loss cell, 7,332 / 7,440 routing decisions were unchanged
243
270
  (**98.55% local decision stability**).
244
271
 
245
272
  That result does **not** validate the loss matrix. Scaling the entire
246
- clarification-cost row changes routing substantially:
247
-
248
- - production clarification rate: **45.0%**
249
- - clarification cost ×0.75: **69.17%**
250
- - clarification cost ×1.25: **19.17%**
251
- - clarification cost ×1.50: **9.17%**
273
+ clarification-cost row changes routing substantially. The full sweep below is
274
+ read from the captured audit artifact
275
+ `eval/results/intent_risk_heldout_120_audit.json` (120 frozen external held-out
276
+ cases; no new runs were produced for this table):
277
+
278
+ | clarification cost scale | clarification rate | flips vs production |
279
+ | --- | ---: | ---: |
280
+ | ×0.75 | 69.17% | 29 |
281
+ | ×1.0 | 45.00% | 0 |
282
+ | ×1.25 | 19.17% | 31 |
283
+ | ×1.5 | 9.17% | 43 |
284
+ | ×1.75 | 4.17% | 49 |
285
+ | ×2.0 | 2.50% | 51 |
286
+ | ×2.5 | 0.83% | 53 |
287
+
288
+ Production (×1.0) clarifies on 54 / 120 cases (**45.0%**). A grouped-cost
289
+ variant of the same audit
290
+ (`eval/results/intent_risk_grouped_120_sensitivity.json`, status
291
+ `no-go-for-loss-matrix-calibration-claim`) scales whole semantic cost groups at
292
+ once: grouped ±20% clarification-cost scaling flips 18.33%–22.50% of routes,
293
+ action/statement mismatch scaling flips 5.83%–6.67%, and status/question
294
+ mismatch scaling flips 0%–0.83%. That does not contradict the 98.55%
295
+ one-cell-at-a-time stability — coherent multi-cell perturbations are a stronger
296
+ failure mode — and it is a NO-GO for any claim that the matrix is calibrated,
297
+ optimal, or robust as a whole.
252
298
 
253
299
  The `task_repair` stratum is especially uncertain: 26 / 30 cases route to
254
300
  clarification (**86.67%**) with mean fused intent entropy 0.8954. This may
@@ -380,6 +426,17 @@ Component metrics do not establish that EQ-Layer improves the final response.
380
426
  The repository therefore includes a condition-blind paired human-evaluation
381
427
  harness. The complete pre-registered protocol is in `eval/AB_PROTOCOL.md`.
382
428
 
429
+ **Status: PENDING — this evaluation has not been run.** No real-model paired
430
+ responses have been rated by humans, and the repository contains no A/B result.
431
+ The protocol's own current-state table (`eval/AB_PROTOCOL.md`, "Current state")
432
+ records 120 frozen held-out cases, **0** adjudicated routing labels, a 120-row
433
+ blinded ballot with ratings blank, and an 11.2% length residual versus the
434
+ calibrated control (outside tolerance). Running it requires a real LLM backend
435
+ for generation and independent human raters; neither is bundled or automated
436
+ here, and the harness deliberately refuses to manufacture a result. Any claim
437
+ that EQ-Layer improves response quality therefore remains unproven until this
438
+ pre-registered comparison is completed.
439
+
383
440
  Generate paired responses with the **same base model** in both arms:
384
441
 
385
442
  ```bash
@@ -509,7 +566,7 @@ eq_layer/
509
566
  intent_belief.py posterior belief + transparent Bayes-risk router
510
567
  trained_intent.py learned TF-IDF + logistic-regression posterior adapter
511
568
  data/intent_train.jsonl bundled training corpus
512
- steer.py policy + intent → decode path, and the scorer
569
+ steer.py policy + intent → prompt-level steering text, and the scorer
513
570
  response_experiment.py same-model baseline-vs-EQ generation engine
514
571
  eval/
515
572
  cases.jsonl development cases, not final A/B evidence
@@ -617,14 +674,14 @@ Part of the Furox scientific-computing portfolio: independently versioned projec
617
674
 
618
675
  - [scientific-computing-system](https://github.com/Furox-Art/scientific-computing-system) — zero-dependency Python numerics with run manifests.
619
676
  - [scientific-computing-system-2.0](https://github.com/Furox-Art/scientific-computing-system-2.0) — NumPy/SciPy/pandas build with replayable fit records.
620
- - [scientific-toolkit](https://github.com/Furox-Art/scientific-toolkit) — MCP gateway over nine research tools.
677
+ - [scientific-toolkit](https://github.com/Furox-Art/scientific-toolkit) — MCP gateway over 15 local tools (14 remote plus the local-only plan_auditor_audit) and a catalog of 13 public projects.
621
678
  - [axiomize](https://github.com/Furox-Art/axiomize) — unit-checked modeling engine with SBML, CellML and Modelica export.
622
679
  - [axiomize-quantum-skills-2.0](https://github.com/Furox-Art/axiomize-quantum-skills-2.0) — modeling engine plus quantum-inspired reasoning bundle.
623
680
  - [quantum-reasoning-skill](https://github.com/Furox-Art/quantum-reasoning-skill) — agent skill that keeps competing hypotheses alive.
624
681
  - [plan-auditor](https://github.com/Furox-Art/plan-auditor) — evidence-based completion gate for coding agents.
625
- - [nomosguard](https://github.com/Furox-Art/nomosguard) — deterministic security decision layer with a hash-chained ledger.
682
+ - [nomosguard](https://github.com/Furox-Art/evidence-ledger-policy-gate) — deterministic security decision layer with a hash-chained ledger.
626
683
  - [literature-evidence-mcp](https://github.com/Furox-Art/literature-evidence-mcp) — literature MCP server with a hash-chained evidence ledger.
627
- - [repocraft](https://github.com/Furox-Art/repocraft) — byte-deterministic project scaffolding.
684
+ - [repocraft](https://github.com/Furox-Art/deterministic-recipe-scaffolder) — byte-deterministic project scaffolding.
628
685
 
629
686
  ## License
630
687