Skip to content

Detection test test doesn't look at metadata when determining which columns to use #119

@TanguyUrvoy

Description

@TanguyUrvoy

Environment details

If you are already running SDMetrics, please indicate the following details about the environment in
which you are running it:

  • SDMetrics version: 2.4.2-dev0
  • Python version: 3.9
  • Operating System: ubuntu 20.04

Problem description

When the primary_key is set, the generated data index restarts from zero.
As a consequence, detection metrics can trivially detect generated instances by setting a threshold on the primary_key.

What I already tried

I will propose a patch to remove primary_key columns if sets form these tests.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdata:single-tableRelated to tabular datasets

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions