Skip to content

Commit 9d2d2a0

Browse files
sdv-teamgithub-actions[bot]amontanez24
authored
v0.11.0 Release Preparation (#433)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Andrew Montanez <[email protected]>
1 parent adb3be4 commit 9d2d2a0

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

HISTORY.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# History
22

3-
### v0.10.2 - 2024-10-22
3+
### v0.11.0 - 2025-02-26
4+
5+
### New Features
6+
7+
* Surface error to user during fit if training data contains null values - Issue [#414](https://github.com/sdv-dev/CTGAN/issues/414) by @rwedge
8+
9+
### Maintenance
10+
11+
* Combine `static_code_analysis.yml` with `release_notes.yml` - Issue [#421](https://github.com/sdv-dev/CTGAN/issues/421) by @R-Palazzo
12+
* Support Python 3.13 - Issue [#411](https://github.com/sdv-dev/CTGAN/issues/411) by @rwedge
13+
* Update codecov and add flag for integration tests - Issue [#410](https://github.com/sdv-dev/CTGAN/issues/410) by @pvk-developer
14+
15+
## v0.10.2 - 2024-10-22
416

517
### Bugs Fixed
618

static_code_analysis.txt

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Run started:2024-10-22 16:18:16.010383
1+
Run started:2025-02-25 21:10:33.223731
22

33
Test results:
44
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
55
Severity: Low Confidence: High
66
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
77
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b101_assert_used.html
8-
Location: ./ctgan/__main__.py:122:8
9-
121 if args.sample_condition_column is not None:
10-
122 assert args.sample_condition_column_value is not None
11-
123
8+
Location: ./ctgan/__main__.py:121:8
9+
120 if args.sample_condition_column is not None:
10+
121 assert args.sample_condition_column_value is not None
11+
122
1212

1313
--------------------------------------------------
1414
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
@@ -55,20 +55,20 @@ Test results:
5555
Severity: Low Confidence: High
5656
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
5757
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b101_assert_used.html
58-
Location: ./ctgan/synthesizers/ctgan.py:59:8
59-
58 """Apply the Discriminator to the `input_`."""
60-
59 assert input_.size()[0] % self.pac == 0
61-
60 return self.seq(input_.view(-1, self.pacdim))
58+
Location: ./ctgan/synthesizers/ctgan.py:60:8
59+
59 """Apply the Discriminator to the `input_`."""
60+
60 assert input_.size()[0] % self.pac == 0
61+
61 return self.seq(input_.view(-1, self.pacdim))
6262

6363
--------------------------------------------------
6464
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
6565
Severity: Low Confidence: High
6666
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
6767
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b101_assert_used.html
68-
Location: ./ctgan/synthesizers/ctgan.py:163:8
69-
162 ):
70-
163 assert batch_size % 2 == 0
71-
164
68+
Location: ./ctgan/synthesizers/ctgan.py:164:8
69+
163 ):
70+
164 assert batch_size % 2 == 0
71+
165
7272

7373
--------------------------------------------------
7474
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
@@ -80,34 +80,22 @@ Test results:
8080
100 assert st == recon_x.size()[1]
8181
101 KLD = -0.5 * torch.sum(1 + logvar - mu**2 - logvar.exp())
8282

83-
--------------------------------------------------
84-
>> Issue: [B105:hardcoded_password_string] Possible hardcoded password: '# History
85-
86-
'
87-
Severity: Low Confidence: Medium
88-
CWE: CWE-259 (https://cwe.mitre.org/data/definitions/259.html)
89-
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b105_hardcoded_password_string.html
90-
Location: ./scripts/release_notes_generator.py:134:12
91-
133
92-
134 token = '# History\n\n'
93-
135 split_index = history.find(token) + len(token) + 1
94-
9583
--------------------------------------------------
9684

9785
Code scanned:
98-
Total lines of code: 1508
86+
Total lines of code: 1414
9987
Total lines skipped (#nosec): 0
10088
Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0
10189

10290
Run metrics:
10391
Total issues (by severity):
10492
Undefined: 0
105-
Low: 9
93+
Low: 8
10694
Medium: 0
10795
High: 0
10896
Total issues (by confidence):
10997
Undefined: 0
11098
Low: 0
111-
Medium: 1
99+
Medium: 0
112100
High: 8
113101
Files skipped (0):

0 commit comments

Comments
 (0)