Skip to content

Commit 5065745

Browse files
hyperpolymathclaude
andcommitted
fix: format GNN training metrics timestamp with RFC3339 timezone
- Julia script now outputs UTC timestamps as RFC3339 with Z suffix - Enables Rust parser DateTime::parse_from_rfc3339() to succeed - gnn_training_integration_test now passes (last_trained field populated) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 1b2390d commit 5065745

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

models/training_metrics.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"status":"completed","training_data_size":10011,"MRR":0.85,"model_location":"models/neural/gnn_ranker","timestamp":"2026-04-25T15:26:45.716Z","nDCG":0.85,"epochs_trained":50}

src/julia/train_and_evaluate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function train_and_evaluate()
7878

7979
# Create metrics structure
8080
metrics = Dict(
81-
"timestamp" => string(now()),
81+
"timestamp" => Dates.format(now(Dates.UTC), "yyyy-mm-ddTHH:MM:SS.sssZ"),
8282
"training_data_size" => samples,
8383
"epochs_trained" => epoch,
8484
"nDCG" => round(ndcg_score, digits=4),

0 commit comments

Comments
 (0)