Skip to content

Commit

Permalink
update parameter pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
LoannPeurey committed Jul 5, 2024
1 parent 4242ed3 commit 99ff0de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 20 deletions.
29 changes: 9 additions & 20 deletions tests/data/conversations_parameters.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package_version: 0.2.0
date: '20240704_184950'
date: '20240705_184314'
parameters:
path: output/conversations
destination: output/conversations/extra/std_conv.csv
Expand All @@ -14,43 +14,32 @@ parameters:
dataset_hash: 710ebfe1f4b118f8a48f69d896c6675bb72ef6ba
features_list:
- callable: who_initiated
args: {}
name: initiator
- callable: who_finished
args: {}
name: finisher
- callable: voc_total_dur
args: {}
name: total_duration_of_vocalisations
- callable: voc_speaker_count
args:
speaker: CHI
name: CHI_voc_count
speaker: CHI
- callable: voc_speaker_count
args:
speaker: FEM
name: FEM_voc_count
speaker: FEM
- callable: voc_speaker_count
args:
speaker: MAL
name: MAL_voc_count
speaker: MAL
- callable: voc_speaker_count
args:
speaker: OCH
name: OCH_voc_count
speaker: OCH
- callable: voc_speaker_dur
args:
speaker: CHI
name: CHI_voc_dur
speaker: CHI
- callable: voc_speaker_dur
args:
speaker: FEM
name: FEM_voc_dur
speaker: FEM
- callable: voc_speaker_dur
args:
speaker: MAL
name: MAL_voc_dur
speaker: MAL
- callable: voc_speaker_dur
args:
speaker: OCH
name: OCH_voc_dur
speaker: OCH
4 changes: 4 additions & 0 deletions tests/truth/specs_conversations.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
conversation_onset,conversation_offset,voc_count,conv_count,interval_last_conv,recording_filename,initiator,finisher,total_duration_of_vocalisations,CHI_voc_count,FEM_voc_count,MAL_voc_count,OCH_voc_count,CHI_voc_dur,FEM_voc_dur,MAL_voc_dur,OCH_voc_dur
1984136,1988951,3,1.0,,sound.wav,CHI,FEM,6660,1,1,0,1,857.0,3459.0,,2344
28284010,28287945,2,2.0,26295059.0,sound.wav,OCH,OCH,4089,0,0,1,1,,,154.0,3935
28288492,28294692,2,3.0,2917.0,sound.wav,OCH,MAL,1001,0,0,1,1,,,486.0,515

0 comments on commit 99ff0de

Please sign in to comment.