Skip to content

Commit 00d070c

Browse files
marklyszerandombet
authored andcommitted
License check code, pre-commit, license header updates across the board
Signed-off-by: Mark Sze <[email protected]>
1 parent 27c6071 commit 00d070c

File tree

69 files changed

+290
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+290
-38
lines changed

.pre-commit-config.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ repos:
6464
require_serial: true
6565
# Print the number of files as a sanity-check
6666
verbose: true
67+
- id: check-license-headers
68+
name: check license headers
69+
entry: python ./scripts/pre-commit-license-check.py
70+
language: python
71+
types: [python]
72+
exclude: |
73+
(?x)^(
74+
notebook/.* |
75+
website/.*
76+
)$
6777
- repo: https://github.com/nbQA-dev/nbQA
6878
rev: 1.8.5
6979
hooks:

autogen/agentchat/contrib/captainagent.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
import hashlib
25
import json
36
import os

autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_correlation.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def calculate_correlation(csv_path: str, column1: str, column2: str, method: str = "pearson") -> float:
25
"""
36
Calculate the correlation between two columns in a CSV file.

autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_skewness_and_kurtosis.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def calculate_skewness_and_kurtosis(csv_file: str, column_name: str) -> tuple:
25
"""
36
Calculate the skewness and kurtosis of a specified column in a CSV file. The kurtosis is calculated using the Fisher definition.

autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_iqr.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def detect_outlier_iqr(csv_file: str, column_name: str):
25
"""
36
Detect outliers in a specified column of a CSV file using the IQR method.

autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_zscore.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def detect_outlier_zscore(csv_file, column_name, threshold=3):
25
"""
36
Detect outliers in a CSV file based on a specified column. The outliers are determined by calculating the z-score of the data points in the column.

autogen/agentchat/contrib/captainagent/tools/data_analysis/explore_csv.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def explore_csv(file_path, num_lines=5):
25
"""
36
Reads a CSV file and prints the column names, shape, data types, and the first few lines of data.

autogen/agentchat/contrib/captainagent/tools/data_analysis/shapiro_wilk_test.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_download.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
import arxiv
25

36
from autogen.coding.func_with_reqs import with_requirements

autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_search.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
import arxiv
25

36
from autogen.coding.func_with_reqs import with_requirements

autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_image.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
import os
25

36
from autogen.coding.func_with_reqs import with_requirements

autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_text.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_wikipedia_text.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def get_wikipedia_text(title):
25
"""
36
Retrieves the text content of a Wikipedia page. It does not support tables and other complex formatting.

autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_youtube_caption.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
# alternative api: https://rapidapi.com/omarmhaimdat/api/youtube-v2
25

36

autogen/agentchat/contrib/captainagent/tools/information_retrieval/image_qa.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
import os
25

36
from PIL import Image

autogen/agentchat/contrib/captainagent/tools/information_retrieval/optical_character_recognition.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
import os
25

36
from autogen.coding.func_with_reqs import with_requirements

autogen/agentchat/contrib/captainagent/tools/information_retrieval/perform_web_search.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def perform_web_search(query, count=10, offset=0):
25
"""
36
Perform a web search using Bing API.

autogen/agentchat/contrib/captainagent/tools/information_retrieval/scrape_wikipedia_tables.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def scrape_wikipedia_tables(url: str, header_keyword: str):
25
"""
36
Scrapes Wikipedia tables based on a given URL and header keyword.

autogen/agentchat/contrib/captainagent/tools/information_retrieval/transcribe_audio_file.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/information_retrieval/youtube_download.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def youtube_download(url: str):
25
"""
36
Downloads a YouTube video and returns the download link.

autogen/agentchat/contrib/captainagent/tools/math/calculate_circle_area_from_diameter.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/math/calculate_day_of_the_week.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def calculate_day_of_the_week(total_days: int, starting_day: str):
25
"""
36
Calculates the day of the week after a given number of days starting from a specified day.

autogen/agentchat/contrib/captainagent/tools/math/calculate_fraction_sum.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def calculate_fraction_sum(
25
fraction1_numerator: int, fraction1_denominator: int, fraction2_numerator: int, fraction2_denominator: int
36
):

