DefenseFinder dataset#

class igua.dataset.defensefinder.DefenseFinderDataset(inputs, activity_filter='all')#

DefenseFinder-specific dataset class.

__init__(inputs, activity_filter='all')#

Initialize DefenseFinder dataset.

Parameters:
  • inputs – List of input file paths (typically metadata TSV).

  • activity_filter – Filter by activity type. Options: ‘all’, ‘defense’, ‘antidefense’.

_load_and_filter_systems(tsv_path, console)#

Load DefenseFinder systems with activity filtering.

Parameters:
  • tsv_path – Path to the DefenseFinder systems TSV file.

  • console – Rich console for logging output.

Returns:

Filtered Polars DataFrame containing system data.