Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .taplo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use range format "2024-2026" instead of comma-separated "2024, 2026".

The PR objectives state that comma-separated year lists should be normalized to proper ranges. All other files in this PR use the range format (e.g., "2024-2026", "2025-2026"), but this file introduces a comma-separated format instead.

📅 Proposed fix to use consistent range format
-# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.taplo.toml at line 2, Update the copyright year format on the line
containing "Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights
reserved." to use a range instead of comma-separated years — replace "2024,
2026" with "2024-2026" so the string becomes "Copyright (c) 2024-2026 NVIDIA
CORPORATION & AFFILIATES. All rights reserved."

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/system/example_runai_cluster.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/system/example_slurm_cluster.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/system/kubernetes_cluster.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/system/standalone_system.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/test_scenario/dse_nccl_all_gather.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/test_scenario/nemo_run_llama3_8b.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/test_scenario/sleep.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/common/test_scenario/ucc_test.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/experimental/test/ddlb_test.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/hook/nccl_test.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Normalize comma-separated years to a proper range.

The copyright year format uses "2024, 2026" but the PR objectives explicitly state that comma-separated year lists should be normalized to proper ranges. This should be "2024-2026" to match the pattern used in all other files and satisfy the "Check copyrights" pipeline stage.

🔧 Proposed fix
-# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@conf/hook/nccl_test.toml` at line 2, Update the copyright header string to
use a year range instead of a comma-separated list: replace "2024, 2026" with
"2024-2026" in the copyright line so it matches the normalized format used
elsewhere (edit the header text that currently reads "Copyright (c) 2024, 2026
NVIDIA CORPORATION & AFFILIATES. All rights reserved." to "Copyright (c)
2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.").

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/release/nemo_acceptance/test/gpt3_126m_mock.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion conf/release/nemo_acceptance/test/gpt3_126m_pile.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Copyright year format must use comma separation, not hyphen.

The copyright checker expects # Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. but the file uses 2024-2026. The CI pipeline is failing on this exact format mismatch.

🔧 Fix the copyright format
-# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@conf/release/spcx/l40s/test/l40s-bc-nccl_test_scatter.toml` at line 2,
Replace the year range format "2024-2026" in the file header string with
comma-separated years so the copyright line reads "Copyright (c) 2024, 2026
NVIDIA CORPORATION & AFFILIATES. All rights reserved."; specifically update the
existing header comment that currently contains "# Copyright (c) 2024-2026
NVIDIA CORPORATION & AFFILIATES. All rights reserved." to use the
comma-separated form.

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Copyright year format must use comma separation, not hyphen.

The copyright checker expects # Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. but the file uses 2024-2026. The CI pipeline is failing on this exact format mismatch.

🔧 Fix the copyright format
-# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@conf/release/spcx/l40s/test/l40s-bc-nccl_test_sendrecv.toml` at line 2,
Update the copyright header to use comma-separated years rather than a hyphen:
replace the existing line that reads "# Copyright (c) 2024-2026 NVIDIA
CORPORATION & AFFILIATES. All rights reserved." with "# Copyright (c) 2024, 2026
NVIDIA CORPORATION & AFFILIATES. All rights reserved." so the copyright checker
accepts the format.

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Copyright year format must use comma separation, not hyphen.

The copyright checker expects # Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. but the file uses 2024-2026. The CI pipeline is failing on this exact format mismatch.

🔧 Fix the copyright format
-# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@conf/release/spcx/l40s/test/l40s-bc-nccl_test_sendrecv_worst.toml` at line 2,
Update the copyright year format to use comma-separated years instead of a
hyphen; specifically replace the line currently containing "Copyright (c)
2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved." with "Copyright
(c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved." so it
matches the copyright checker expectation.

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Copyright year format must use comma separation, not hyphen.

The copyright checker expects comma-separated years (e.g., # Copyright (c) 2025, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.) but the file uses 2025-2026. Apply the same correction as in other files.

🔧 Fix the copyright format
-# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2025, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2025, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@doc/Makefile` at line 2, Update the copyright header line that currently
reads "Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights
reserved." to use comma-separated years instead of a hyphen; change the year
range to "2025, 2026" so the line becomes "Copyright (c) 2025, 2026 NVIDIA
CORPORATION & AFFILIATES. All rights reserved." to match the other files and
satisfy the copyright checker.

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/base_job.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/base_system_parser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check copyright year formats in all Python and TOML files changed in this PR

echo "=== Copyright formats in changed files ==="
rg -n "Copyright \(c\) 202[0-9]" --type=py --type=toml | head -20

echo -e "\n=== Breakdown by format ==="
echo "Range format (YYYY-YYYY):"
rg -c "Copyright \(c\) [0-9]{4}-[0-9]{4}" --type=py --type=toml | wc -l

echo "Comma format (YYYY, YYYY):"
rg -c "Copyright \(c\) [0-9]{4}, [0-9]{4}" --type=py --type=toml | wc -l

Repository: NVIDIA/cloudai

Length of output: 2759


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Confirm header in base_system_parser.py ==="
nl -ba src/cloudai/_core/base_system_parser.py | sed -n '1,20p'

echo
echo "=== Count of comma-format occurrences for 2024/2026 ==="
rg -n "Copyright \\(c\\) 2024, 2026" --type=py --type=toml || true

echo
echo "=== Count of range-format occurrences for 2024-2026 ==="
rg -n "Copyright \\(c\\) 2024-2026" --type=py --type=toml || true

echo
echo "=== Find copyright/header validation configuration/scripts ==="
# Common filenames / configs to inspect
fd -a -t f -e py -e toml -e txt -e yml -e yaml -e json -e md . | rg -n "(license|copyright|header|reuse|spdx|years|years|2024-2026|2024, 2026|template)" || true

echo
echo "=== Search for regex expecting YYYY-YYYY specifically ==="
rg -n "Copyright \\(c\\).*\\[0-9\\]\\{4\\}-\\[0-9\\]\\{4\\}|YYYY-YYYY|\\{4\\}-\\{4\\}" --type=py --type=toml --type=yml --type=yaml --type=js --type=ts --type=go || true

Repository: NVIDIA/cloudai

Length of output: 167


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Confirm header in base_system_parser.py ==="
nl -ba src/cloudai/_core/base_system_parser.py | sed -n '1,20p'

echo
echo "=== Count of comma-format occurrences for 2024/2026 ==="
rg -n "Copyright \\(c\\) 2024, 2026" --type=py --type=toml || true

echo
echo "=== Count of range-format occurrences for 2024-2026 ==="
rg -n "Copyright \\(c\\) 2024-2026" --type=py --type=toml || true

echo
echo "=== Find copyright/header validation configuration/scripts ==="
# Search for likely config/tooling keywords in non-binary files
rg -n "(license|copyright|header|reuse|SPDX|spdx|years|years|template)" --hidden --glob '!**/node_modules/**' --glob '!**/.git/**' --glob '!**/dist/**' || true

echo
echo "=== Search for regex expecting YYYY-YYYY specifically ==="
rg -n "YYYY-YYYY|\\[0-9\\]\\{4\\}-\\[0-9\\]\\{4\\}|\\{4\\}-\\{4\\}|Copyright \\(c\\).*\\{4\\}-\\{4\\}" --hidden --glob '!**/node_modules/**' --glob '!**/.git/**' || true

Repository: NVIDIA/cloudai

Length of output: 167


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Confirm header in base_system_parser.py ==="
nl -ba src/cloudai/_core/base_system_parser.py | sed -n '1,20p'

echo
echo "=== Count of comma-format occurrences for 2024/2026 ==="
rg -n "Copyright \(c\) 2024, 2026" --type=py --type=toml || true

echo
echo "=== Count of range-format occurrences for 2024-2026 ==="
rg -n "Copyright \(c\) 2024-2026" --type=py --type=toml || true

echo
echo "=== Find copyright/header validation configuration/scripts ==="
# Search for likely config/tooling keywords in non-binary files
rg -n "(license|copyright|header|reuse|SPDX|spdx|years|template)" --hidden --glob '!**/node_modules/**' --glob '!**/.git/**' --glob '!**/dist/**' || true

echo
echo "=== Search for regex expecting YYYY-YYYY specifically ==="
rg -n "YYYY-YYYY|\\[0-9\\]\\{4\\}-\\[0-9\\]\\{4\\}|\\{4\\}-\\{4\\}|Copyright \\(c\\).*\\{4\\}-\\{4\\}" --hidden --glob '!**/node_modules/**' --glob '!**/.git/**' || true

Repository: NVIDIA/cloudai

Length of output: 167


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Confirm header in base_system_parser.py ==="
sed -n '1,20p' src/cloudai/_core/base_system_parser.py

echo
echo "=== Count of comma-format occurrences for 2024-2026 ==="
rg -n "Copyright \\(c\\) 2024, 2026" --type=py --type=toml || true

echo
echo "=== Count of range-format occurrences for 2024-2026 ==="
rg -n "Copyright \\(c\\) 2024-2026" --type=py --type=toml || true

echo
echo "=== Find copyright/header validation configuration/scripts ==="
rg -n "(license|copyright|header|reuse|SPDX|spdx|years|template)" --hidden --glob '!**/node_modules/**' --glob '!**/.git/**' --glob '!**/dist/**' || true

echo
echo "=== Search for regex expecting YYYY-YYYY specifically ==="
rg -n "YYYY-YYYY|\\[0-9\\]\\{4\\}-\\[0-9\\]\\{4\\}|\\{4\\}-\\{4\\}|Copyright \\(c\\).*\\{4\\}-\\{4\\}" --hidden --glob '!**/node_modules/**' --glob '!**/.git/**' || true

Repository: NVIDIA/cloudai

Length of output: 50371


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Locate copyright header checks ==="
rg -n "check_copyright|copyright header|SPDX|Copyright \\(c\\)" tests --type=py

echo
echo "=== Inspect tests/test_check_copyright_headers.py (relevant sections) ==="
test -f tests/test_check_copyright_headers.py && sed -n '1,220p' tests/test_check_copyright_headers.py || echo "File not found"
echo
echo "=== Search within that test for year-format regex ==="
rg -n "2024-2026|2024, 2026|\\{4\\}-\\{4\\}|\\{4\\}, \\{4\\}|range format|comma format|year" tests/test_check_copyright_headers.py || true

Repository: NVIDIA/cloudai

Length of output: 49541


🏁 Script executed:

#!/bin/bash
set -euo pipefail

python3 - <<'PY'
import subprocess
from datetime import datetime
from pathlib import Path

path = Path("src/cloudai/_core/base_system_parser.py")

_REC_SEP = "\x1e"

def run_git(cmd):
    res = subprocess.run(["git", *cmd], capture_output=True, text=True)
    if res.returncode != 0:
        raise RuntimeError(f"git command {cmd[0]} failed: {res.stderr}")
    return res.stdout

def _format_years_to_ranges(years):
    if not years:
        raise ValueError("Expected at least one year")
    parts = []
    range_start = years[0]
    range_end = years[0]
    for y in years[1:]:
        if y == range_end + 1:
            range_end = y
        else:
            parts.append(f"{range_start}-{range_end}" if range_start != range_end else str(range_start))
            range_start = y
            range_end = y
    parts.append(f"{range_start}-{range_end}" if range_start != range_end else str(range_start))
    return ", ".join(parts)

def collect_years_same_file(path):
    git_output = run_git([
        "log",
        "--follow",
        "--name-status",
        "--find-renames=92%",
        "--format=%x1e%ad",
        "--date=format:%Y",
        "--",
        path.as_posix(),
    ])

    years = set()
    current_path = path.as_posix()

    for rec in git_output.split(_REC_SEP):
        rec = rec.strip()
        if not rec:
            continue

        lines = [ln.strip() for ln in rec.splitlines() if ln.strip()]
        year = int(lines[0])
        parts = lines[1].split("\t")
        commit_status = parts[0]

        # Follow only exact rename hops for the currently tracked path.
        if len(commit_status) == 4 and commit_status[0] == "R" and len(parts) == 3:
            percentage = int(commit_status[1:])
            old_path, new_path = parts[1], parts[2]
            if percentage >= 92 and new_path == current_path:
                current_path = old_path
                years.add(year)
                continue

        # Normal touch of current path.
        elif len(parts) >= 2 and parts[1] == current_path:
            years.add(year)
            continue

        break

    git_status = run_git(["status", "--porcelain", "--", path.as_posix()])
    if git_status.strip():
        years.add(datetime.now().year)

    return sorted(years)

years = collect_years_same_file(path)
print("Collected years:", years)
print("Expected header year string:", _format_years_to_ranges(years))
print("Expected full header line:")
after_year_str = "NVIDIA CORPORATION & AFFILIATES. All rights reserved."
print(f"# Copyright (c) {_format_years_to_ranges(years)} {after_year_str}")
PY

Repository: NVIDIA/cloudai

Length of output: 218


🏁 Script executed:

#!/bin/bash
set -euo pipefail

python3 - <<'PY'
import subprocess
from datetime import datetime
from pathlib import Path

path = Path("src/cloudai/_core/base_system_parser.py")
_REC_SEP = "\x1e"

def run_git(cmd):
    res = subprocess.run(["git", *cmd], capture_output=True, text=True)
    if res.returncode != 0:
        raise RuntimeError(f"git command {cmd[0]} failed: {res.stderr}")
    return res.stdout

def _format_years_to_ranges(years):
    if not years:
        raise ValueError("Expected at least one year")
    parts = []
    range_start = years[0]
    range_end = years[0]
    for y in years[1:]:
        if y == range_end + 1:
            range_end = y
        else:
            parts.append(f"{range_start}-{range_end}" if range_start != range_end else str(range_start))
            range_start = y
            range_end = y
    parts.append(f"{range_start}-{range_end}" if range_start != range_end else str(range_start))
    return ", ".join(parts)

def collect_years_same_file(path):
    git_output = run_git([
        "log",
        "--follow",
        "--name-status",
        "--find-renames=92%",
        "--format=%x1e%ad",
        "--date=format:%Y",
        "--",
        path.as_posix(),
    ])

    years = set()
    current_path = path.as_posix()

    for rec in git_output.split(_REC_SEP):
        rec = rec.strip()
        if not rec:
            continue

        lines = [ln.strip() for ln in rec.splitlines() if ln.strip()]
        year = int(lines[0])
        parts = lines[1].split("\t")
        commit_status = parts[0]

        if len(commit_status) == 4 and commit_status[0] == "R" and len(parts) == 3:
            percentage = int(commit_status[1:])
            old_path, new_path = parts[1], parts[2]
            if percentage >= 92 and new_path == current_path:
                current_path = old_path
                years.add(year)
                continue

        elif len(parts) >= 2 and parts[1] == current_path:
            years.add(year)
            continue

        break

    git_status = run_git(["status", "--porcelain", "--", path.as_posix()])
    CURRENT_YEAR = datetime.now().year
    if git_status.strip():
        years.add(CURRENT_YEAR)

    return sorted(years)

# Actual header line (second line of HEADER_LINES in the test)
actual_header_line = None
with open(path, "r", encoding="utf-8") as f:
    _ = f.readline()  # SPDX-FileCopyrightText...
    actual_header_line = f.readline().strip()

expected_years = collect_years_same_file(path)
expected_year_str = _format_years_to_ranges(expected_years)
expected_header_line = f"# Copyright (c) {expected_year_str} NVIDIA CORPORATION & AFFILIATES. All rights reserved."

print("Actual header year line:", actual_header_line)
print("Expected years list:", expected_years)
print("Expected year string:", expected_year_str)
print("Expected header year line:", expected_header_line)
PY

Repository: NVIDIA/cloudai

Length of output: 321


Update src/cloudai/_core/base_system_parser.py copyright years to match the header checker.

tests/test_check_copyright_headers.py computes expected years for this file as [2026], which means the header should be # Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.; the file currently has # Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. (line 2). This will cause the copyright-header validation test to fail. Update the header years accordingly.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/cloudai/_core/base_system_parser.py` at line 2, The file header in
base_system_parser.py currently lists "2024, 2026" which conflicts with the
header checker expecting only "2026"; update the top comment copyright line in
the module (the file-level comment near the top of base_system_parser.py) to
read just "Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights
reserved." so the header matches the expected years used by the tests.

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/grader.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/grading_strategy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Same inconsistent format as flagged in base_system_parser.py.

Uses comma-separated 2024, 2026 instead of range format 2024-2026 that appears in the majority of files and matches the PR's stated normalization goal.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/cloudai/_core/grading_strategy.py` at line 2, Update the copyright header
string at the top of the file that currently reads "Copyright (c) 2024, 2026
NVIDIA CORPORATION & AFFILIATES. All rights reserved." to use the normalized
range format "2024-2026" (i.e., change "2024, 2026" to "2024-2026") so it
matches the format used elsewhere (same fix applied as in
base_system_parser.py).

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/job_status_result.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024, 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Same inconsistent format as flagged in base_system_parser.py.

Uses comma-separated 2024, 2026 instead of range format 2024-2026.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/cloudai/_core/job_status_result.py` at line 2, Update the file header
comment in src/cloudai/_core/job_status_result.py to use the consistent year
range format; replace the comma-separated "2024, 2026" with the range
"2024-2026" so it matches the format used in base_system_parser.py and other
files; locate the top-of-file copyright comment and adjust the text accordingly.

# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/_core/system.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion src/cloudai/cli/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Loading
Loading