time ./skraak calls from-preds --csv /media/david/SSD4/Twenty_Four_Seven/R620/2024-05-06/preds9_opensoundscape-multi-1.0_2025-07-22.csv > /media/david/SSD4/Twenty_Four_Seven/R620/2024-05-06/preds9_opensoundscape-multi-1.0_2025-07-22.json
for item in a
try
jsonfile = replace(item, ".csv" => ".json")
run(pipeline(`skraak calls from-preds --csv $item --gap-multiplier 3 --min-detections 1`, jsonfile))
catch e
@error "skraak failed on $item" exception=(e, catch_backtrace())
end
end
model = "/media/david/SSD2/Secondary_Models/DFMN_Inge/model_DFMN1-5_CPU_epoch-9-0.9737-2024-10-25.jld2"
labels = Dict(1 => "Duet", 2 => "Female", 3 => "Male", 4 => "Don't Know")
## Check this logic in the code
predict(a, model, labels)
model = "/media/david/SSD2/Secondary_Models/LSK/model_GSK_LSK_DFM_FT_IngeDFMN_1-5_1-0_CPU_epoch-9-0.9745-2025-01-13.jld2"
labels = Dict(1 => "GSK", 2 => "GSK", 3 => "GSK", 4 => "LSK", 5 => "LSK", 6 => "LSK")
## Needed to change the logic
predict(a, model, labels)
model = "/media/david/SSD2/Secondary_Models/DFMN_Pomona/model_DFMN1-5_Pomona3_CPU_epoch-18-0.9785-2025-03-02.jld2"
labels = Dict(1 => "Duet", 2 => "Female", 3 => "Gecko", 4 => "Male", 5 => "Don't Know")
## Check this logic in the code
predict(a, model, labels)
## Change the date
for item in x
try
jsonfile = "$item/segment_summary_2026-04-19.json"
run(pipeline(`skraak calls summarise --folder $item`, jsonfile))
catch e
@error "skraak failed on $item" exception=(e, catch_backtrace())
end
end
skraak calls summarise --folder ./recordings --brief
# print brief summary to repl
for item in a
try
run(pipeline(`skraak calls summarise --folder $item --brief`))
catch e
@error "skraak failed on $item" exception=(e, catch_backtrace())
end
end
# save brief summary to cwd
open("/home/david/summary_2026-04-17.jsonl", "w") do f
for item in a
try
run(pipeline(`skraak calls summarise --folder $item`, `jq 'del(.segments)'`, f))
catch e
@error "skraak failed on $item" exception=(e, catch_backtrace())
end
end
end
Database
========
2026-04-19
Table Counts
┌──────────────────────────┬───────────┬───────────┐
│ Table │ Total │ Active │
├──────────────────────────┼───────────┼───────────┤
│ file │ 1,639,917 │ 1,639,917 │
├──────────────────────────┼───────────┼───────────┤
│ moth_metadata │ 1,279,386 │ 1,279,386 │
├──────────────────────────┼───────────┼───────────┤
│ ebird_taxonomy │ 35,306 │ — │
├──────────────────────────┼───────────┼───────────┤
│ label │ 234,077 │ 234,077 │
├──────────────────────────┼───────────┼───────────┤
│ segment │ 235,080 │ 235,080 │
├──────────────────────────┼───────────┼───────────┤
│ label_subtype │ 126,048 │ 126,048 │
├──────────────────────────┼───────────┼───────────┤
│ file_dataset │ 1,639,917 │ — │
├──────────────────────────┼───────────┼───────────┤
│ label_metadata │ 7,312 │ 7,312 │
├──────────────────────────┼───────────┼───────────┤
│ file_metadata │ 5,423 │ 5,423 │
├──────────────────────────┼───────────┼───────────┤
│ location │ 787 │ 787 │
├──────────────────────────┼───────────┼───────────┤
│ cluster │ 1,210 │ 1,210 │
├──────────────────────────┼───────────┼───────────┤
│ species │ 357 │ 45 │
├──────────────────────────┼───────────┼───────────┤
│ call_type │ 23 │ 18 │
├──────────────────────────┼───────────┼───────────┤
│ dataset │ 15 │ 15 │
├──────────────────────────┼───────────┼───────────┤
│ filter │ 8 │ 8 │
├──────────────────────────┼───────────┼───────────┤
│ cyclic_recording_pattern │ 3 │ — │
└──────────────────────────┴───────────┴───────────┘
Per-Dataset Breakdown
┌──────────────────────────────┬───────────┬──────────┬─────────┬──────────┬─────────┐
│ Dataset │ Locations │ Clusters │ Files │ Segments │ Labels │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Pomona - Kiwi │ 48 │ 283 │ 542,228 │ 228,617 │ 227,614 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Manu o Kahurangi - Kiwi │ 313 │ 352 │ 214,779 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Twenty Four Seven │ 43 │ 73 │ 721,365 │ 1,906 │ 1,906 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Friends of Flora - Kiwi │ 66 │ 137 │ 66,590 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Friends of Cobb - Kiwi │ 36 │ 33 │ 12,034 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Lisa Whittle - Kiwi │ 15 │ 15 │ 16,164 │ 1,761 │ 1,761 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ HCT - Kiwi │ 24 │ 24 │ 8,016 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Bluemine - Kiwi │ 10 │ 10 │ 8,866 │ 770 │ 770 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Pure Salt - Kiwi │ 6 │ 6 │ 9,760 │ 2,026 │ 2,026 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Tuning Fork Recorders │ 6 │ 15 │ 29,155 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Secretary Island │ 7 │ 16 │ 5,596 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ DOC Tier 1 Tokoeka 2011-2022 │ 197 │ 238 │ 461 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Moraine Creek - Kiwi │ 2 │ 2 │ 1,685 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Wendy Ambury Bittern │ 14 │ 15 │ 2,332 │ 0 │ 0 │
├──────────────────────────────┼───────────┼──────────┼─────────┼──────────┼─────────┤
│ Andrew Digby - LSK │ 0 │ 0 │ 0 │ 0 │ 0 │
└──────────────────────────────┴───────────┴──────────┴─────────┴──────────┴─────────┘
Labels by Species & Filter (top 20)
┌──────────────────────┬─────────────────────────┬────────┬───────────────┐
│ Species │ Filter │ Labels │ Avg Certainty │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Don't Know │ opensoundscape-kiwi-1.5 │ 59,450 │ 0% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Haast Tokoeka │ opensoundscape-kiwi-1.0 │ 55,319 │ 99.85% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Haast Tokoeka │ opensoundscape-kiwi-1.5 │ 54,430 │ 99.99% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Don't Know │ opensoundscape-kiwi-1.0 │ 39,184 │ 0.01% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Haast Tokoeka │ opensoundscape-kiwi-1.2 │ 8,536 │ 100% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Don't Know │ opensoundscape-kiwi-1.2 │ 7,572 │ 0% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Haast Tokoeka │ avianz-kiwi │ 7,337 │ 100% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Noise │ opensoundscape-kiwi-1.2 │ 561 │ 100% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ S. Fiordland Tokoeka │ opensoundscape-kiwi-1.2 │ 311 │ 100% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ Rowi │ opensoundscape-kiwi-1.5 │ 252 │ 100% │
├──────────────────────┼─────────────────────────┼────────┼───────────────┤
│ … │ … │ … │ … │
└──────────────────────┴─────────────────────────┴────────┴───────────────┘