Skip to content

fix: address comments

Codecov / codecov/patch failed Nov 14, 2024 in 0s

37.89% of diff hit (target 50.00%)

View this Pull Request on Codecov

37.89% of diff hit (target 50.00%)

Annotations

Check warning on line 52 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 58 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L54-L58

Added lines #L54 - L58 were not covered by tests

Check warning on line 60 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L60

Added line #L60 was not covered by tests

Check warning on line 75 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L73-L75

Added lines #L73 - L75 were not covered by tests

Check warning on line 78 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 93 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L92-L93

Added lines #L92 - L93 were not covered by tests

Check warning on line 98 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L96-L98

Added lines #L96 - L98 were not covered by tests

Check warning on line 112 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L110-L112

Added lines #L110 - L112 were not covered by tests

Check warning on line 116 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L115-L116

Added lines #L115 - L116 were not covered by tests

Check warning on line 118 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L118

Added line #L118 was not covered by tests

Check warning on line 124 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L122-L124

Added lines #L122 - L124 were not covered by tests

Check warning on line 127 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L127

Added line #L127 was not covered by tests

Check warning on line 133 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L130-L133

Added lines #L130 - L133 were not covered by tests

Check warning on line 135 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L135

Added line #L135 was not covered by tests

Check warning on line 141 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L137-L141

Added lines #L137 - L141 were not covered by tests

Check warning on line 145 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L144-L145

Added lines #L144 - L145 were not covered by tests

Check warning on line 147 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L147

Added line #L147 was not covered by tests

Check warning on line 150 in sbi/neural_nets/estimators/categorical_net.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/estimators/categorical_net.py#L150

Added line #L150 was not covered by tests

Check warning on line 95 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L92-L95

Added lines #L92 - L95 were not covered by tests

Check warning on line 100 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L100

Added line #L100 was not covered by tests

Check warning on line 103 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 106 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 112 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L110-L112

Added lines #L110 - L112 were not covered by tests

Check warning on line 116 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L116

Added line #L116 was not covered by tests

Check warning on line 124 in sbi/neural_nets/net_builders/categorial.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/neural_nets/net_builders/categorial.py#L124

Added line #L124 was not covered by tests