autogen/agentchat/contrib/captainagent/tools/math/calculate_matrix_power.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/math/calculate_reflected_point.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def calculate_reflected_point(point):
25
"""
36
Calculates the reflection point of a given point about the line y=x.

autogen/agentchat/contrib/captainagent/tools/math/complex_numbers_product.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/math/compute_currency_conversion.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
from autogen.coding.func_with_reqs import with_requirements
25

36

autogen/agentchat/contrib/captainagent/tools/math/count_distinct_permutations.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def count_distinct_permutations(sequence):
25
"""
36
Counts the number of distinct permutations of a sequence where items may be indistinguishable.

autogen/agentchat/contrib/captainagent/tools/math/evaluate_expression.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def evaluate_expression(expression):
25
"""
36
Evaluates a mathematical expression with support for floor function notation and power notation.

autogen/agentchat/contrib/captainagent/tools/math/find_continuity_point.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def find_continuity_point(f_leq, f_gt, x_value):
25
"""
36
Find the value 'a' that ensures the continuity of a piecewise function at a given point.

autogen/agentchat/contrib/captainagent/tools/math/fraction_to_mixed_numbers.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def fraction_to_mixed_numbers(numerator, denominator):
25
"""
36
Simplifies a fraction to its lowest terms and returns it as a mixed number.

autogen/agentchat/contrib/captainagent/tools/math/modular_inverse_sum.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def modular_inverse_sum(expressions, modulus):
25
"""
36
Calculates the sum of modular inverses of the given expressions modulo the specified modulus.

autogen/agentchat/contrib/captainagent/tools/math/simplify_mixed_numbers.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def simplify_mixed_numbers(numerator1, denominator1, numerator2, denominator2, whole_number1, whole_number2):
25
"""
36
Simplifies the sum of two mixed numbers and returns the result as a string in the format 'a b/c'.

autogen/agentchat/contrib/captainagent/tools/math/sum_of_digit_factorials.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def sum_of_digit_factorials(number):
25
"""
36
Calculates the sum of the factorial of each digit in a number, often used in problems involving curious numbers like 145.

autogen/agentchat/contrib/captainagent/tools/math/sum_of_primes_below.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14
def sum_of_primes_below(threshold):
25
"""
36
Calculates the sum of all prime numbers below a given threshold.

autogen/agentchat/contrib/graph_rag/document.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6+
# SPDX-License-Identifier: MIT
17
from dataclasses import dataclass
28
from enum import Enum, auto
39
from typing import Optional

autogen/agentchat/contrib/graph_rag/falkor_graph_query_engine.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6+
# SPDX-License-Identifier: MIT
17
import os
28
from dataclasses import dataclass, field
39
from typing import List

autogen/agentchat/contrib/graph_rag/graph_query_engine.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6+
# SPDX-License-Identifier: MIT
17
from dataclasses import dataclass, field
28
from typing import List, Optional, Protocol
39

autogen/agentchat/contrib/graph_rag/graph_rag_capability.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6+
# SPDX-License-Identifier: MIT
17
from autogen.agentchat.contrib.capabilities.agent_capability import AgentCapability
28
from autogen.agentchat.conversable_agent import ConversableAgent
39

autogen/agentchat/contrib/tool_retriever.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6+
# SPDX-License-Identifier: MIT
17
import importlib.util
28
import inspect
39
import os

autogen/coding/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from __future__ import annotations
88

autogen/coding/docker_commandline_code_executor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from __future__ import annotations
88

autogen/coding/factory.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from .base import CodeExecutionConfig, CodeExecutor
88

autogen/coding/func_with_reqs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from __future__ import annotations
88

autogen/coding/jupyter/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from dataclasses import dataclass
88
from typing import Optional, Protocol, runtime_checkable

autogen/coding/jupyter/docker_jupyter_server.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from __future__ import annotations
88

autogen/coding/jupyter/embedded_ipython_code_executor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
import base64
88
import json

autogen/coding/jupyter/jupyter_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2023 - 2024, Owners of https://github.com/autogen-ai
1+
# Copyright (c) 2023 - 2024, Owners of https://github.com/ag2ai
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
5-
# Original portions of this file are derived from https://github.com/microsoft/autogen under the MIT License.
5+
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
66
# SPDX-License-Identifier: MIT
77
from __future__ import annotations
88

0 commit comments

Comments
 (0)