Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions launchable/commands/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@
help='subsetting by confidence from 0% to 100%',
type=PERCENTAGE,
)
@click.option(
'--similarity',
'similarity',
help='subsetting by similarity from 0 to 1.0. Tests scoring above this value are included in the subset.',
type=click.FloatRange(min=0, max=1.0),
)
@click.option(
'--goal-spec',
'goal_spec',
Expand Down Expand Up @@ -248,7 +242,6 @@ def subset(
test_suite: Optional[str] = None,
is_get_tests_from_guess: bool = False,
use_case: Optional[str] = None,
similarity: Optional[float] = None,
):
app = context.obj
tracking_client = TrackingClient(Command.SUBSET, app=app)
Expand Down Expand Up @@ -517,11 +510,6 @@ def get_payload(
"type": "subset-by-goal-spec",
"goal": goal_spec
}
elif similarity is not None:
payload["goal"] = {
"type": "subset-by-similarity",
"similarity": similarity
}
else:
payload['useServerSideOptimizationTarget'] = True

Expand Down
Loading