Skip to content

feat(atlas): per-signal score multipliers, distinct from RRF weights (#5774) - #17259

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/5774-signal-multipliers
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/5774-signal-multipliers

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Refs #5774 — the per-signal multipliers slice (the unclaimed remainder named in lane 0900-AA's surplus list). #5774 stays open: the planner/spell/hint/variant stages remain #5773-gated.

What

SearchParametersV1 gains fts_multiplier / vector_multiplier (defaults 1.0, as data in query-parameters-v1.json). Each branch's fused contribution becomes multiplier * weight / (rrf_k + rank):

  • The weight keeps its shipped meaning — it shapes the RRF contribution and a weight of 0 removes the signal (with the existing at-least-one-positive rule).
  • The multiplier is an independent score scaling on top, so benchmark sweeps can re-scale a signal without restating its weight. A multiplier of 0 zeroes that signal's score contribution while its ranks still record provenance; both multipliers at 0 are rejected in validation.

Surface parity, per the #5774 principle (identical names everywhere):

  • CLI flags --fts_multiplier / --vector_multiplier (defaults from the versioned JSON), extended CLI/raw parity test.
  • Raw query format via the flattened SearchParametersV1 (extended flattened-names test).
  • Canonical cache-key material includes both multipliers, so different multiplier vectors never share a result-cache entry.
  • Query trace carries them in the full parameter vector (AA's feat(atlas): record the full effective parameter vector in query traces (#5774) #17237 slice) plus a multipliers block beside weights; the traced-search test asserts both.

Verification

Remote dispatch run 46459304701 (developing-today-forks/fleet): cargo test -p atlas-proto -p atlas-core -p atlas-search at head 3633c0c — conclusion recorded on #5774 before merge.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T16:13:34Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…5774)

SearchParametersV1 gains fts_multiplier / vector_multiplier
(default 1.0 in query-parameters-v1.json): each branch's fused
contribution is multiplier * weight / (rrf_k + rank). The weight
keeps its shipped meaning (0 removes the signal); the multiplier
is an independent score scaling swept and recorded separately —
canonical cache-key material, the query trace (full vector plus a
multipliers block), CLI flags --fts_multiplier/--vector_multiplier
with names identical to the raw query format, and validation
(finite, non-negative, not both zero).
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 721fecb0-1bcc-4115-97bd-a5fe4fb511d0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Verification — lane 0900-AT, 2026-11-30 (PR #17259, head 3633c0c).

  • Run 46461858720 (branch head, remote dispatch): cargo test -p atlas-proto -p atlas-core --lib -p atlas-search — success: atlas-core lib 381 passed / 0 failed (includes the new query_parameters_control_signal_multipliers_distinct_from_weights oracle test and the extended traced-search vector test), atlas-proto + atlas-search suites green (12 passed in the final binary; full command exit 0 under pipefail).
  • Full-package run 46460650705 failed only on atlas-core --test stage :: provision_persists_an_absolute_db_path — a venue artifact (test provisions under a CWD-relative path the runner checkout denies). Baseline run 46461940386 on unmodified main fails identically (same test, same Permission denied), so it is pre-existing and unrelated to this diff.
  • First dispatch 46459304701 was a masked no-verdict (executor CARGO_HOME not writable by the test user; my | tail hid the exit) — discarded, not counted.

Merging on this verification (merge commit). #5774 stays open for the #5773-gated stages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant