{ "checkpoint": "/net/work/wangq/CycAMP/Scripts/Generation_Model/Models_ckpt/260226_connection/MPNN/SMALL/best.pt", "tokenizer_path": "/net/work/wangq/CycAMP/Scripts/Generation_Model/Tokenizer/content_vocab.json", "test_data_path": "/net/work/wangq/CycAMP/Scripts/Generation_Model/Data/processed/test.jsonl", "config": { "arch": "mpnn", "d_model": 384, "hidden": 768, "num_layers": 3, "num_edge_types": 10, "dropout": 0.2, "max_nodes": 256 }, "evaluation": { "device": "cuda", "batch_size": 512, "seed": 42, "num_samples": 38381, "num_records": 38381, "positive_records": 8678, "negative_records": 29703, "default_threshold": 0.5, "type_method": "argmax", "use_full_candidates": true, "timestamp": "2026-02-26T18:27:24.343663" }, "edge_type_names": { "1": "Amide", "2": "PG_Amide", "3": "Sulfanilamide", "4": "Disulfide", "5": "Ester", "6": "Trp-Cys", "7": "Lanthionin", "8": "Bz_Stapled", "9": "head2tail ring" }, "results": { "overall": { "loss": 0.040401963454659726, "total_edges_evaluated": 62647, "total_graphs": 38381, "missing_required_connection_rate": 0.003543419921315234, "fast_check_fail_rate": 0.0032828743388655843, "fast_check_fail_reasons": { "blocks_disconnected": 126 }, "gt_edge_count_mean": 1.500230467849735, "over_connect_rate": 0.06257202120304217, "under_connect_rate": 0.04747637704540217 }, "head1_graph_gate": { "description": "Graph-level: does this molecule need special connections?", "threshold": 0.5, "tp": 8493, "fp": 727, "fn": 185, "tn": 28976, "precision": 0.9211496746203904, "recall": 0.978681723899516, "f1": 0.9490445859872612, "accuracy": 0.9762382428805919, "mcc": 0.9342981604945385 }, "head2_edge_exist": { "description": "Edge-level binary: does this candidate edge exist? (cascade filter)", "threshold": 0.5, "tp": 12701, "fp": 593, "fn": 318, "tn": 49035, "total": 62647, "precision": 0.9553934105611555, "recall": 0.9755741608418466, "f1": 0.9653783301029909, "accuracy": 0.9854582023081712, "mcc": 0.956259495901017 }, "head3_edge_type": { "description": "Edge type classification: given edge exists, what type is it?", "type_given_exist": { "correct": 12701, "total": 12701, "accuracy": 1.0 }, "pred_edge_count_mean": 1.5153261120073749, "gt_edge_count_mean": 1.500230467849735, "edge_level": { "description": "Edge-level type classification (per candidate edge)", "confusion_matrix": [ [ 8163, 0, 0, 0, 0, 0, 0, 0, 0 ], [ 0, 1195, 0, 0, 0, 0, 0, 0, 0 ], [ 0, 0, 9, 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 1096, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 1298, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 3, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0, 10, 0, 0 ], [ 0, 0, 0, 0, 0, 0, 0, 10, 0 ], [ 0, 0, 0, 0, 0, 0, 0, 0, 917 ] ], "per_class": [ { "class_id": 1, "class_name": "Amide", "precision": 0.9844428364688856, "recall": 0.9916180758017493, "f1": 0.9880174291938998, "support": 8232, "tp": 8163, "fp": 129, "fn": 69 }, { "class_id": 2, "class_name": "PG_Amide", "precision": 0.9270752521334368, "recall": 0.9811165845648604, "f1": 0.953330674112485, "support": 1218, "tp": 1195, "fp": 94, "fn": 23 }, { "class_id": 3, "class_name": "Sulfanilamide", "precision": 0.9, "recall": 1.0, "f1": 0.9473684210526316, "support": 9, "tp": 9, "fp": 1, "fn": 0 }, { "class_id": 4, "class_name": "Disulfide", "precision": 0.8824476650563607, "recall": 0.9605609114811569, "f1": 0.9198489299202687, "support": 1141, "tp": 1096, "fp": 146, "fn": 45 }, { "class_id": 5, "class_name": "Ester", "precision": 0.9166666666666666, "recall": 0.9502196193265008, "f1": 0.9331416247304097, "support": 1366, "tp": 1298, "fp": 118, "fn": 68 }, { "class_id": 6, "class_name": "Trp-Cys", "precision": 0.6, "recall": 1.0, "f1": 0.7499999999999999, "support": 3, "tp": 3, "fp": 2, "fn": 0 }, { "class_id": 7, "class_name": "Lanthionin", "precision": 0.7692307692307693, "recall": 0.5882352941176471, "f1": 0.6666666666666667, "support": 17, "tp": 10, "fp": 3, "fn": 7 }, { "class_id": 8, "class_name": "Bz_Stapled", "precision": 0.9090909090909091, "recall": 1.0, "f1": 0.9523809523809523, "support": 10, "tp": 10, "fp": 1, "fn": 0 }, { "class_id": 9, "class_name": "head2tail ring", "precision": 0.9025590551181102, "recall": 0.8963831867057673, "f1": 0.8994605198626777, "support": 1023, "tp": 917, "fp": 99, "fn": 106 } ], "macro_avg": { "precision": 0.865723683751682, "recall": 0.9297926302219646, "f1": 0.8900239131022213, "support": 62647 }, "micro_avg": { "precision": 0.9553934105611555, "recall": 0.9755741608418466, "f1": 0.9653783301029909, "support": 62647 } } }, "stage_breakdown": { "missing_required": 136, "fast_check_fail": 126, "ok": 8416 } } }