Add a score fusion verbose test that uses $minMaxScaler WF directly

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have a js test that simulates the output of the $scoreFusion by running what is essentially the desugared query directly, in score_fusion_verbose_test.js.

      With the introduction of the new $minMaxScaler window function on $setWindowFields, we should add another verbose test that uses $minMaxScaler directly. This should be simple to add:

      • Add another runQueryTest case
      • This one should use $minMaxScaler normalization as well, but replace these 2 stages ($setWindowFields + $project) with a single $setWindowFields that uses the $minMaxScaler window function directly
      • The document expectations should be the same (define this list as a constant shared across the two min max scaler tests)

              Assignee:
              Unassigned
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: