instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sdv-dev__SDV__1859 | sdv-dev/SDV | 1,859 | defect | 7b1b9b75596ed98813af782daacb058c6ae8b4ce | da0eec9292b4e73ae432db88de2cc11c08dfa6f7 | Add a function to save my multi-table data as CSVs | CU-86azny031
Resolve #1849 | diff --git a/sdv/datasets/local.py b/sdv/datasets/local.py
index 2cc84caa8c..965b59a18a 100644
--- a/sdv/datasets/local.py
+++ b/sdv/datasets/local.py
@@ -42,3 +42,48 @@ def load_csvs(folder_name, read_csv_parameters=None):
)
return csvs
+
+
+def save_csvs(data, folder_name, suffix=None, to_csv_paramete... | 3 | 3 | 1 | [{"id": "G0", "claim": "Instead of raising a ValueError when the folder does not exist, save_csvs should create the folder.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When target CSV files already exist, save_csvs should raise FileExistsError in... | null |
sdv-dev__SDV__1865 | sdv-dev/SDV | 1,865 | defect | ef647fa5802ec129017f919590a84560a1e507e0 | 600a1d1078000c3a71298e07b38f0a5ae1065aca | Fix assert in PAR integration test | - The assertion was not properly being tested.
- Added a fix if demo dataset downloaded was created after V1 (in which case there would be no metadata_v0.json present) | diff --git a/sdv/datasets/demo.py b/sdv/datasets/demo.py
index c202d91c9..955243406 100644
--- a/sdv/datasets/demo.py
+++ b/sdv/datasets/demo.py
@@ -67,7 +67,9 @@ def _extract_data(bytes_io, output_folder_name):
if output_folder_name:
os.makedirs(output_folder_name, exist_ok=True)
zf.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The variable added in _extract_data is misleadingly named metadata_v1_filepath while it holds the path to metadata_v0.json, so it should be renamed to match the v0 suffix.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__1868 | sdv-dev/SDV | 1,868 | defect | f52831f2de0f249a5d29aad7fe794d2a41929114 | 2338265f3fd417e2aef3162b1b654365c3625ba6 | Create chart for generator-discriminator loss | resolves #1828
Creates API to generate generator-discriminator loss chart for CTGAN
Example below with epochs = 200
<img width="1499" alt="Screenshot 2024-03-25 at 11 59 33 AM" src="https://github.com/sdv-dev/SDV/assets/10409759/c808d71f-d95b-4d19-a9e1-25d2c32cec8c">
| diff --git a/sdv/single_table/ctgan.py b/sdv/single_table/ctgan.py
index 92e03aafc..468b8882f 100644
--- a/sdv/single_table/ctgan.py
+++ b/sdv/single_table/ctgan.py
@@ -1,7 +1,9 @@
"""Wrapper around CTGAN model."""
import numpy as np
import pandas as pd
+import plotly.express as px
from ctgan import CTGAN, TVAE
+fr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring of the new get_loss_values_plot method is missing an Args section documenting its title parameter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__1873 | sdv-dev/SDV | 1,873 | defect | 6011d53fb594ed97da26f7694196cf04787a5989 | f3b9095b84d14049f4d8ab453c5168b40ff44b6a | Implement Version Checking and Raise Error for Downgraded SDV Version Loading | Resolves #1837
CU-86azkp7me
| diff --git a/sdv/_utils.py b/sdv/_utils.py
index bf5ff5b1e..d0f0b8b34 100644
--- a/sdv/_utils.py
+++ b/sdv/_utils.py
@@ -10,7 +10,7 @@
from pandas.core.tools.datetimes import _guess_datetime_format_for_array
from sdv import version
-from sdv.errors import SDVVersionWarning, SynthesizerInputError
+from sdv.errors im... | 4 | 4 | 1 | [{"id": "G0", "claim": "The pull request should also add an integration test that manually modifies the `_fitted_sdv_version` on a synthesizer and tests saving / loading it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of `test_check_syn... | null |
sdv-dev__SDV__1876 | sdv-dev/SDV | 1,876 | defect | 6011d53fb594ed97da26f7694196cf04787a5989 | 93b0ec49243ac1bcdd0963ba32747826095375d6 | Metadata auto-detection should ensure primary keys are unique (special sdtypes are not exempt from this rule!) | CU-86azuyq0t
Resolve #1871 | diff --git a/sdv/metadata/single_table.py b/sdv/metadata/single_table.py
index ad7d99324..7448d8331 100644
--- a/sdv/metadata/single_table.py
+++ b/sdv/metadata/single_table.py
@@ -525,6 +525,8 @@ def _detect_columns(self, data):
for field in data:
column_data = data[field]
has_nan = ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The uniqueness check in `_detect_columns` should use `column_data.is_unique` instead of `column_data.nunique() == len(column_data)`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__1892 | sdv-dev/SDV | 1,892 | defect | 70d6c8b5b28fc9f538518685ac8c045f6a3660b1 | 0df558a351fd6b7f2e901c3e939e55d0ce6bf828 | Allow IDGenerator be used for Primary and Alternate Keys | resolves #1862
CU_86aztbydu
Allow IDGenerator transformer to be used for primary and alternate keys | diff --git a/sdv/data_processing/data_processor.py b/sdv/data_processing/data_processor.py
index f8214d845..96b38eaeb 100644
--- a/sdv/data_processing/data_processor.py
+++ b/sdv/data_processing/data_processor.py
@@ -644,11 +644,12 @@ def update_transformers(self, column_name_to_transformer):
)
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Use `transformer.IS_GENERATOR` (an is-generator property) instead of adding an explicit type check, so premium generators can also be supported as primary-key generators.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an integ... | null |
sdv-dev__SDV__1897 | sdv-dev/SDV | 1,897 | defect | 70d6c8b5b28fc9f538518685ac8c045f6a3660b1 | 8b835ec5e60b8b09f28722cd034dddeae7e4b6d6 | Add warning for `datetimes` when they are missing `datetime_format` and are represented as `dtype` object | Resolves #1847
CU-86aznj7ak | diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py
index 1cf48b5872..d8e006c27d 100644
--- a/sdv/metadata/multi_table.py
+++ b/sdv/metadata/multi_table.py
@@ -19,6 +19,7 @@
create_columns_node, create_summarized_columns_node, visualize_graph)
LOGGER = logging.getLogger(__name__)
+WARNINGS_CO... | 4 | 2 | 0 | [{"id": "G0", "claim": "The docstring of `validate_data` should be updated now that the method takes the new `sdtype_warnings` parameter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of `_validate_column_data` should describe its u... | null |
sdv-dev__SDV__1905 | sdv-dev/SDV | 1,905 | defect | ed52974218819f4dc37df494f6aa3a11620ac66b | bcddd7f26d2b964d1a42c709445950da36c4ee92 | Create unique id for each synthesizer | Resolves #1902
CU-86b00mxjz
This is how the `IDS` look :
<img width="777" alt="image" src="https://github.com/sdv-dev/SDV/assets/41479552/f03a6974-c161-40d7-8935-e534d83ea504">
I'm printing both `instance` and `id` just in case we wanted to change the `representation` to be the id of the synthesizer. | diff --git a/sdv/_utils.py b/sdv/_utils.py
index 9227959319..1b472351d5 100644
--- a/sdv/_utils.py
+++ b/sdv/_utils.py
@@ -1,4 +1,5 @@
"""Miscellaneous utility functions."""
+import uuid
import warnings
from collections import defaultdict
from collections.abc import Iterable
@@ -364,3 +365,23 @@ def _get_root_table... | 1 | 1 | 1 | [{"id": "G0", "claim": "Using only the last portion of the UUID4 means the generated synthesizer id is not guaranteed to be unique, so the entire UUID4 should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sdv-dev__SDV__1917 | sdv-dev/SDV | 1,917 | defect | 3ea886307b02d5394597a8be1dea15ba420bb400 | 9a9e39e7da9ae101fb34e78ed5e76cc34415beaa | Change loss chart visual to darker line | resolves #1916
Changes the color
Also added a type check so that the chart can work if the loss values are not pd.series.
<img width="1504" alt="Screenshot 2024-04-16 at 3 28 34 PM" src="https://github.com/sdv-dev/SDV/assets/10409759/5d0d8f4f-ca9f-4e53-9bf7-a34f07f8f29f">
| diff --git a/sdv/single_table/ctgan.py b/sdv/single_table/ctgan.py
index dbb8682b0..06aa05fb8 100644
--- a/sdv/single_table/ctgan.py
+++ b/sdv/single_table/ctgan.py
@@ -71,15 +71,17 @@ def get_loss_values_plot(self, title='CTGAN loss function'):
# Tidy up the loss values data
loss_df = self._model.l... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks whether the added guard is ever hit — i.e. whether the elements of the loss columns are ever not a pd.Series, questioning the need for the new isinstance(x, pd.Series) handling in get_loss_values_plot.", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
sdv-dev__SDV__1958 | sdv-dev/SDV | 1,958 | defect | 63cdaabc722c0f0903b39ade3e2359505a517aaf | ad0fab96b2dedd983f5917e04fff98beb246985c | Implement CSVHandler | Resolves #1949
CU-86b05rv4r | diff --git a/sdv/io/local.py b/sdv/io/local.py
new file mode 100644
index 0000000000..a422310613
--- /dev/null
+++ b/sdv/io/local.py
@@ -0,0 +1,172 @@
+"""Local file handlers."""
+import codecs
+import os
+from pathlib import Path
+
+import pandas as pd
+
+from sdv._utils import _cast_to_iterable
+from sdv.metadata imp... | 3 | 3 | 1 | [{"id": "G0", "claim": "The read() API should expect file_names to always be a list instead of accepting a str or list of str.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The read() method needs to set pandas' on_bad_lines parameter to 'warn' when rea... | null |
sdv-dev__SDV__1962 | sdv-dev/SDV | 1,962 | defect | 8aa3b5ef86f807fbd519d9709c22740b041d8852 | 3318b1243078ad09119c16091039f25461aceaa4 | Add ExcelHandler | Resolves #1950
CU-86b05t4z0 | diff --git a/Makefile b/Makefile
index c953b15b69..b81dbd48ae 100644
--- a/Makefile
+++ b/Makefile
@@ -261,5 +261,5 @@ release-major: check-release bumpversion-major release
.PHONY: check-deps
check-deps:
- $(eval allow_list='cloudpickle=|graphviz=|numpy=|pandas=|tqdm=|copulas=|ctgan=|deepecho=|rdt=|sdmetrics=|plat... | 7 | 5 | 3 | [{"id": "G0", "claim": "The test_write test should have a docstring.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ExcelHandler.write accepts a mode parameter ('w' writes a new file, 'a' writes to an existing file) but the implementation ignores it, so... | null |
sdv-dev__SDV__1963 | sdv-dev/SDV | 1,963 | defect | 275955dcaaa81dcf3385b03965839843b80c255b | 23b6ab154dbc39126e324c70f11a0c22e8adc87a | Include `sdv_logger_config.yml` with the package | Include the `sdv_logger_config.yml` with the package.
Update the `github workflow` for `macos` since `latest` is using `arm` now instead of `x86` (intel) and `numpy` does not have a compiled distribution for it.
Also fixes logger backwards compatibility in the `SingleTableSynthesizer` and `Par`. | diff --git a/.github/workflows/minimum.yml b/.github/workflows/minimum.yml
index f97dc4fbe..2043725a3 100644
--- a/.github/workflows/minimum.yml
+++ b/.github/workflows/minimum.yml
@@ -13,7 +13,7 @@ jobs:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, windows-latest]
... | 1 | 1 | 0 | [{"id": "G1", "claim": "The change of the minimum workflow's Python 3.8 macOS runner from macos-latest to macos-11 should not be made: pinning only the minimum job to an x86 runner is inconsistent, since every other unit and integration test keeps running on the latest (soon all arm) runners.", "category": "correctness... | null |
sdv-dev__SDV__1989 | sdv-dev/SDV | 1,989 | defect | 46ef1c755730e1ae1fa08feb0c670298e6b697fa | 739ac4258ad25903bce4c997d2321d6a2691c295 | Convert metadata columns from integer to strings to ensure that SDV works properly | resolves #1933
CU-86b04u2ae
Metadata columns need to be strings as much of SDV metadata detection assumes all columns are of `string` type | diff --git a/sdv/metadata/single_table.py b/sdv/metadata/single_table.py
index 4f8b1db94..a3703cf64 100644
--- a/sdv/metadata/single_table.py
+++ b/sdv/metadata/single_table.py
@@ -588,8 +588,10 @@ def detect_from_dataframe(self, data):
'Metadata already exists. Create a new ``SingleTableMetadata`` '
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The indentation of the closing bracket of the _get_num_extended_columns call was changed and should line up with the statement it closes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add integrat... | null |
sdv-dev__SDV__2005 | sdv-dev/SDV | 2,005 | defect | 4d67b9b41b342c27476ea9b7087f0087f8ddd4df | 4355f203066a36dfb1d6bf7ce303092b1a9a77d3 | Update logs to write to CSV | Resolve #1974
CU-86b094e79 | diff --git a/sdv/logging/__init__.py b/sdv/logging/__init__.py
index c15348231..2c5d10e88 100644
--- a/sdv/logging/__init__.py
+++ b/sdv/logging/__init__.py
@@ -1,10 +1,12 @@
"""Module for configuring loggers within the SDV library."""
from sdv.logging.logger import get_sdv_logger
-from sdv.logging.utils import dis... | 4 | 2 | 0 | [{"id": "G0", "claim": "The new class should not be named CSVHandler because a class with that name already exists in sdv/io/local/local.py; a different name should be used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The object assigned to `... | null |
sdv-dev__SDV__2016 | sdv-dev/SDV | 2,016 | defect | c2a1a6a3f7d98299dfa53ed0a69e5590a94e0be5 | 7749f056b166f8166e385b5bb6c5b46b9ec44a34 | Improve error message when sampling on a non-CPU device | CU-86azg7w2c, Resolve #1819. | diff --git a/sdv/multi_table/base.py b/sdv/multi_table/base.py
index ed08891fb..eb65b9833 100644
--- a/sdv/multi_table/base.py
+++ b/sdv/multi_table/base.py
@@ -694,7 +694,14 @@ def load(cls, filepath):
The loaded synthesizer.
"""
with open(filepath, 'rb') as f:
- synthesiz... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new RuntimeError-to-SamplingError conversion should live in the sampling code instead of in load, unless the error genuinely surfaces while loading the synthesizer.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The caught Run... | null |
sdv-dev__SDV__2053 | sdv-dev/SDV | 2,053 | defect | 2a7e34852b0c12366a76780cb96b4f8f61d8185d | bbe4921dc0eb5d14007d78bc0430980b89f50808 | Removing the saving of a temp file unless specified | resolves #2042
CU-86b0p02f3
Remove the saving of a temp file during a synthesizer sample unless the user provides an output filepath. | diff --git a/sdv/lite/single_table.py b/sdv/lite/single_table.py
index a7f9479b8..9e4f2129a 100644
--- a/sdv/lite/single_table.py
+++ b/sdv/lite/single_table.py
@@ -136,8 +136,7 @@ def sample_from_conditions(self, conditions, max_tries_per_batch=100,
The batch size to use per attempt at sampling. Defau... | 1 | 1 | 0 | [{"id": "G0", "claim": "The output_file_path docstrings in sdv/lite/single_table.py and sdv/single_table/base.py, which the PR changed to drop the old 'Defaults to a temporary file, if None.' wording, should say that the parameter defaults to None.", "category": "documentation", "verdict": "supported", "priority": "P2"... | null |
sdv-dev__SDV__2068 | sdv-dev/SDV | 2,068 | defect | 18f392c9455218ee801661d98c8fbc07fb74bf67 | ec2dfbf87da0c32b9095a03f62c1cf86881622c2 | Set numerical distributions to truncnorm for extension columns | - Fixes #1895 | diff --git a/.gitignore b/.gitignore
index dcbbb4e0ba..81d92bed15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+.vscode/
+
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
diff --git a/sdv/multi_table/hma.py b/sdv/multi_table/hma.py
index dd142b4201..5e6ca8819f 100644
--- a/sdv/multi_table/... | 4 | 4 | 1 | [{"id": "G0", "claim": "In _augment_table the extended columns should be appended (extend) rather than assigned, otherwise a second child overwrites the extended columns recorded from the first child.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
sdv-dev__SDV__2080 | sdv-dev/SDV | 2,080 | defect | a04dc68cb96583e395d7028a093fb117db79e8b3 | a6d7988e1f44f8c477b4c621f44fcd44fbfaf520 | Do not error if sequence_index is numerical | resolves #2079
CU-86b0y3zdj
Ensure that if no transformer is assigned to sequence index, then do not error out. | diff --git a/sdv/sequential/par.py b/sdv/sequential/par.py
index ccd8a974f..98d8e4b6d 100644
--- a/sdv/sequential/par.py
+++ b/sdv/sequential/par.py
@@ -264,7 +264,9 @@ def auto_assign_transformers(self, data):
# Ensure that sequence index does not get auto assigned with enforce_min_max_values
if self... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request should also add an integration test (for fitting PARSynthesizer with a numerical sequence_index).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A quick unit test should also be added covering a sequence index wh... | null |
sdv-dev__SDV__2089 | sdv-dev/SDV | 2,089 | defect | e0ccc94f577ce0effc6aee2df85f0ec66fdba71f | 3173eb219cde73f9041a55d6270ef9e59226ee6f | Numerical unknowns should not be converted to sdv-pii-???? | resolves #2064
CU-86b0wh849
PII Type adds the prefix `sdv-pii`. If the sdtype is unknown, the transformers will auto-assign but the reverse transform for a `pii` sdtype should always have the dtype of `object` as it will contain a prefix. If a numerical column is detected we will add change the `Faker` function to... | diff --git a/sdv/sampling/hierarchical_sampler.py b/sdv/sampling/hierarchical_sampler.py
index 9662bcb99..04ea2da21 100644
--- a/sdv/sampling/hierarchical_sampler.py
+++ b/sdv/sampling/hierarchical_sampler.py
@@ -244,6 +244,13 @@ def _finalize(self, sampled_data):
synthesizer = self._table_synthesizers.get... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add a line break (blank separator line) in _finalize before the astype call.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reversed dtype should not be forced to object for unknown columns; it should match the origin... | null |
sdv-dev__SDV__2098 | sdv-dev/SDV | 2,098 | defect | 0173c776c3114b1d1a067adc358f09f109326a58 | 6e893cd6066c0cd20c8894bfc18c2a03e18b5ef2 | Add a utility function `get_random_sequence_subset` | resolves #2085
CU-86b0z70r1 | diff --git a/sdv/utils/poc.py b/sdv/utils/poc.py
index 682895bad4..10f5c17851 100644
--- a/sdv/utils/poc.py
+++ b/sdv/utils/poc.py
@@ -2,6 +2,9 @@
import warnings
+import numpy as np
+import pandas as pd
+
from sdv.errors import InvalidDataError
from sdv.metadata.errors import InvalidMetadataError
from sdv.mult... | 5 | 5 | 2 | [{"id": "G0", "claim": "The new function sits in sdv.utils.poc, but the issue says it should be importable through sdv.utils, so place or export it so that `from sdv.utils import get_random_sequence_subset` works.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
sdv-dev__SDV__2127 | sdv-dev/SDV | 2,127 | defect | 249ca109a51575b079d228205b30679b6ba44c33 | 84ec622b801019f1a6c8cc9c06f23424b8203be9 | Context metadata adjusted for the transformed datetime sdtype | resolves #1485
CU-85ztdkk6d
Since this datetime is being read incorrectly to the context model there are were a couple approaches:
- Do not transform the column before it gets to context synthesizer (unfortunately this causes errors when trying to map the context synthesizer values in the par model)
- Update t... | diff --git a/sdv/sequential/par.py b/sdv/sequential/par.py
index 87cf77449..79dcb4336 100644
--- a/sdv/sequential/par.py
+++ b/sdv/sequential/par.py
@@ -73,6 +73,9 @@ def _get_context_metadata(self):
for column in context_columns:
context_columns_dict[column] = self.metadata.columns[column]
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "A check should be added to confirm the datetime context column has actually been converted to float before changing its sdtype to numerical.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sdv-dev__SDV__2135 | sdv-dev/SDV | 2,135 | defect | 249ca109a51575b079d228205b30679b6ba44c33 | 27e46c2f96e58356c34879097cf40bbaebea054f | Add Metadata Class | resolves #2104
CU-86b147dh4
Adds metadata class that inherits `MultiTableMetadata` for backward compatibility and adds tests to confirm it works fine. | diff --git a/sdv/metadata/metadata.py b/sdv/metadata/metadata.py
new file mode 100644
index 000000000..76afc10d9
--- /dev/null
+++ b/sdv/metadata/metadata.py
@@ -0,0 +1,89 @@
+"""Metadata."""
+
+from pathlib import Path
+
+from sdv.metadata.errors import InvalidMetadataError
+from sdv.metadata.multi_table import MultiT... | 5 | 5 | 1 | [{"id": "G0", "claim": "The ``is_multi_table`` docstring should be reworded to \"Check if metadata is for multi_table data.\" instead of the current wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ``load_from_json`` Returns docstring s... | null |
sdv-dev__SDV__2161 | sdv-dev/SDV | 2,161 | defect | a0e0a76c23c644145b223c7b5ede4a21b31238a0 | 7ddcf420be7bf8caa9616a1932513e91c9dbd984 | Primary keys may not be unique for variable length regexes | resolves #2116
CU-86b17dk49 | diff --git a/sdv/_utils.py b/sdv/_utils.py
index 9138dbcce..3ec466537 100644
--- a/sdv/_utils.py
+++ b/sdv/_utils.py
@@ -10,10 +10,16 @@
import pandas as pd
from pandas.core.tools.datetimes import _guess_datetime_format_for_array
+from rdt.transformers.utils import _GENERATORS
from sdv import version
from sdv.e... | 3 | 2 | 0 | [{"id": "G0", "claim": "Rename the test method `test_validate_int_primary_key_regex_starts_with_0` to spell out `zero` instead of using the digit `0`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The int-regex zero-prefix validation should hap... | null |
sdv-dev__SDV__2172 | sdv-dev/SDV | 2,172 | defect | fb2c2d587f15d68c6965b95d22e2f75c49ae212f | f22d815454d0ec0ebfd32bf77b75306ee7f70b85 | Deprecate MultiTableMetadata in favor for Metadata | resolves https://github.com/sdv-dev/SDV/issues/2129
CU-86b19awxk | diff --git a/sdv/multi_table/base.py b/sdv/multi_table/base.py
index 15d5eb1d2..0966c71f3 100644
--- a/sdv/multi_table/base.py
+++ b/sdv/multi_table/base.py
@@ -27,9 +27,14 @@
)
from sdv.logging import disable_single_table_logger, get_sdv_logger
from sdv.metadata.metadata import Metadata
+from sdv.metadata.multi_tab... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring of test_single_table_compatibility misspells the class as 'SingleMetadataTable' and should read 'SingleTableMetadata'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2175 | sdv-dev/SDV | 2,175 | defect | ade632730c421a284e1da11d8cb1b8d341d5eac2 | 101a8c0d71ebbaa5082ef67485be2d997fd696c3 | Enable demos are using the new metadata | resolves #2131
CU-86b19awwy
`download_demo` should now download the json and store into `Metadata` object. New metadata is downloaded as `metadata_v2.json` but kept a check path `metadata_v1.json` just in case I missed any zip files. | diff --git a/sdv/data_processing/data_processor.py b/sdv/data_processing/data_processor.py
index 82fb33200..08a6ab5b5 100644
--- a/sdv/data_processing/data_processor.py
+++ b/sdv/data_processing/data_processor.py
@@ -24,6 +24,7 @@
from sdv.data_processing.numerical_formatter import NumericalFormatter
from sdv.data_pr... | 5 | 4 | 0 | [{"id": "G0", "claim": "The isinstance(Metadata) conversion branch added to DataProcessor.__init__ is unnecessary because the metadata is passed directly to the data processor, so that situation should never occur.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
sdv-dev__SDV__2190 | sdv-dev/SDV | 2,190 | defect | 28b6d775a312b58b43ed5023f1618f5b735b7a0f | 4615fa1d2508e0e2de255eab7894d297510a13bf | Add `data` parameter to `_detect_relationships` method | CU-86b0zfny6, Resolve https://github.com/datacebo/SDV-Enterprise/issues/643. | diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py
index cd113a96f..7de3f9465 100644
--- a/sdv/metadata/multi_table.py
+++ b/sdv/metadata/multi_table.py
@@ -497,8 +497,14 @@ def _validate_all_tables_connected(self, parent_map, child_map):
f'The relationships in the dataset are disjo... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add the data to the dict inside the existing for loop instead of building it with a separate dict comprehension.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the _load_from_csv util and load each CSV only once, dete... | null |
sdv-dev__SDV__2293 | sdv-dev/SDV | 2,293 | defect | 3115f6e9b29212c4f175a8b89b1b895ff622d7d6 | 303afac439e1a58f624872f59c9c4984c234a343 | Implement datetime downcasting for accurate column comparison in constraints | Resolves #2275
CU-86b2q1p22 | diff --git a/sdv/constraints/tabular.py b/sdv/constraints/tabular.py
index af7116899b..0386de004e 100644
--- a/sdv/constraints/tabular.py
+++ b/sdv/constraints/tabular.py
@@ -50,6 +50,7 @@
get_datetime_diff,
get_mappable_combination,
logit,
+ match_datetime_precision,
matches_datetime_format,
... | 4 | 3 | 1 | [{"id": "G0", "claim": "The match_datetime_precision docstring should read \"to the lower precision format\" instead of the redundant \"to match the lower precision format\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The helper downcast_datet... | null |
sdv-dev__SDV__2295 | sdv-dev/SDV | 2,295 | defect | 20c1f2844aab3420be61dd7d7af9c05128819515 | 5f9b5d7ed10d5df5ae86904f02ccd69f52bb086e | Incorrect column name ordering for Multi-Table Synthesizer | CU-86b2t3nd6
Resolve #2280
I tested that everything works on SDV-Enterprise, backward compatibility, and CAGs | diff --git a/sdv/multi_table/base.py b/sdv/multi_table/base.py
index 897189483..e8cea291e 100644
--- a/sdv/multi_table/base.py
+++ b/sdv/multi_table/base.py
@@ -341,14 +341,18 @@ def update_transformers(self, table_name, column_name_to_transformer):
def _store_and_convert_original_cols(self, data):
list_o... | 2 | 2 | 0 | [{"id": "G0", "claim": "Instead of setting the `_original_metadata` attribute in `sample`, the code should just use `self.get_metadata`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `test_column_order` test should be an integration test, not a ... | null |
sdv-dev__SDV__2332 | sdv-dev/SDV | 2,332 | defect | fc3582dc8366f68a2d6a4aa35c17e9498fa7e2e6 | 913864d98715cb35f7627893ac2567c318689aab | Sampling with HMA Synthesizer generates many `SingleTableMetadata` deprecation warnings | CU-86b2v1h3b
Resolve #2290 | diff --git a/sdv/multi_table/hma.py b/sdv/multi_table/hma.py
index 97bc79d98b..b0c2cd4b6c 100644
--- a/sdv/multi_table/hma.py
+++ b/sdv/multi_table/hma.py
@@ -1,6 +1,7 @@
"""Hierarchical Modeling Algorithms."""
import logging
+import warnings
from collections import defaultdict
from copy import deepcopy
@@ -552... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test name and its docstring misspell 'depreciation' where 'deprecation' is meant; fix the same typo in both.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2347 | sdv-dev/SDV | 2,347 | defect | 075cdffecae62c103ff4f93d32e54f10fb064945 | f640e588a74cdb7fb65d138a60a710b865c1b93f | Fix: `PARSynthesizer` not being able to conditionally sample with date time as context | Resolves #2187
CU-86b1pxjbd | diff --git a/sdv/sequential/par.py b/sdv/sequential/par.py
index 0dbd286561..789401303d 100644
--- a/sdv/sequential/par.py
+++ b/sdv/sequential/par.py
@@ -76,6 +76,9 @@ def _get_context_metadata(self):
for column in context_columns:
context_columns_dict[column] = self.metadata.columns[column]
+ ... | 3 | 2 | 0 | [{"id": "G0", "claim": "Questions why the PR transforms datetime context columns itself instead of skipping them like every other sdtype, and whether PAR can handle transforming the datetimes itself.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Requests ... | null |
sdv-dev__SDV__2422 | sdv-dev/SDV | 2,422 | defect | 6e18d29a6a355f48d6d10434158099f3ff728a52 | bb6b4ec31d18d3a0dc8660fd89de7397675c6ee9 | Store metadata as `Metadata` for `BaseSynthesizer` | CU-86b48qdxh, Resolve #2445 | diff --git a/sdv/metadata/metadata.py b/sdv/metadata/metadata.py
index 4b0af7215..f5b938b1e 100644
--- a/sdv/metadata/metadata.py
+++ b/sdv/metadata/metadata.py
@@ -153,6 +153,20 @@ def detect_from_dataframe(
metadata.detect_table_from_dataframe(table_name, data, infer_sdtypes, infer_keys)
return meta... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new `Metadata.validate_data` method is unnecessary; the single-table synthesizers should handle DataFrame input themselves by passing a dictionary instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear why the `... | null |
sdv-dev__SDV__2431 | sdv-dev/SDV | 2,431 | defect | c1acb42aca17c4e085a4c8686deaa5f479d0e66c | 9c607a9c7dd3a1d2d6ec85e1558c3548fa56b5c0 | Allow default transformers to have custom arguments | This PR updates the data processor so that parameters used to instantiate the default transformer for an sdtype are used to create additional instances of the transformer. | diff --git a/sdv/data_processing/data_processor.py b/sdv/data_processing/data_processor.py
index 58f95c780..056e72943 100644
--- a/sdv/data_processing/data_processor.py
+++ b/sdv/data_processing/data_processor.py
@@ -1,5 +1,6 @@
"""Single table data processing."""
+import inspect
import json
import logging
import... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `_get_transformer_kwargs` logic should not be a static method on DataProcessor; move it to `_utils.py` in sdv (if possible) and file issues in RDT and SDV to move the functionality into the transformers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
sdv-dev__SDV__2502 | sdv-dev/SDV | 2,502 | defect | e8921f9e7b49c9dbdd00637de5343ad2cc8d794a | 885e225a73c4c085fae03ff3824d41265d3ae4bf | Update `CSVHandler` to accept additional options when reading and writing | Resolves #2478
CU-86b4r2yh7 | diff --git a/sdv/io/local/local.py b/sdv/io/local/local.py
index 629479310..fdba60f17 100644
--- a/sdv/io/local/local.py
+++ b/sdv/io/local/local.py
@@ -1,6 +1,5 @@
"""Local file handlers."""
-import codecs
import inspect
import os
from pathlib import Path
@@ -9,6 +8,10 @@
from sdv.metadata.metadata import Met... | 1 | 1 | 0 | [{"id": "G0", "claim": "Define the defaults for to_csv_parameters in a list (as is done for the read defaults) even though it currently contains only one parameter, rather than a single hardcoded setdefault.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2516 | sdv-dev/SDV | 2,516 | defect | 7347cc67e04ceda00ef4ed206b09e0b91bc00d90 | 6485f534eaaef1f14b6ee458d5fbb83342b19393 | Add `ProgrammableConstraint` and `ProgrammableSingleTableConstraint` | Resolve #2513 | diff --git a/sdv/cag/__init__.py b/sdv/cag/__init__.py
index 3816f9ff1..01d759ef6 100644
--- a/sdv/cag/__init__.py
+++ b/sdv/cag/__init__.py
@@ -5,6 +5,10 @@
from sdv.cag.inequality import Inequality
from sdv.cag.range import Range
from sdv.cag.one_hot_encoding import OneHotEncoding
+from sdv.cag.programmable_constr... | 3 | 1 | 0 | [{"id": "G0", "claim": "Rename the newly added `_convert_data` helper in sdv/cag/base.py to a name that says what it does, e.g. `convert_data_to_dictionary` or `dataframe_to_dict`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the ... | null |
sdv-dev__SDV__2547 | sdv-dev/SDV | 2,547 | defect | ac0032b54a52f7dadc4614e97ecb59a678f32327 | 0d953cd8e894f00fd7f4d97de6405e1bb6a3c3ef | Detect numerical columns post-preprocessing for PARSynthesizer | CU-86b4tc2jj, Resolve #2482.
This PR also reduces the number of epochs for the PAR integration tests. This speeds up the testing workflow by over 1 min. | diff --git a/sdv/sequential/par.py b/sdv/sequential/par.py
index 975293859b..a08aee5447 100644
--- a/sdv/sequential/par.py
+++ b/sdv/sequential/par.py
@@ -423,11 +423,16 @@ def _fit_sequence_columns(self, timeseries_data):
kind = dtype.kind
if kind in ('i', 'f'):
data_type = '... | 2 | 1 | 0 | [{"id": "G0", "claim": "In _fit_sequence_columns, access the transformers through self.get_transformers() instead of reaching into self._data_processor._hyper_transformer.field_transformers (applied as a suggestion block).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
sdv-dev__SDV__2578 | sdv-dev/SDV | 2,578 | defect | d6a183fa4694e3a640ac42074a774a2d86caa216 | 5e2f85ea608d6bc76d6ba033eb6b9cdfabf5eb5d | Allow `is_valid` to be called on unfit constraints | CU-86b586xqm
Adds metadata as an optional parameter to `is_valid` (and a required parameter to the constraint method `_is_valid`) so that the method can be called on an unfit constraint when running DayZ. | diff --git a/sdv/cag/_utils.py b/sdv/cag/_utils.py
index 72cedaedb7..5a602d262e 100644
--- a/sdv/cag/_utils.py
+++ b/sdv/cag/_utils.py
@@ -106,6 +106,11 @@ def _get_is_valid_dict(data, table_name):
dict:
Dictionary of table names to boolean Series of True values.
"""
+ if table_name is Non... | 3 | 1 | 0 | [{"id": "G0", "claim": "In sdv/cag/_utils.py, the two branches of _get_is_valid_dict should be merged by adding `table_name is None` to the existing `if table != table_name` condition instead of keeping a separate early-return block.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
sdv-dev__SDV__2587 | sdv-dev/SDV | 2,587 | defect | d6a183fa4694e3a640ac42074a774a2d86caa216 | e2db7c18113b95e1dcb3cae7103b90e065419e00 | Improve CAG validation error message | Resolve #2496
CU-86b4v53zt | diff --git a/sdv/cag/_utils.py b/sdv/cag/_utils.py
index 72cedaedb7..8ad213c895 100644
--- a/sdv/cag/_utils.py
+++ b/sdv/cag/_utils.py
@@ -4,6 +4,7 @@
import numpy as np
import pandas as pd
+from sdv._utils import _format_invalid_values_string
from sdv.cag._errors import ConstraintNotMetError
from sdv.errors impo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request updates the error messages only for the inequality and range constraints, leaving the other constraints (e.g. fixed increments, one hot encoding) raising the old row-index messages; the reviewer asks whether those should be updated in this PR as well or done in separate PRs.", "... | null |
sdv-dev__SDV__2591 | sdv-dev/SDV | 2,591 | defect | 3eac48ed1967f98d09211ea957fc75ad22145f14 | c7539daa02921bd3c2da28ebd913b0f6be9afba3 | Fix: Synthesizer failing for timezone aware data | Resolves #2589
CU-86b5frbme | diff --git a/sdv/_utils.py b/sdv/_utils.py
index 081da5440..8b863376d 100644
--- a/sdv/_utils.py
+++ b/sdv/_utils.py
@@ -123,7 +123,7 @@ def _is_boolean_type(value):
def _validate_datetime_format(column, datetime_format):
- """Determine the values of the column that match the datetime format.
+ """Return val... | 1 | 1 | 0 | [{"id": "G0", "claim": "The two fallback tests added by the PR are near-duplicates (differing only in column values) and the reviewer was unsure which case each one checks.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2617 | sdv-dev/SDV | 2,617 | defect | 4c639c7de3a2e3cd6f4c5e3d4507981a36db653e | 1f820d298b7960e9142bcdc9449cceb4a6af40d6 | Add `InterTableCondition` condition class | Resolve #2611
CU-86b5p8nff | diff --git a/sdv/sampling/tabular.py b/sdv/sampling/tabular.py
index 848f85b4c..100496eb1 100644
--- a/sdv/sampling/tabular.py
+++ b/sdv/sampling/tabular.py
@@ -1,5 +1,7 @@
"""SDV Condition class for sampling."""
+from collections import defaultdict
+
import pandas as pd
from sdv.errors import TableNameError
@@ ... | 3 | 3 | 1 | [{"id": "G0", "claim": "Condition.__init__ should validate its parameters: num_rows must be checked to be an integer, and if table_name is defined it must be checked to be a string.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The get_conditions a... | null |
sdv-dev__SDV__2628 | sdv-dev/SDV | 2,628 | defect | ce80f93ca13e14be1e3a7601ec95bc84235340c1 | dcb8fc597e5097dd0d4fc771876ae06e81d49378 | Add ability to specify old transformer behavior for ID columns | CU-86b4jmcwf, Resolve #2450. | diff --git a/sdv/data_processing/data_processor.py b/sdv/data_processing/data_processor.py
index 208b1b500..ca1eba449 100644
--- a/sdv/data_processing/data_processor.py
+++ b/sdv/data_processing/data_processor.py
@@ -55,6 +55,9 @@ class DataProcessor:
Name of table this processor is for. Optional.
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `id_columns_use_old_behavior` parameter should default to `None` instead of a mutable empty list, with the empty list assigned later in the logic (e.g. `id_columns_use_old_behavior = id_columns_use_old_behavior or []`).", "category": "maintainability", "verdict": "supported", "priority": "P2... | null |
sdv-dev__SDV__2657 | sdv-dev/SDV | 2,657 | defect | bca136e5d653a922a50f2a91cc2f090d73416c80 | 94eb4db33dfe53e432ba96af14ef3f372a444462 | Ensure OneHotEncoding creates floating point numbers | CU-86b695bp4, Resolve #2649. | diff --git a/sdv/cag/one_hot_encoding.py b/sdv/cag/one_hot_encoding.py
index 5873bb533..896861001 100644
--- a/sdv/cag/one_hot_encoding.py
+++ b/sdv/cag/one_hot_encoding.py
@@ -11,6 +11,8 @@
)
from sdv.cag.base import BaseConstraint
+EPSILON = float(np.finfo(np.float32).eps)
+
class OneHotEncoding(BaseConstraint... | 5 | 3 | 2 | [{"id": "G0", "claim": "_get_updated_metadata should not modify the input metadata in place; it should deepcopy it before the assignment, or build and return a new metadata object.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The same sdtype-updat... | null |
sdv-dev__SDV__2673 | sdv-dev/SDV | 2,673 | defect | 1705ceda5d146fc1c9118d83d00618a4dd8d951a | 50110cb469587305501b46e4c41cb65f2a5a024e | Add `get_source` and `get_readme` functions for demo datasets | CU-86b6fugf3 , Resolve #2663. | diff --git a/sdv/datasets/demo.py b/sdv/datasets/demo.py
index 5142679d05..2446296827 100644
--- a/sdv/datasets/demo.py
+++ b/sdv/datasets/demo.py
@@ -4,7 +4,6 @@
import json
import logging
import os
-import warnings
from collections import defaultdict
from pathlib import Path
from zipfile import ZipFile
@@ -12,1... | 2 | 2 | 2 | [{"id": "G0", "claim": "The silent failure paths in `_get_text_file_content` — no matching key found, an exception fetching from the bucket, and an exception writing the output file — should log instead of returning None or passing silently.", "category": "maintainability", "verdict": "supported", "priority": "P1", "sc... | null |
sdv-dev__SDV__2680 | sdv-dev/SDV | 2,680 | defect | 64824470b55a3dff52b4bf2317b082633b926b7c | 1748ef58cc43b08a3a5b03f5699b91f68f4e8e27 | When using PyTorch, enable GPU usage for MacOS | Resolve #2672
CU-86b6m8uuw | diff --git a/pyproject.toml b/pyproject.toml
index 11afecaa9..0f84435fa 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,8 +36,8 @@ dependencies = [
"pandas>=2.2.3;python_version>='3.13'",
'tqdm>=4.29',
'copulas>=0.12.1',
- 'ctgan>=0.11.0',
- 'deepecho>=0.7.0',
+ 'ctgan @ git+https://gith... | 3 | 3 | 3 | [{"id": "G0", "claim": "The tests slow down noticeably with this pull request, and the author profiled and updated the slow tests (e.g. reduced sample counts in tests/integration/sequential/test_par.py) so the suite runs in a reasonable time.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "... | null |
sdv-dev__SDV__2697 | sdv-dev/SDV | 2,697 | defect | 1705ceda5d146fc1c9118d83d00618a4dd8d951a | 8eea62c125b6b0c0afdaf58488075dcca7c9fc3e | download_demo failing when output_folder_path is set | CU-86b6xnx26, Resolve #2687. | diff --git a/sdv/datasets/demo.py b/sdv/datasets/demo.py
index 5142679d0..f3211727c 100644
--- a/sdv/datasets/demo.py
+++ b/sdv/datasets/demo.py
@@ -12,15 +12,16 @@
import boto3
import numpy as np
import pandas as pd
+import yaml
from botocore import UNSIGNED
from botocore.client import Config
-from botocore.excep... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new DemoResourceNotFoundError raised when metadata JSON fails to parse should be covered by a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sdv-dev__SDV__2709 | sdv-dev/SDV | 2,709 | defect | ae6e1c01a9b4d06bbc13868071a3ec36c5ed2d33 | 18194a0ba0d7d097343b94912c9459b51f889f65 | [DayZ Parameters] 'missing_values_proportion' should not be valid for any key columns | Resolve #2708 | diff --git a/sdv/single_table/_dayz_utils.py b/sdv/single_table/_dayz_utils.py
index d6e73438d..320411eac 100644
--- a/sdv/single_table/_dayz_utils.py
+++ b/sdv/single_table/_dayz_utils.py
@@ -69,7 +69,7 @@ def detect_column_parameters(data, metadata, table_name):
}
column_parameters[column_name... | 1 | 1 | 0 | [{"id": "G0", "claim": "The error message for key columns should read \"must have 'missing_values_proportion' parameter set to zero.\" instead of \"... parameter be zero.\"", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2715 | sdv-dev/SDV | 2,715 | defect | ae6e1c01a9b4d06bbc13868071a3ec36c5ed2d33 | eb252ea17c0291589864f90944d006e06aec433e | [DayZ Parameters] Make create_parameters use a fall back to default parameters if parameters cannot be detected | CU-86b6yznjz, Resolve #2702. | diff --git a/sdv/single_table/_dayz_utils.py b/sdv/single_table/_dayz_utils.py
index d6e73438db..e491679a78 100644
--- a/sdv/single_table/_dayz_utils.py
+++ b/sdv/single_table/_dayz_utils.py
@@ -18,6 +18,79 @@ def detect_table_parameters(data):
return {'num_rows': len(data)}
+def _compute_missing_values_propor... | 2 | 2 | 1 | [{"id": "G0", "claim": "The docstring of test_create_parameters_all_null_categorical_column should say that an all-null categorical column should not have the category_values key parameter instead of saying it should produce empty category_values.", "category": "documentation", "verdict": "supported", "priority": "P2",... | null |
sdv-dev__SDV__2723 | sdv-dev/SDV | 2,723 | defect | ae6e1c01a9b4d06bbc13868071a3ec36c5ed2d33 | 2fe0f825c250064a6ac1f6d9383ece08438200f3 | Unable to load the DayZSynthesizer after saving it | Resolve #2698
CU-86b6yk3tb
Tested on Enterprise and it worked:
<img width="663" height="296" alt="Screenshot 2025-10-15 at 15 14 24" src="https://github.com/user-attachments/assets/928bae21-dd53-4501-911f-9222c3ce8f72" />
| diff --git a/sdv/_utils.py b/sdv/_utils.py
index 0fa13fa33f..f64dae0fe9 100644
--- a/sdv/_utils.py
+++ b/sdv/_utils.py
@@ -273,7 +273,7 @@ def check_sdv_versions_and_warn(synthesizer):
"""
current_community_version = getattr(version, 'community', None)
current_enterprise_version = getattr(version, 'enter... | 1 | 1 | 0 | [{"id": "G0", "claim": "The guard in check_sdv_versions_and_warn should use a generic `getattr` instead of hardcoding a 'DayZSynthesizer' class-name check, so the fix also covers any new synthesizer that hits the same problem.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2737 | sdv-dev/SDV | 2,737 | defect | 7a3a902519afb8b8d1182bee2395a26b5cfe812d | 2855e40b1fd086539eb89855f0f66548a5457665 | Ensure `datetime_format` warning is only raised once | CU-86b79j1b3, Resolve #2739
Resolve https://github.com/datacebo/SDV-Enterprise/issues/1569 | diff --git a/sdv/metadata/single_table.py b/sdv/metadata/single_table.py
index fc396def5..6f0e1aaa9 100644
--- a/sdv/metadata/single_table.py
+++ b/sdv/metadata/single_table.py
@@ -1296,6 +1296,7 @@ def validate_data(self, data, sdtype_warnings=None):
A warning is being raised if ``datetime_format`` is mis... | 3 | 3 | 2 | [{"id": "G0", "claim": "The comment added in _initialize_models misspells 'suppress' as 'suppres' and should be corrected as suggested.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A regression test should be added for this change, which current... | null |
sdv-dev__SDV__2748 | sdv-dev/SDV | 2,748 | defect | 526cd121a6b20168396c570f1593d86fbd07d69b | 51b033e4707a973d9cb92b7a1b678eacd6f5aa02 | Add bucket and credentials parameter to download_demo | resolves #2747 | diff --git a/sdv/datasets/__init__.py b/sdv/datasets/__init__.py
index cd82c4f8fe..c0d4eecf36 100644
--- a/sdv/datasets/__init__.py
+++ b/sdv/datasets/__init__.py
@@ -1 +1,5 @@
"""Dataset loading and managing module."""
+
+from sdv.datasets import demo, local
+
+__all__ = ['demo', 'local']
diff --git a/sdv/datasets/de... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstrings across the module document the credentials parameter as str, but it is a dict.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sdv-dev__SDV__2759 | sdv-dev/SDV | 2,759 | defect | 1821a16d8ec0c137625a4f12d59f8ef9c84390b5 | 9f133a5e7912f6384af213a8663c3ba99a848f15 | [PrivateDatasets] Add a function to handle errors more descriptively | Resolves #2757
CU-86b7rjwyq | diff --git a/pyproject.toml b/pyproject.toml
index 776c0bfa8..dff6cf535 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -219,7 +219,6 @@ ignore = [
# pydocstyle
"D107", # Missing docstring in __init__
"D417", # Missing argument descriptions in the docstring, this is a bug from pydocstyle: https://... | 3 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks why the pull request removed the `PD901` entry from the ruff ignore list in pyproject.toml.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new decorator catches only `botocore.exceptions.ClientError`, ... | null |
sdv-dev__SDV__2786 | sdv-dev/SDV | 2,786 | defect | 379d31962564723d98838d129505e9df0ecca22d | afda4c0eea9411b36ec717c2019f1ddecacd33ff | When reading in CSV data, do not cut off any leading 0s | CU-86b85x0qf, Resolve #2780 | diff --git a/sdv/io/local/local.py b/sdv/io/local/local.py
index 79bdbd4e6..589253e95 100644
--- a/sdv/io/local/local.py
+++ b/sdv/io/local/local.py
@@ -61,7 +61,51 @@ class CSVHandler(BaseLocalHandler):
def __init__(self):
pass
- def read(self, folder_name, file_names=None, read_csv_parameters=None)... | 3 | 2 | 1 | [{"id": "G0", "claim": "The test DataFrames should specify explicit dtypes so the expected column types are pinned down.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the leading-zero handling works with padded integers (space... | null |
sdv-dev__SDV__2789 | sdv-dev/SDV | 2,789 | defect | 6f05c1f2ee2d3e9a788ceabca15260b08db48f98 | 2047562201f0f1bd584b66b71817095dee31b739 | Allow composite keys to be specified in the metadata | Resolve #2778 | diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py
index 923642f18..e04ea30c0 100644
--- a/sdv/metadata/multi_table.py
+++ b/sdv/metadata/multi_table.py
@@ -183,9 +183,14 @@ def _validate_new_foreign_key_is_not_reused(
and relationship['parent_primary_key'] == parent_primary_key
... | 4 | 2 | 1 | [{"id": "G0", "claim": "Since these four lines are common, could they be put into a function (extract the duplicated per-key normalisation into a helper)?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "With this change, do we need to worry about... | null |
sdv-dev__SDV__2814 | sdv-dev/SDV | 2,814 | defect | 9d61cb673a98a0d5bec93aaf20f0770962ff0ba6 | 085beaae0bae235cdb51fdd2c642a0c04e956ed5 | Stop metadata's `remove_column` from removing unexpected relationships | CU-86b8jf8ft, Resolve #2813 | diff --git a/sdv/metadata/metadata.py b/sdv/metadata/metadata.py
index 6e77b1489..f8318e5fc 100644
--- a/sdv/metadata/metadata.py
+++ b/sdv/metadata/metadata.py
@@ -335,6 +335,22 @@ def _remove_matching_relationships(self, element, keys):
self.relationships = updated_relationships
+ def _remove_column_r... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename `_remove_column_relationships` to `_remove_relationships_by_column`, and possibly also rename `_remove_matching_relationships` to `_remove_relationships_by_table`, because a `column_relationship` is a distinct concept and the intended use of each helper is unclear.", "category": "maintain... | null |
sdv-dev__SDV__2827 | sdv-dev/SDV | 2,827 | defect | deddb25f0e29729bacc89d91c202e64b2fba0d5f | 53a0454bbd053da38f0a402f177185f5258e5d4c | [Metadata] Raise a warning if the metadata and data columns differ. | Resolves #2822
CU-86b8mey9j | diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py
index 99aed6443..9550356db 100644
--- a/sdv/metadata/multi_table.py
+++ b/sdv/metadata/multi_table.py
@@ -835,11 +835,14 @@ def _validate_all_tables(self, data):
"""Validate every table of the data has a valid table/metadata pair."""
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The variable name `tables_with_missmatching_columns_order` misspells \"mismatching\" and should be corrected.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docstring \"when columns miss match\" misspells \"mismatch\"... | null |
sdv-dev__SDV__2835 | sdv-dev/SDV | 2,835 | defect | 9c67fa0278a27357656d2bdaae65ddff39e6080c | 6c23f5dc93b4d5db16a4db7151d3baa92e543356 | Add support for auto-detect when a primary key is also a foreign key in Metadata | - Fixes #2788
- This PR adds tests to verify that primary to primary key relationships can be detected and includes docstring fixes.
- Previously, the primary key was excluded from the column name match via the metadata validation. However, once the metadata validation was updated to allow PK to PK, this enforceme... | diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py
index 5ea9562c3..2a5fdff00 100644
--- a/sdv/metadata/multi_table.py
+++ b/sdv/metadata/multi_table.py
@@ -536,6 +536,9 @@ def _validate_all_tables_connected(self, parent_map, child_map):
def _detect_foreign_keys_by_column_name(self, data):
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Reorder the keys of the expected-relationship dict in the no-cycles test ('parent_table_name', 'child_table_name', 'child_foreign_key', 'parent_primary_key') for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
sdv-dev__SDV__2840 | sdv-dev/SDV | 2,840 | defect | affa5cdc7abe3d08f9e8b7cc5d172a0a04accb08 | 8a7b3b1119d40a555570b1b3c7111a6aa8d4d413 | [Metadata - CompositeKeys] Validate that primary key columns are unique | Resolves #2825
CU-86b8n8h1h | diff --git a/pyproject.toml b/pyproject.toml
index e920e5268..50dd575d7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -202,6 +202,7 @@ exclude = [
"*.ipynb",
".ipynb_checkpoints",
"tasks.py",
+ "*.md",
]
[tool.ruff.lint]
diff --git a/sdv/_utils.py b/sdv/_utils.py
index 0407ec926..1d5c983e1 1... | 3 | 2 | 0 | [{"id": "G0", "claim": "The multiple-duplicates test should also add a 'column_c' column so the test verifies that a unique column does not appear in the reported duplicates list.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of test_vali... | null |
sdv-dev__SDV__2844 | sdv-dev/SDV | 2,844 | defect | 0cbeba175813a6509bb726174f6fc3bb8956a6a7 | 553bbf343f37032936f2bafe82217180c93acb4b | [CompositeKeys] Fix: Typo in the error message | Resolves #2823
CU-86b8n8h1e | diff --git a/sdv/metadata/single_table.py b/sdv/metadata/single_table.py
index 5a1d7c5ff..80cc580d4 100644
--- a/sdv/metadata/single_table.py
+++ b/sdv/metadata/single_table.py
@@ -803,6 +803,9 @@ def _validate_keys_sdtype(self, keys, key_type):
bad_keys.append(key)
if bad_keys:
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Composite keys can be a tuple as well, so the check on bad_keys[0] should not test for list only.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sdv-dev__SDV__2857 | sdv-dev/SDV | 2,857 | defect | 5b85738576fc67e7be37d66328dab839841db3ff | 769e6c643fac93e4808764ee9587f22aa91939b4 | Fix out of range datetimes with Inequality constraint | - Fixes #2855 | diff --git a/sdv/cag/base.py b/sdv/cag/base.py
index 2bc2b539d..9f6189ae0 100644
--- a/sdv/cag/base.py
+++ b/sdv/cag/base.py
@@ -7,6 +7,9 @@
import pandas as pd
from sdv._utils import _format_invalid_values_string
+from sdv.constraints.utils import (
+ cast_to_datetime64,
+)
from sdv.data_processing.datetime_fo... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new integration test skips on pandas < 2.0.0, and the reviewer asks why that conditional skip is necessary.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The per-table `_datetime_min_max_value` state is only initialized when... | null |
sdv-dev__SDV__2858 | sdv-dev/SDV | 2,858 | defect | 5b85738576fc67e7be37d66328dab839841db3ff | c925c4aa77037deb70ec719948f544004b16ae50 | [OneHotEncoding] Rename columns during transformation to fit formatters | Resolves #2856
CU-86b93b5dv
Before the fix:
<img width="1019" height="150" alt="image" src="https://github.com/user-attachments/assets/59bfbdaf-c2df-4970-a61c-7c54dd5ab2fa" />
After the fix:
<img width="1512" height="126" alt="image" src="https://github.com/user-attachments/assets/4e3cd936-29d8-4ce6-a697-93... | diff --git a/sdv/cag/one_hot_encoding.py b/sdv/cag/one_hot_encoding.py
index 9496ba8d2..a9196bec2 100644
--- a/sdv/cag/one_hot_encoding.py
+++ b/sdv/cag/one_hot_encoding.py
@@ -3,6 +3,7 @@
from copy import deepcopy
import numpy as np
+import pandas as pd
from sdv._utils import _create_unique_name
from sdv.cag._... | 5 | 5 | 3 | [{"id": "G0", "claim": "There are 2 return statements calling `_remove_columns_from_metadata` with the same arguments; use just 1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test should also assert the dtype of the OHE columns, since... | null |
sdv-dev__SDV__698 | sdv-dev/SDV | 698 | defect | 721a04a4cf30e8bbc03968fba4b5507bec33b68a | 900165c323b847377580666f715f7938852f7d84 | Fix conditional sampling with custom constraint | If we use conditional sampling and a custom constraint together, we currently get a KeyError from the constraint's transform method. This is expected when we transform the conditions, as it is not the complete table data.
Update the custom constraint to return a `MissingConstraintColumnError` in this case, so that t... | diff --git a/sdv/constraints/tabular.py b/sdv/constraints/tabular.py
index ba448a04d..323596fdb 100644
--- a/sdv/constraints/tabular.py
+++ b/sdv/constraints/tabular.py
@@ -29,6 +29,7 @@
import pandas as pd
from sdv.constraints.base import Constraint, import_object
+from sdv.constraints.errors import MissingConstra... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rewrite the missing-column check as `any(col not in table_data.columns for col in self._columns)` so that it terminates early instead of building the full missing-columns list.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "C... | null |
sdv-dev__SDV__848 | sdv-dev/SDV | 848 | defect | cff76c90a31055783886214dbc65e62f9f60cee1 | 05cd96ea288aa7ff76c4f4971a852af9f7df03ad | Add `create_custom_constraint` method | Resolve #836. | diff --git a/sdv/constraints/__init__.py b/sdv/constraints/__init__.py
index 0aa030383..886b8bc44 100644
--- a/sdv/constraints/__init__.py
+++ b/sdv/constraints/__init__.py
@@ -2,13 +2,13 @@
from sdv.constraints.base import Constraint
from sdv.constraints.tabular import (
- ColumnFormula, CustomConstraint, Fixed... | 5 | 5 | 1 | [{"id": "G0", "claim": "The `TYPE = 'CUSTOM_CONSTRAINT'` string attribute should be replaced with a boolean flag (or an enum) so that logic around it does not depend on knowing the string values.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An integrat... | null |
sdv-dev__SDV__938 | sdv-dev/SDV | 938 | defect | 88d0fe7b0450f134744923a77648d6e2651d9380 | 0f0df9cf124b60b2d28b3bb5f0365244000444b3 | Add `load_json` and `save_json` to `MutliTableMetadata` | Resolve #891. | diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py
index 9802123fd1..1f93b1e3e8 100644
--- a/sdv/metadata/multi_table.py
+++ b/sdv/metadata/multi_table.py
@@ -1,10 +1,12 @@
"""Multi Table Metadata."""
import json
+import warnings
from copy import deepcopy
from sdv.metadata.errors import Inva... | 2 | 2 | 0 | [{"id": "G0", "claim": "The helper that validates and opens a metadata json file should be renamed from `open_path` to something like `read_json`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `validate_path` helper should be renamed and it... | null |
se-edu__addressbook-level3__191 | se-edu/addressbook-level3 | 191 | defect | f0e90698a3c7df7b1e6e7adba29ef7571ccac66c | 81c3cf76716c55d8d2035e428b03c9387b0623de | [#167] Removal of unnecessary catch blocks | Fixes #167
Alternative approach: #186 (Where functionality of the catch blocks is restored)
---
Following issue #167, all IOExceptions are already being handled within `JsonUtil#readJsonFile()`, therefore additional catch blocks as well as throwing of IOExceptions are no longer needed.
This PR moves handli... | diff --git a/src/main/java/seedu/address/MainApp.java b/src/main/java/seedu/address/MainApp.java
index 0187d8c1f..aff889802 100644
--- a/src/main/java/seedu/address/MainApp.java
+++ b/src/main/java/seedu/address/MainApp.java
@@ -10,7 +10,7 @@
import seedu.address.commons.core.Config;
import seedu.address.commons.core... | 5 | 5 | 1 | [{"id": "G0", "claim": "The pull request's commits should be reorganized so that the first commit contains only the mechanical exception rename (plus that class's own javadoc tweak), with the behavioral catch-block removal in a separate second commit.", "category": "design", "verdict": "supported", "priority": "P2", "s... | null |
se-edu__addressbook-level3__197 | se-edu/addressbook-level3 | 197 | defect | 9356ae9bc3dbd387973d13887718c6e23b7cb79a | 5449a82204afb357789cf2761013f716e57dc08d | Standardize #equals(Object) formatting | Partially adapted from [AB4#973](https://github.com/se-edu/addressbook-level4/pull/973/)
To go along with some of the equality checks, some methods and constructors are reevaluated to follow defensive programming by adding suitable null checks.
AB3 has all sorts of #equals(Object) flavors. Some of them are forma... | diff --git a/src/main/java/seedu/address/commons/util/ToStringBuilder.java b/src/main/java/seedu/address/commons/util/ToStringBuilder.java
index d979b9267..d64dfe265 100644
--- a/src/main/java/seedu/address/commons/util/ToStringBuilder.java
+++ b/src/main/java/seedu/address/commons/util/ToStringBuilder.java
@@ -1,5 +1,... | 4 | 2 | 0 | [{"id": "G0", "claim": "The commit message of the pull request's null-check commit contains grammar errors and should be refined (e.g. with chatGPT).", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Null checks like the added requireNonNull(objectNa... | null |
se-edu__addressbook-level3__78 | se-edu/addressbook-level3 | 78 | defect | 96954ffea0e757bcc9c2d05941dcc9f558524f62 | 8eb79c23161bd7cad869ea8c0255c3fe5321aa75 | Missing/incorrect exception handling and error message for validity check of email address format #71 | Fixes #71
| diff --git a/src/main/java/seedu/address/model/person/Email.java b/src/main/java/seedu/address/model/person/Email.java
index a5bbe0b6a..77e74c5b5 100644
--- a/src/main/java/seedu/address/model/person/Email.java
+++ b/src/main/java/seedu/address/model/person/Email.java
@@ -9,23 +9,27 @@
*/
public class Email {
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the one-or-more '+' quantifier onto ALPHANUMERIC_NO_UNDERSCORE so the redundant '+' signs can be dropped from LOCAL_PART_REGEX and DOMAIN_PART_REGEX, making the regex easier to read.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
seL4__microkit__225 | seL4/microkit | 225 | defect | b8cf3094ba08b37198b1943ec832c3a1168f4409 | b8f4fdfc6d0fee10e389b7ae00b8c4d28da52773 | Load invocation numbers from JSON file | Instead of hard-coding invocation numbers, we now
get them from a file generated by the seL4 kernel
build.
Depends on: [bd1c39240944207ef71237f98663acb06cc971f6](https://github.com/seL4/seL4/commit/bd1c39240944207ef71237f98663acb06cc971f6) | diff --git a/build_sdk.py b/build_sdk.py
index 77bf540f9..3942c2b2f 100644
--- a/build_sdk.py
+++ b/build_sdk.py
@@ -416,6 +416,12 @@ def build_sel4(
# Make output read-only
dest.chmod(0o744)
+ invocations_all = sel4_build_dir / "generated" / "invocations_all.json"
+ dest = (root_dir / "board" / board... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a comment saying it is not necessary for SDF parsing above the invocations_map: json!(null) line in the tests.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the Config field invocations_map to invocation_labels ... | null |
seL4__microkit__404 | seL4/microkit | 404 | defect | 23f1f6decbafa35f78a52fc080cccbed0e84bce4 | 95044b3962f2b3c14f18fdfb1b8b7eda9f944d49 | Add support for FPU flag for PDs | In conjunction with https://github.com/seL4/rust-sel4/pull/316 allows for using the `fpu` flag to specify that a PD can be using the FPU. | diff --git a/tool/microkit/src/capdl/builder.rs b/tool/microkit/src/capdl/builder.rs
index c40575871..76604655f 100644
--- a/tool/microkit/src/capdl/builder.rs
+++ b/tool/microkit/src/capdl/builder.rs
@@ -322,6 +322,7 @@ impl CapDLSpecContainer {
prio: 0,
max_prio: 0,
resume: fals... | 5 | 5 | 4 | [{"id": "G0", "claim": "If the FPU is disabled by default, the PR must ship a prominent warning that PD code should be compiled with -mgeneral-regs-only, otherwise users will get crashes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The TCB created for a ... | null |
seL4__microkit__429 | seL4/microkit | 429 | defect | f7a48b40a729071ee97e4ef9844dbe2ab5f19a3b | 9d9b7f868b76a5ae3d254f74879ae3d086fd9bfb | tool: fix memory ranges overlapping checks | Previously, `ranges_overlap()` in `util.rs` returns true if two inclusive ranges overlap. But `builder.rs` was passing half-open ranges which caused the tool to report that two memory regions are overlapping when in reality they were not.
This PR changed ranges_overlap() to work on half-open ranges instead.
An ex... | diff --git a/tool/microkit/src/capdl/builder.rs b/tool/microkit/src/capdl/builder.rs
index c40575871..4f612e2c0 100644
--- a/tool/microkit/src/capdl/builder.rs
+++ b/tool/microkit/src/capdl/builder.rs
@@ -589,17 +589,18 @@ pub fn build_capdl_spec(
// sdf.rs sanity checks that the memory regions doesn't ove... | 3 | 3 | 1 | [{"id": "G0", "claim": "Replace the separate pd_stack_bottom and pd_stack_top calls with a pd_stack_range() function that returns an exclusive range.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the existing elf_seg.excl_range() helper instead of h... | null |
seL4__seL4__1183 | seL4/seL4 | 1,183 | defect | 91ec17c5bf29a4ef8b98b8f9769580b2442eb810 | 767a00a950a6004db41b8d008524fb095a8cf4a7 | gicv3: Use split EOI mode | Separate priority drop from deactivation so that when the kernel
delegates interrupts to userlevel, they can be left in the active state
until user level performs the ack invocation which deactivates them.
This is more efficient than doing a disable and enable operation
for each handled interrupt as it is core loca... | diff --git a/include/arch/arm/arch/machine/gic_v3.h b/include/arch/arm/arch/machine/gic_v3.h
index 933444c5731..175153f70dc 100644
--- a/include/arch/arm/arch/machine/gic_v3.h
+++ b/include/arch/arm/arch/machine/gic_v3.h
@@ -307,14 +307,32 @@ static inline void maskInterrupt(bool_t disable, irq_t irq)
}
}
+stat... | 13 | 6 | 2 | [{"id": "G0", "claim": "Question whether the deactivation in ackInterrupt is necessary at all: could the interrupt just be kept in priority-dropped state and never deactivated?", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cpu_iface_init comment sayin... | null |
seL4__seL4__1200 | seL4/seL4 | 1,200 | defect | a8eebabf58990c00706c0830fe8e3edca2eaf7e4 | eae16b30e4bb07868a00d3ad8664174075cf5700 | vcpu: guard against NULL ptr dereference | The vcpu is not guaranteed to be associated with a TCB at this point, so access to vcpuTCB must be guarded.
Fixes #1199
Test with: https://github.com/seL4/sel4test/pull/114
- [x] update CHANGES | diff --git a/src/arch/arm/object/vcpu.c b/src/arch/arm/object/vcpu.c
index 697c3f270a9..0f7cdb20df6 100644
--- a/src/arch/arm/object/vcpu.c
+++ b/src/arch/arm/object/vcpu.c
@@ -378,8 +378,10 @@ exception_t invokeVCPUInjectIRQ(vcpu_t *vcpu, unsigned long index, virq_t virq)
if (likely(ARCH_NODE_STATE(armHSCurVCPU) ... | 4 | 1 | 0 | [{"id": "G0", "claim": "The pull request should let people know about the fix, at least with an entry in the CHANGES file.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Maybe a better fix would be to check if the vCPU is associated with a TCB and... | null |
seL4__seL4__121 | seL4/seL4 | 121 | defect | 7bf089c5e49b9c9cc8478b9c84e3d52ea4e4a309 | ca4398b38ef3130984479996ba0370a7a5ec2249 | Arm GIC v3 support | This is based off work contributed by @Jesse-Millwood and Dornerworks. The purpose of this PR is to agree on a version of the driver to merge. The additional commits are some small stylistic fixups and some implementation policy changes based on concurrent work by @yyshen. | diff --git a/include/arch/arm/arch/32/mode/machine.h b/include/arch/arm/arch/32/mode/machine.h
index 87ab1448c4f..6612602e0d1 100644
--- a/include/arch/arm/arch/32/mode/machine.h
+++ b/include/arch/arm/arch/32/mode/machine.h
@@ -25,24 +25,6 @@
#include <mode/hardware.h>
#include <kernel/stack.h>
-#define MRC(cpreg,... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment in setIRQTrigger misspells \"changing\" as \"chaning\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The gic_pl390 driver should also be renamed (to match the spec-based naming of the n... | null |
seL4__seL4__1297 | seL4/seL4 | 1,297 | defect | 6b6bb125018cdbb5d0f7050a024da007431582fe | 0f2f972c0ec20a9f5953f67695041a483480dc6c | thread state: abandon replyObject NULL invariant | We no longer guarantee the invariant that the replyObject reference is `NULL` when the thread state is not `BlockedOnReceive` or `BlockedOnReply`.
It is likely that this invariant was true in the kernel so far, but proving it would require a new proof that the reference is already `NULL` for any `setThreadState` to ... | diff --git a/include/fastpath/fastpath.h b/include/fastpath/fastpath.h
index 342fe1db3fc..eec11ffa6b4 100644
--- a/include/fastpath/fastpath.h
+++ b/include/fastpath/fastpath.h
@@ -46,9 +46,11 @@ static inline void cancelIPC_fp(tcb_t *dest)
endpoint_ptr_set_state(ep_ptr, EPState_Idle);
}
- reply_t *r... | 4 | 1 | 0 | [{"id": "G0", "claim": "Asks whether the comment above the new assert (or at least its first part) is still something we would like to say, now that the assert checks the thread state type instead of the reply object.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": ... | null |
seL4__seL4__139 | seL4/seL4 | 139 | defect | 3c896239172a9619e9d082db57c4723e6dff7d9f | 66d97347858f421eaf49895bbb190d467a0e0d87 | 40 bit pa | This is an initial implementation of 40-bit PA support that is mature enough to merge into master. It is based on implementations by @chrisguikema and @yyshen. I've tried my best to minimise invasive changes and make the API clean and less confusing.
I'm still in the process of testing this but I'd like initial fee... | diff --git a/include/arch/arm/arch/64/mode/fastpath/fastpath.h b/include/arch/arm/arch/64/mode/fastpath/fastpath.h
index c249b0c1c83..85a12722dbf 100644
--- a/include/arch/arm/arch/64/mode/fastpath/fastpath.h
+++ b/include/arch/arm/arch/64/mode/fastpath/fastpath.h
@@ -32,7 +32,7 @@ compile_assert(SysReplyRecv_Minus2, S... | 4 | 3 | 2 | [{"id": "G0", "claim": "In Arch_finaliseCap the deleteASID argument should use the VSPACE_PTR macro rather than a raw (vspace_root_t *) cast.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A commit message should say TCR instead of TCLR.", "cate... | null |
seL4__seL4__1404 | seL4/seL4 | 1,404 | defect | 5586c1193c2d394b4fbc47a967fc09994c1108a3 | 117ebacc4099fb12c37e60440f82858115b7c2f1 | arm: avoid saving seL4_VCPUReg_CPACR to a disabled VCPU | Under certain sequences of switches, `seL4_VCPUReg_CPACR` is saved twice to the current VCPU. The value may have changed between saves such that the latter save unintentionally enables EL0/1 FPU access.
1. A thread with an active current VCPU switches to a thread without a VCPU. The current VCPU is disabled.
... | diff --git a/CHANGES.md b/CHANGES.md
index 5f6fc7eeac7..b4c2f82c4ce 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -37,6 +37,18 @@ description indicates whether it is SOURCE-COMPATIBLE, BINARY-COMPATIBLE, or BRE
`set(KernelArmDisableWFIWFETraps ON)`
to your project settings to get the same configuration as before if... | 3 | 3 | 0 | [{"id": "G0", "claim": "The CONFIG_HAVE_FPU guards around CPACR handling should be removed on aarch64, since it is not possible to configure the FPU to be disabled in aarch64 kernel configuration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
seL4__seL4__1435 | seL4/seL4 | 1,435 | defect | 019e4b608f02320f567e32fe09b48423aaeff92f | 2b77634768fc8c508ab43ff0e1171fcb6d05433f | yieldTo: respect kernel reply protocol | This is a continuation of https://github.com/seL4/seL4/pull/846 which explicitly left out `setConsumed` until MCS verification got there. (Which is now).
Before:
- invokeSchedContext_Consumed and invokeSchedContext_YieldTo clobber the message info field in the reply from kernel, which results in a length 0 messag... | diff --git a/include/object/schedcontext.h b/include/object/schedcontext.h
index 3f2a0948c24..27d2a9a4fe9 100644
--- a/include/object/schedcontext.h
+++ b/include/object/schedcontext.h
@@ -9,7 +9,7 @@
#include <api/failures.h>
#include <object/structures.h>
-exception_t decodeSchedContextInvocation(word_t label, ca... | 9 | 5 | 1 | [{"id": "G0", "claim": "A yieldTo invoked without Call still gets a kernel reply, because schedContext_completeYieldTo hardcodes write_msg to true once the original call/no-call information is lost, and the FIXME should be resolved by carrying `call` through (passing it to completeYieldTo, or only setting tcbYieldTo/sc... | null |
seL4__seL4__1440 | seL4/seL4 | 1,440 | defect | 29803c51ca48225604e48c750f6b8d77b8340e01 | 0b1dc4265833ffc812f94a886a66eefa8da81d78 | mcs: refactor reply functions to ease verification | The outermost if statement can be removed in reply_pop because reply_pop is called only in reply_remove, which includes an explicit check for this condition.
The new inline function setThreadStateBlockedOnReply is used within reply_push. | diff --git a/include/kernel/thread.h b/include/kernel/thread.h
index d326ebdff0c..08689ef140e 100644
--- a/include/kernel/thread.h
+++ b/include/kernel/thread.h
@@ -307,5 +307,12 @@ void awaken(void);
/* Place the thread bound to this scheduling context in the release queue
* of periodic threads waiting for budget r... | 8 | 1 | 0 | [{"id": "G0", "claim": "The `assert(call_stack_get_isHead(reply->replyNext))` in `reply_pop` should be dropped, since it is explicitly checked in the `if` just before `reply_pop` is called (or, alternatively, `next_ptr != 0` should also be asserted to document the expected calling context).", "category": "maintainabili... | null |
seL4__seL4__1510 | seL4/seL4 | 1,510 | defect | 09e6c3f5e27607cd6f7854bdc5e87d829c48d500 | 6b5609f3585455609407d097f1ccf13889f35eb6 | verification tweaks for supporting remaining Arm platforms | Small changes for supporting verification on the remaining Arm platforms. After this PR, all Arm platforms are supported by verification.
- add cmake verified configs for `omap3`, `am335c`, and `bcm2837`.
- make HAVE_SET_TRIGGER visible to verification by using `if` instead of `#ifdef` and wrapping it in `config_se... | diff --git a/configs/ARM_am335x_verified.cmake b/configs/ARM_am335x_verified.cmake
new file mode 100755
index 00000000000..d261b7496a1
--- /dev/null
+++ b/configs/ARM_am335x_verified.cmake
@@ -0,0 +1,13 @@
+#!/usr/bin/env -S cmake -P
+#
+# Copyright 2024, Proofcraft Pty Ltd
+#
+# SPDX-License-Identifier: GPL-2.0-only
+... | 4 | 3 | 0 | [{"id": "G0", "claim": "The default setIRQTrigger for non-GIC platforms should not be implemented as halt(), which only increases the binary size for no reason.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new wrapper should be named checkInte... | null |
seL4__seL4__218 | seL4/seL4 | 218 | defect | 96a5894cf3702e74d218f08f44232f7b3a9bb3cb | f5945e5d206eb0de4d11bde9562c117e71f49df4 | MCS Systems changes (Reduction 1) | This PR splits https://github.com/seL4/seL4/pull/217 into changes we are happy to merge and https://github.com/seL4/seL4/pull/220 has changes that still need discussion | diff --git a/src/kernel/sporadic.c b/src/kernel/sporadic.c
index 284c44b8b1c..dc2387df975 100644
--- a/src/kernel/sporadic.c
+++ b/src/kernel/sporadic.c
@@ -323,6 +323,15 @@ void refill_split_check(ticks_t usage)
REFILL_SANITY_END(sc);
}
+
+static bool_t refill_unblock_check_mergable(sched_context_t *sc)
+{
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commit message should be updated to say 'prevent recursion on timeout faults'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
seL4__seL4__242 | seL4/seL4 | 242 | defect | 5362c6b26abc37ed54deee44b9b11db76986630a | 950c2662564abad0478983602bd4a6126983f358 | mcs: add tcb argument to reply_unlink | reply_unlink takes a reply and remove the link between that reply
and its tcb. This link always exists at the call site and the tcb
information is always avaialble, or can be made available.
This commit adds this tcb as an extra argument to aid varification.
Signed-off-by: Miki Tanaka <miki.tanaka@data61.csiro.... | diff --git a/include/object/reply.h b/include/object/reply.h
index 81d6d79eda8..8c3ec5875dd 100644
--- a/include/object/reply.h
+++ b/include/object/reply.h
@@ -11,12 +11,12 @@
#include <object/structures.h>
/* Unlink a reply from its tcb */
-static inline void reply_unlink(reply_t *reply)
+static inline void reply... | 1 | 1 | 1 | [{"id": "G0", "claim": "Avoid changing the signatures of reply_pop and reply_remove to take an extra tcb argument if that can be avoided, because from an API perspective it is confusing: the signature of the function implies you can pass a tcb and reply that are unlinked (while accepting it is fine to add the argument ... | null |
seL4__seL4__307 | seL4/seL4 | 307 | defect | fd7a848b59b55a7865439028879c61dc803fc471 | 395e7ecba112490a617394e861060c95e4b58fcf | pc99: Add CONFIG_PC99_TSC_FREQUENCY config option | This option allows a static definition of the TSC frequency. This allows
a kernel to use a known value if the platform doesn't provide access to
an appropriate MSR for reading it during startup. If this config is set,
the kernel won't try and estimate the TSC frequency by running the PIT
for 200ms during startup.
... | diff --git a/src/plat/pc99/config.cmake b/src/plat/pc99/config.cmake
index bf8734f5f1a..2326e0e25f4 100644
--- a/src/plat/pc99/config.cmake
+++ b/src/plat/pc99/config.cmake
@@ -44,3 +44,13 @@ add_bf_source_old(
"include/plat/pc99/plat/32"
"plat_mode/machine"
)
+
+config_string(
+ KernelPC99TSCFrequency PC... | 1 | 1 | 0 | [{"id": "G0", "claim": "The config help string should say that CONFIG_PC99_TSC_FREQUENCY is in units of Hz, since the configured value is in Hz while tsc_init returns MHz.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
seL4__seL4__324 | seL4/seL4 | 324 | defect | 2326dc7b96b9c783ee2eb40dcb8301c93e5f6369 | 29f1bc9af67dcb9c42ca9dca0e4de636744ca81c | Dornerworks x64 VM | This PR contains commits from Dornerworks' x64 VM patch for the kernel: https://github.com/dornerworks/seL4/tree/open_source_release. | diff --git a/src/arch/x86/config.cmake b/src/arch/x86/config.cmake
index f6cbfc947f4..45b5f0aa329 100644
--- a/src/arch/x86/config.cmake
+++ b/src/arch/x86/config.cmake
@@ -62,7 +62,7 @@ config_choice(
)
config_option(
- KernelUseLogcalIDs USE_LOGCAL_IDS
+ KernelUseLogicalIDs USE_LOGICAL_IDS
"Use logical... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks whether the pre-existing use-logical-IDs feature could be queried with CPUID instead of being a manual build-time config option.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G5", "claim": "The '// Now do the vmresume' comme... | null |
seL4__seL4__337 | seL4/seL4 | 337 | defect | 7749b33589711541963d960a5d011fee721b490e | 5e5d60b7ffcd79f8d844a4ce4021651dfa23f398 | Rename MAX_BUDGET to MAX_PERIOD | As this variable bounds both the period and the budget and the period itself bounds the budget, the name for this variable would be more appropriately named 'MAX_PERIOD'.
@michaelmcinerney originally requested this change. | diff --git a/config.cmake b/config.cmake
index 183e2597ee0..c99b179c2c1 100644
--- a/config.cmake
+++ b/config.cmake
@@ -454,7 +454,7 @@ config_string(
)
config_string(
- KernelStaticMaxBudgetUs KERNEL_STATIC_MAX_BUDGET_US
+ KernelStaticMaxPeriodUs KERNEL_STATIC_MAX_PERIOD_US
"Specifies a static maximum ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Renaming the KernelStaticMaxBudgetUs configuration option is effectively an API-breaking change if the configuration API is considered part of the API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
seL4__seL4__378 | seL4/seL4 | 378 | defect | db7bb413146f2a302579ff796507c059e25d22b1 | a7a2497632e2ff4b0a18ed65115015b12254bb4d | Add support for GICv3 virtualization on aarch64 | This adds sufficient kernel support for the GICv3 interrupt controller
to be used in a virtualization context on aarch64.
This set of changes has some limitations, however it is still an
improvement on the status quo.
Limitations:
1: This only provides support for aarch64. Anyone wanting support
for aarch32... | diff --git a/include/arch/arm/arch/64/mode/object/structures.bf b/include/arch/arm/arch/64/mode/object/structures.bf
index 847285f76b8..219ee372624 100644
--- a/include/arch/arm/arch/64/mode/object/structures.bf
+++ b/include/arch/arm/arch/64/mode/object/structures.bf
@@ -366,6 +366,46 @@ block ttbr {
}
#ifdef CONF... | 4 | 3 | 0 | [{"id": "G0", "claim": "The VGIC helper macros added to gic_v3.h duplicate the ones in gic_v2.h and should be put in gic_common.h instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the GICv3 code supports a maximum of 16 list register... | null |
seL4__seL4__409 | seL4/seL4 | 409 | defect | 7a9cf4de10d20b27a932b4633099e536e9f2e7e2 | 5665e2ce6504ea6265c5788d2222de4e44378453 | Assume seperate distinct kernel ELF mapping on all platforms | This updates the code such that it assumes that the kernel ELF is not accessed via the physical memory window and instead has a dedicated region into which it is mapped. This has the most noticeable impact for aarch32 which has a verified configuration that *does* access the kernel via the physical memory window.
Th... | diff --git a/include/arch/arm/armv/armv7-a/armv/context_switch.h b/include/arch/arm/armv/armv7-a/armv/context_switch.h
index b952dce083f..73dee245e8f 100644
--- a/include/arch/arm/armv/armv7-a/armv/context_switch.h
+++ b/include/arch/arm/armv/armv7-a/armv/context_switch.h
@@ -38,7 +38,7 @@ static inline void armv_conte... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new comment on addrFromKPPtr should read \"a reference to an address from the kernel ELF mapping\", fixing the missing word \"an\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new helper addrFromKPPtr should be r... | null |
seL4__seL4__701 | seL4/seL4 | 701 | defect | f94888a6887fce7e321e126aa36bba2ae5f922ee | e9f2fc9f67e6be219596c5b81b99d825e78e25ab | SMC Capability | Add a new capability which certain threads can invoke so seL4 can make SMC calls on ARM platforms in EL2 (virtualized mode) on the thread’s behalf.
See https://sel4.atlassian.net/browse/RFC-9 | diff --git a/include/arch/arm/arch/64/mode/model/statedata.h b/include/arch/arm/arch/64/mode/model/statedata.h
index 163c4d05cc4..2ee2cbf22e9 100644
--- a/include/arch/arm/arch/64/mode/model/statedata.h
+++ b/include/arch/arm/arch/64/mode/model/statedata.h
@@ -16,6 +16,10 @@
#include <arch/object/smmu.h>
#endif
+#i... | 17 | 11 | 5 | [{"id": "G0", "claim": "The documentation should state that this only works for SMC calls that follow the SMC calling convention.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ALLOW_SMC_CALLS option probably also needs to enable the option th... | null |
seL4__seL4__969 | seL4/seL4 | 969 | defect | d14d6c213901c2c2da6acd0bc8d8af132fdb4ae3 | 4c298adff04091e154af2e1fe73ac3f53a69aa0f | Rocketchip bug fixes + zcu102 softcore | This PR does two things:
1. Differentiates the base Rocketchip platform with a version generated for the ZCU102 FPGA fabric
2. Fixes bugs we encountered running on the softcore implementation
We tested this with the VMM created by @yyshen | diff --git a/include/arch/riscv/arch/64/mode/object/structures.bf b/include/arch/riscv/arch/64/mode/object/structures.bf
index 208243488e3..a8695fcaa69 100644
--- a/include/arch/riscv/arch/64/mode/object/structures.bf
+++ b/include/arch/riscv/arch/64/mode/object/structures.bf
@@ -46,6 +46,21 @@ block page_table_cap {
... | 10 | 9 | 2 | [{"id": "G0", "claim": "Add a verbose comment explaining why the 8-byte padding in common_riscv.lds is needed on these platforms.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The QEMU-bug workaround's guard should use explicit QEMU platform chec... | null |
seachicken__gh-poi__145 | seachicken/gh-poi | 145 | defect | b10ee71e24bccc7905c3a575e449ac841d1f9588 | c4439425e720b35f12f7de2831583562e1156d3b | Rename command from protect to lock | Rename the command to make it easier to understand.
- Use a name like gh or git (e.g., [gh pr lock/unlock](https://cli.github.com/manual/gh_pr_lock), [git worktree lock/unlock](https://git-scm.com/docs/git-worktree#Documentation/git-worktree.txt-lock))
- `unprotect` seems to be an uncommon word | diff --git a/README.md b/README.md
index 97d66d3..214ce4d 100644
--- a/README.md
+++ b/README.md
@@ -26,8 +26,8 @@ gh extension install seachicken/gh-poi
- `gh poi --state (closed|merged)` Specify the PR state to delete (default merged)
- `gh poi --dry-run` Show branches to delete without actually deleting it
- `gh ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The code should drop the RemoveConfig call for the new gh-poi-locked config before adding it, since AddConfig overwrites the value and the removal is unnecessary.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test name Tes... | null |
seahorn__seahorn__105 | seahorn/seahorn | 105 | defect | 7bc1b407aba865341125ca9da5581589ee5941ab | fdd8f9180a82d5552e89ca10a53182a5b39ddeac | Add initial SimpleMemoryCheck pass implementation | The patch adds initial implementation of the Simple Memory Safety Checks.
For each memory instruction (load or store), it gets tries to go up the def-use chain and track the pointer's origin and offset. It goes up and looks through GEPs and bitcasts, until it reaches a _barrier_ (load, function call, phi node, selec... | diff --git a/include/seahorn/Transforms/Instrumentation/SimpleMemoryCheck.hh b/include/seahorn/Transforms/Instrumentation/SimpleMemoryCheck.hh
new file mode 100644
index 000000000..16ccfbb98
--- /dev/null
+++ b/include/seahorn/Transforms/Instrumentation/SimpleMemoryCheck.hh
@@ -0,0 +1,12 @@
+#ifndef SIMPLE_MEMORY_CHECK... | 7 | 6 | 0 | [{"id": "G0", "claim": "The changes to LowerGvInitializers seem to be out of place in the commit and in the enclosing PR.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Simplify isKnownAlloc's AllocaInst branch to `return !AI->isArrayAllocation();` and u... | null |
seahorn__seahorn__177 | seahorn/seahorn | 177 | defect | daa8bb3ba57f6f5aa1be4975ee9c5ca06949b4c6 | 3c3df742d65e9d8da908809f06885358a421d176 | Implement Thinned Gated SSA for bmc=mono | Sending a PR just to piggyback on travis builds; please ignore. | diff --git a/.travis.yml b/.travis.yml
index 7fedc8cbc..2facd20d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,11 +24,11 @@ script:
else docker build --build-arg BASE_IMAGE=seahorn/seahorn-llvm5 -t seahorn_container -f docker/seahorn.Dockerfile . ;
fi '
- 'if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ;
- ... | 18 | 12 | 1 | [{"id": "G0", "claim": "Add a comment explaining why ControlDependenceAnalysisPass is a ModulePass and not a FunctionPass.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is no API to check that the analysis exists for a function, while the o... | null |
seahorn__seahorn__338 | seahorn/seahorn | 338 | defect | 03db01b16aa88f3312ca36edcc07fca017213ef8 | 19c7c0305e27a51a4c137d2163167d02f58a8298 | refactor(opsem): encapsulate solver in bv2 ctx | 1. keep track of assertions during single vacuity and incremental check
2. add printing of debug location if available | diff --git a/lib/seahorn/BvOpSem2.cc b/lib/seahorn/BvOpSem2.cc
index a0e3bff24..dc6e77aa0 100644
--- a/lib/seahorn/BvOpSem2.cc
+++ b/lib/seahorn/BvOpSem2.cc
@@ -2,6 +2,8 @@
#include "BvOpSem2RawMemMgr.hh"
#include "llvm/CodeGen/IntrinsicLowering.h"
+#include "llvm/IR/DebugInfo.h"
+#include "llvm/IR/DebugLoc.h"
#in... | 6 | 5 | 1 | [{"id": "G0", "claim": "The initialization `falseE = m_ctx.m_falseE;` was deleted from the constructor by mistake and re-added after a return statement where it never executes, leaving falseE uninitialized.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
seahorn__seahorn__375 | seahorn/seahorn | 375 | defect | d9ef838f58794835558cc69d3198fee60de6d7d4 | 1f48fc269d89fcb0a0a5375d98bb04465fa27ed6 | feat(opsem): track alloc/free for memory objects | 1. Generalize Tracking memory managers to track read, writes and allocations.
2. Add builtins for
isRead(...)
resetRead(...)
isAlloc(...)
free(...)
3. read instructions are currently not wired in opsem | diff --git a/include/seahorn/Analysis/SeaBuiltinsInfo.hh b/include/seahorn/Analysis/SeaBuiltinsInfo.hh
index d734b7a40..793fb0cda 100644
--- a/include/seahorn/Analysis/SeaBuiltinsInfo.hh
+++ b/include/seahorn/Analysis/SeaBuiltinsInfo.hh
@@ -21,8 +21,12 @@ enum class SeaBuiltinsOp {
BRANCH_SENTINEL, /* sea.branch_... | 22 | 20 | 3 | [{"id": "G0", "claim": "mkFreeFn should also be marked with doesNotFreeMemory() and given a more appropriate name such as mark_free, since the function only marks a memory region as freed rather than freeing it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
seahorn__seahorn__377 | seahorn/seahorn | 377 | defect | d9ef838f58794835558cc69d3198fee60de6d7d4 | cb6519b13f4cdc5c6e7416359d4f3e6858ee11bf | refactor(cex): cleanup new cex gen system; add tests and python pipeline | - Cleaned up CexExeGenerator to use `InstVisitor` implementation for collecting nd function values
- added new python command pipeline `CexGen`; given a source (C or IR) and counterexample harness, usage: `sea cex <options> <source> <harness> -o <outfile>`; if -o is not provided, an executable name will be generated i... | diff --git a/.github/workflows/test-seahorn-docker.yml b/.github/workflows/test-seahorn-docker.yml
index 89efa549d..53309ce1d 100644
--- a/.github/workflows/test-seahorn-docker.yml
+++ b/.github/workflows/test-seahorn-docker.yml
@@ -39,5 +39,8 @@ jobs:
- name: Run mcfuzz tests
run: docker run -v $(pwd):... | 15 | 13 | 2 | [{"id": "G0", "claim": "The commit history should be cleaned up into meaningful commits instead of squashing, with python, test and CI changes separated into their own commits.", "category": "process", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Confirm whether removing `eha... | null |
seahorn__seahorn__392 | seahorn/seahorn | 392 | defect | 4b9d341d156c206998ec38c9d23eaaf3543197f7 | e54b49a03ba224da03344085b1db4b9b936222f8 | Extends support of partial function synthesis to large step semantics. | Extends the changes in PR #388 to large step semantics. Some new helper methods are introduced. | diff --git a/lib/seahorn/HornifyFunction.cc b/lib/seahorn/HornifyFunction.cc
index 76f2ac0c3..de706c30d 100644
--- a/lib/seahorn/HornifyFunction.cc
+++ b/lib/seahorn/HornifyFunction.cc
@@ -448,6 +448,26 @@ void SmallHornifyFunction::runOnFunction(Function &F) {
assert(0);
}
+namespace {
+
+/// \brief Returns al... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `llvm::make_range` instead of `boost::make_iterator_range` when iterating the cut point's successor edges in `filterCpEdgesByBB`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
seahorn__seahorn__431 | seahorn/seahorn | 431 | defect | 87366ff0e25e32410129b7154decfd730b77db97 | a931d39dd3bde2e610932c9dd756a24d1ac37f06 | fix(opsem): init fresh ptr name in widememmgrs | Added test to replicate failure and validate fix
Why was this failure not detected?
Because we never set the symbolic memory threshold very low thus escaping the need to use fresh pointers and exercise faulty code path | diff --git a/lib/seahorn/BvOpSem2Allocators.cc b/lib/seahorn/BvOpSem2Allocators.cc
index 597814312..094f689ca 100644
--- a/lib/seahorn/BvOpSem2Allocators.cc
+++ b/lib/seahorn/BvOpSem2Allocators.cc
@@ -210,6 +210,8 @@ class NormalOpSemAllocator : public OpSemAllocator {
Expr inRange = m_ctx.alu().doUle(
by... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fresh-pointer naming in the wide mem managers should be reused from RawMemManager rather than duplicated; if duplicated, at least the names should differ from `sea.ptr` to ease debugging.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
seahorn__seahorn__438 | seahorn/seahorn | 438 | defect | 7cbaf2ba8323341f7f827a1242cbc9537f6b8b03 | 6487b9780921da115cb74c5e07f992aa6b5000b1 | Crab in seapp | This PR includes these features:
- A class to run crab analysis in `seapp`
- A LLVM pass to lower `sea.is_dereferenceable` in `seapp`
- A pipeline in `seapp` to support above features | diff --git a/include/seahorn/Passes.hh b/include/seahorn/Passes.hh
index 6acf158e0..df1c66864 100644
--- a/include/seahorn/Passes.hh
+++ b/include/seahorn/Passes.hh
@@ -110,6 +110,8 @@ llvm::Pass *createGeneratePartialFnPass();
llvm::Pass *createCHAPass();
llvm::ModulePass *createDebugVerifierPass(int instanceID, llv... | 10 | 10 | 2 | [{"id": "G0", "claim": "Crab analysis should not go through the LLVM pass manager: CrabAnalysisPass should not be a ModulePass (drop `public ModulePass` and `getAnalysisUsage`) and CrabLowerIsDeref should not obtain the analysis via `getAnalysis`.", "category": "design", "verdict": "supported", "priority": "P1", "scope... | null |
sealedtx__java-youtube-downloader__101 | sealedtx/java-youtube-downloader | 101 | defect | f794075551001cd26e5a8bb0595c42f889697b08 | d5df08ea52aedfc2252582633d732d41524ab209 | gzip compression | Accept gzip compression for text responses (html/json):
* reduce network usage
* speed up transfers
Enabled by default, it can be changed:
* `Config.setCompressionEnabled(false)`
* `Config.Buider.enableCompression(false)`
Since execution time is mostly spent on server process and network, speed tests are not ... | diff --git a/src/main/java/com/github/kiulian/downloader/Config.java b/src/main/java/com/github/kiulian/downloader/Config.java
index dc0d8f5..f6ef94e 100644
--- a/src/main/java/com/github/kiulian/downloader/Config.java
+++ b/src/main/java/com/github/kiulian/downloader/Config.java
@@ -34,12 +34,14 @@ public Thread newTh... | 6 | 4 | 0 | [{"id": "G0", "claim": "The reviewer asks about the commented-out assertTrue(ratio < 1, ...) line, which leaves the new speed test measuring but never asserting that compression makes execution faster.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Down... | null |
sealedtx__java-youtube-downloader__145 | sealedtx/java-youtube-downloader | 145 | defect | 5cbbaaa274f1031bb137e445a055e2d212f943af | c4737ba54706ff2a95293ceee168d4d13663726b | Fixed and improved QueryParameter | Originally I wrote this just to make generating the client types easier, but it seems like this is pretty useful. I did find that it was slightly broken though (not exactly, but before it didn't create the JSONObjects leading up to the value that needs to be set, resulting in a `NullPointerException` if that path wasn'... | diff --git a/src/main/java/com/github/kiulian/downloader/downloader/client/ClientType.java b/src/main/java/com/github/kiulian/downloader/downloader/client/ClientType.java
index 334aa52..08114e6 100644
--- a/src/main/java/com/github/kiulian/downloader/downloader/client/ClientType.java
+++ b/src/main/java/com/github/kiul... | 7 | 7 | 1 | [{"id": "G0", "claim": "The reviewer asks the author to add a test covering at least the ClientType change, since the new query-parameter logic ships with no tests for clients at all.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer is not co... | null |
sealedtx__java-youtube-downloader__36 | sealedtx/java-youtube-downloader | 36 | defect | 7793fe0f2e183e936c32b2b153c645b6e6db63ed | a6a466b007beafa6d20ce17ab83b85806f4af689 | Add captions/subtitles extraction | Resolves #31. Not sure if subtitles functionality is completely done... Will appreciate if someone can review and share thoughts | diff --git a/README.md b/README.md
index 7f892af..b604af4 100644
--- a/README.md
+++ b/README.md
@@ -100,6 +100,21 @@ System.out.println(file.getName()); // myAwesomeName.mp4
// you may disable this feature by passing overwrite flag
File myAwesomeFile = video.download(format, outputDir, "myAwesomeName", true);
+// ... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new subtitles API exposes no way for a user with an external download manager (not the library's default downloader) to know or choose the subtitle file's format, so something like a getExtension() check should be added.", "category": "design", "verdict": "supported", "priority": "P1", "scop... | null |
seanmonstar__reqwest__1005 | seanmonstar/reqwest | 1,005 | defect | 512fb97ffc35376d8569145f8b8b6ce515365729 | b89979139c71001b9bb8c230aed658b528bc9447 | Fix detection of system proxy from Windows registry | The parsing of the registry settings for windows system proxy is missing a valid possibility. When using the proxy Fiddler, Windows sets the `ProxyServer` setting to `http=127.0.0.1:8888;https=127.0.0.1:8888` on my version of windows, which currently results in the proxy addresses being thrown away by `insert_proxy` du... | diff --git a/Cargo.toml b/Cargo.toml
index 4686826cc..9392a244e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -124,6 +124,7 @@ doc-comment = "0.3"
tokio = { version = "0.2.0", default-features = false, features = ["macros"] }
[target.'cfg(windows)'.dependencies]
+regex = "1"
winreg = "0.7"
# wasm
diff --git a/src... | 1 | 1 | 0 | [{"id": "G0", "claim": "Regex is a pretty large dependency; the registry prefix check should be implemented without regular expressions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
seanmonstar__reqwest__1021 | seanmonstar/reqwest | 1,021 | defect | 53268f2443e20646935a29e8a30110d0953bab85 | 6f07f2d6886c6a598fa099a2b6773250c7d88fd8 | Fix HTTP Proxy Handling for Non-HTTPS Requests | Previously, HTTP proxies loaded from the system settings were not respected for non-HTTPS requests. Now the PROXY_AUTHORIZATION header is supplied on HTTP requests with a system proxy. Fixes #992. | diff --git a/src/proxy.rs b/src/proxy.rs
index 9cc94d8897..0ef61cf89e 100644
--- a/src/proxy.rs
+++ b/src/proxy.rs
@@ -247,10 +247,20 @@ impl Proxy {
pub(crate) fn maybe_has_http_auth(&self) -> bool {
match self.intercept {
- Intercept::All(ProxyScheme::Http { auth: Some(..), .. }) |
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "A regression test should be added to tests/proxy.rs that would catch the system-proxy auth bug fixed by this PR, so it does not regress in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.