Ray's Knowledge Base
Unlock

DFAnalyzer aggregation must read DFTracer's dft_cnt field

FactVerified 5 Oct 2026Holds project: dfanalyzer
Fact. A statement and the evidence for it.

Statement#

DFTracer profile records use dft_cnt, while dftracer-utils records use dftu_cnt and older records may use count. Read those keys in order: dftu_cnt, dft_cnt, count, then default to 1. Reading only dftu_cnt and count gives real DFTracer profile rows a count of 1.

Evidence#

In dfanalyzer, tests/test_hybrid_profiles.py exposed the incorrect count (1 == 5) when aggregation omitted dft_cnt.

Also found by searching

  • dft_cnt dftu_cnt count profile count aggregation
  • profile rows all have count 1 after aggregation
  • how should aggregation read count fields from DFTracer profiles
  • DFTracer profile count key differs from dftracer-utils count key