We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24f13f3 commit 3992980Copy full SHA for 3992980
2 files changed
tools/ft-analyzer/ftanalyzer/events/events.py
@@ -272,7 +272,7 @@ def create_event_queue(
272
# accurate expected EXPORT_TIME
273
chunk["EXPORT_TIME"] = chunk["END_TIME"] // 1000 + inactive_timeout + 1
274
# approximate SEQ_NUMBER
275
- chunk["SEQ_NUMER"] = chunk["EXPORT_TIME"] % 32
+ chunk["SEQ_NUMBER"] = chunk["EXPORT_TIME"] % 32
276
# random MSG_LENGTH
277
chunk["MSG_LENGTH"] = random.randint(100, 2048)
278
tools/ft-analyzer/ftanalyzer/models/statistical_model.py
@@ -369,9 +369,7 @@ def validate(
369
rule.segment,
370
value,
371
reference,
372
- round(
373
- abs(np.int64(value) - np.int64(reference)) / reference, 4
374
- ),
+ round(abs(int(value) - int(reference)) / reference, 4),
375
)
376
377
0 commit comments