Opened 10 months ago

Last modified 5 months ago

#28282 assigned enhancement

Refactor bandwidth file generation code

Reported by: juga Owned by: juga
Priority: Medium Milestone: sbws: unspecified
Component: Core Tor/sbws Version:
Severity: Normal Keywords: refactor, technical-debt, generator
Cc: pastly, juga Actual Points:
Parent ID: #28684 Points: 1
Reviewer: Sponsor:

Description (last modified by juga)

Initially, v3bwfile.py was just converting measurement Results to a Bandwidth file lines format.
Then we started to apply scaling methods and filtering the measurements to satisfy certain restrictions.
To don not have to modify code in other file/classes, all of that was implemented in v3bwfile.py classes/methods, but it should be moved to either an intermediate file/classes that deal with the statistics calculations (and not the format) or modify Results to be able to perform those calculations.

Edit: fix typo

Child Tickets

Change History (9)

comment:1 Changed 10 months ago by juga

Description: modified (diff)

comment:2 Changed 9 months ago by teor

Milestone: sbws 1.1

These changes can probably wait until sbws 1.1

comment:3 Changed 9 months ago by teor

Milestone: sbws 1.1sbws 1.2

Milestone renamed

comment:4 Changed 9 months ago by teor

Milestone: sbws 1.2sbws: 1.2.x

Milestone renamed

comment:5 Changed 9 months ago by teor

Milestone: sbws: 1.2.xsbws: 1.2.x-final

Milestone renamed

comment:6 Changed 9 months ago by teor

Milestone: sbws: 1.2.x-finalsbws: unspecified

Milestone renamed

comment:7 Changed 9 months ago by juga

Parent ID: #28684

This is also part of #28684

comment:8 Changed 5 months ago by juga

Points: 1

Set points at least to minimum

comment:9 Changed 5 months ago by juga

Keywords: generator added
Note: See TracTickets for help on using tickets.