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.
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.codex-plugin/plugin.json +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/dependabot.yml +12 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/affect-dialogue-benchmarks.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/breakdown-audit.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/create-release.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/dependency-review.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/determinism-matrix.yml +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/dialogbank.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/disagreement-audit.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/eval.yml +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/fuzz.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/heldout-build.yml +1 -1
- eq_layer-0.2.7/.github/workflows/help-wanted-label.yml +29 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/lengthmatched-full120.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/lengthmatched-pilot.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/openweight-full120.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/openweight-pilot.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/pre-commit.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/publish-npm.yml +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/quality-100.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/release.yml +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/route-heldout.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/scorecard.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/sign-release.yml +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/typecheck.yml +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.gitignore +3 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/CHANGELOG.md +25 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/CITATION.cff +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/PKG-INFO +73 -16
- {eq_layer-0.2.6 → eq_layer-0.2.7}/README.md +68 -15
- {eq_layer-0.2.6 → eq_layer-0.2.7}/SECURITY.md +2 -2
- {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/PUBLISHING.md +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/index.md +8 -3
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/__init__.py +4 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/ab_eval.py +76 -10
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/affect.py +9 -62
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/auditor.py +8 -25
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/data/intent_train.jsonl +62 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/dialogue_reference.py +7 -67
- eq_layer-0.2.7/eq_layer/i18n/__init__.py +74 -0
- eq_layer-0.2.7/eq_layer/i18n/en.py +89 -0
- eq_layer-0.2.7/eq_layer/i18n/ru.py +320 -0
- eq_layer-0.2.7/eq_layer/i18n/tr.py +177 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/intent.py +8 -53
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/interaction.py +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/policies.py +6 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/steer.py +1 -18
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/textnorm.py +4 -4
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_subtext.py +2 -1
- eq_layer-0.2.7/eq_layer/transformer_intent.py +259 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_score_multi.py +20 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/package.json +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/plugin.json +1 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/pyproject.toml +6 -1
- {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/SKILL.md +1 -1
- eq_layer-0.2.7/tests/test_ab_eval_integrity_contract.py +205 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_multirater_boundaries.py +34 -0
- eq_layer-0.2.7/tests/test_ab_score_multi_cli.py +112 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_action_affect_belief_remaining_paths.py +32 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_auditor_final_contract.py +16 -9
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_docs_claims.py +66 -0
- eq_layer-0.2.7/tests/test_i18n_pr43_review_extra.py +188 -0
- eq_layer-0.2.7/tests/test_i18n_registry.py +48 -0
- eq_layer-0.2.7/tests/test_russian_language_support.py +177 -0
- eq_layer-0.2.7/tests/test_transformer_intent.py +341 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_version.py +22 -0
- eq_layer-0.2.6/tests/test_ab_eval_integrity_contract.py +0 -96
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/case.yml +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/RFC_TEMPLATE.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/mypy-baseline.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/scripts/mypy_ratchet.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/skills/eq-layer/SKILL.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/codeql.yml +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/.github/workflows/docs.yml +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/CODE_OF_CONDUCT.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/CONTRIBUTING.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/LICENSE +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/THIRD_PARTY_DATA.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/conftest.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/AB_LATENCY_BENCHMARK.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/docs/PRIOR_ART_AND_NOVELTY.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/_deps.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/_version.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/actions.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/cli.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/coarse_discourse.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/dbdc3.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/dialogbank_iso.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/intent_belief.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/json_contract.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/model_state.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/preferences.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/py.typed +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/response_experiment.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/tracker.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_affect.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_breakdown.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_disagreement.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eq_layer/trained_intent.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/AB_PROTOCOL.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/LOSS_MATRIX_CALIBRATION_PROTOCOL.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_case_preflight.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_generate.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_harness_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_latency_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_prepare.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/ab_score.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/cases.jsonl +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/coarse_disagreement_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/coarse_discourse_inventory.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/data/dialogue_reference_adversarial.jsonl +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dbdc3_breakdown_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dbdc3_inventory.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/determinism_matrix.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/determinism_workload.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dialogbank_inventory.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dialogue_reference_adversarial_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/dialogue_reference_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/emobank_affect_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/evidence_tier_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/factored_action_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/fake_model_command.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_control_audit.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_control_audit_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_repair_sampling_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/heldout_sampling_margin_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/hf_model_server.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_belief_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_evidence_fusion_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_holdout.jsonl +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_risk_sensitivity.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/intent_risk_sensitivity_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/interaction_state_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_calibration.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_calibration_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_matched_arm_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_report.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/length_report_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/loss_matrix_calibration.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/loss_matrix_calibration_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/policy_claims_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/policy_selector_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/prepare_selected_ballot.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/reproducibility_check.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/response_auditor_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/response_experiment_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/ab-latency.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/coarse_disagreement_no_go.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/dbdc3_breakdown_no_go.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/dialogbank_label_inventory.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/emobank_affect_baseline.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/intent_risk_cellwise_robustness_pilot.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/intent_risk_grouped_120_sensitivity.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/intent_risk_heldout_120_audit.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/results/xdailydialog_signal_baseline.json +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/route_heldout_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/route_score.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/route_score_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/run.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/selected_ballot_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/session_preferences_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/skill_packaging_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/stratified_case_selection_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/eval/xdailydialog_subtext_eval.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/cli.mjs +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/publish-workflow.test.mjs +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/version.mjs +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/npm/version.test.mjs +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/references/ARCHITECTURE.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/references/VENDOR_COMPATIBILITY.md +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/skills/eq-layer/scripts/route.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/fixtures/fallback_golden.jsonl +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/fixtures/route_golden.jsonl +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/fuzz/fuzz_json_contract.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_input_and_sample_contract.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_reference_io.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_ab_eval_reference_votes.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_bundled_intent_cache.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_classifier_determinism.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_cli_contract_paths_full.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_cli_strict_transcripts.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_corpus_adapter_reference_contract.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_determinism_matrix.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_experiment_command_fault_boundaries.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_experiment_generation_protocol_boundaries.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_experiment_reproducibility.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_fallback_contract.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_hardening_20261023.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_jsonl_case_integrity.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_last_control_contract_branches.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_optional_dependencies.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_reference_interaction_remaining_contract.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_reproducibility_check_gate.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_response_experiment.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_route_golden.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_session_preferences_and_experiment_reference.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_steer_reference_decisions.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_steer_scoring_reference.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_textnorm.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_trained_adapter_real_ml_and_artifacts.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_trained_model_state.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_trained_subtext_and_intent_complete.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tests/test_version_and_trained_entry_edges.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/build_ab_heldout.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/crosscheck.js +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/install_agent_skills.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/syntaxcheck.js +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/train_emobank_affect.py +0 -0
- {eq_layer-0.2.6 → eq_layer-0.2.7}/tools/train_xdailydialog_subtext.py +0 -0
|
@@ -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:
|
|
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:
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
19
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
20
20
|
with:
|
|
21
21
|
persist-credentials: false
|
|
22
22
|
|
|
@@ -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.
|
|
7
|
-
date-released: "2026-
|
|
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.
|
|
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
|
-
|
|
43
|
+
[](https://www.npmjs.com/package/eq-layer)
|
|
44
|
+
[](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
|
|
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
|
|
228
|
-
|
|
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
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
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 →
|
|
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
|
|
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/
|
|
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/
|
|
684
|
+
- [repocraft](https://github.com/Furox-Art/deterministic-recipe-scaffolder) — byte-deterministic project scaffolding.
|
|
628
685
|
|
|
629
686
|
## License
|
|
630
687
|
|