atlas multi-pays: binaire atlas, signer etendu, exemple atlas_calage (score + calage, cuvettes, gates cote/glaciaire)
Travail de l agent 4 bis (rapport 27), commite apres coup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
1 Parent
6f2445c8a9
révision
e9e26ebb2e
7 fichiers modifiés
+633
-1
Aucun fichier ne correspond à votre recherche
@@ -0,0 +1,8 @@
|
||||
//! atlas <sortie.json> <sig1.json> [sig2.json ...] : archétype (SignatureCible) à partir de signatures mesurées.
|
||||
use signature::{archetype, Signature};
|
||||
fn main() {
|
||||
let a: Vec<String> = std::env::args().skip(1).collect();
|
||||
if a.len() < 2 { eprintln!("usage: atlas <sortie.json> <sig.json>..."); std::process::exit(2) }
|
||||
let sigs: Vec<Signature> = a[1..].iter().map(|f| Signature::from_json(&std::fs::read_to_string(f).unwrap()).unwrap()).collect();
|
||||
std::fs::write(&a[0], serde_json::to_string_pretty(&archetype(&sigs)).unwrap()).unwrap();
|
||||
}
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur