MCPcopy Create free account
hub / github.com/base/base / validate_run_artifacts

Method validate_run_artifacts

etc/systems/src/benchmark_cli.rs:894–906  ·  view source on GitHub ↗
(run_output_dir: &Path)

Source from the content-addressed store, hash-verified

892 }
893
894 fn validate_run_artifacts(run_output_dir: &Path) -> Result<()> {
895 for file in [
896 "metadata.json",
897 "benchmark-result.json",
898 "load-test-result.json",
899 "metrics-sequencer.json",
900 "metrics-validator.json",
901 ] {
902 let path = run_output_dir.join(file);
903 eyre::ensure!(path.is_file(), "run artifact is missing: {}", path.display());
904 }
905 Ok(())
906 }
907
908 fn parse_created_at(run: &VisualizerRun) -> Result<DateTime<Utc>> {
909 DateTime::parse_from_rfc3339(&run.created_at)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected