Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
I discussed this with @hellais and he said I should not be spending too much time in thinking about reprocessing and recommended to use queries to modify the database.

So, I'll change the todo into a caveat.
  • Loading branch information
bassosimone authored Mar 22, 2024
1 parent 1542504 commit 1de4276
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fastpath/fastpath/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1355,16 +1355,16 @@ def score_signal(msm: dict) -> dict:
tv = g_or(msm, "test_version", "0.0.0")

if parse_version(tv) <= parse_version("0.2.4"):
# TODO(bassosimone,DecFox,hellais): doesn't this pattern of checking
# the version without the date break reprocessing of signal?
# Caveat: this breaks reprocessing but it's also fine because
# we do not want to reprocess measurements
# See https://github.com/ooni/probe/issues/2636
# See https://github.com/ooni/probe-cli/pull/1421
scores["accuracy"] = 0.0
return scores

if parse_version(tv) <= parse_version("0.2.3"):
# TODO(bassosimone,DecFox,hellais): doesn't this pattern of checking
# the version without the date break reprocessing of signal?
# Caveat: this breaks reprocessing but it's also fine because
# we do not want to reprocess measurements
# https://github.com/ooni/probe/issues/2627
scores["accuracy"] = 0.0
return scores
Expand Down

0 comments on commit 1de4276

Please sign in to comment.