# Failing Expectations are not evaluated and displayed

**URL:** https://discourse.greatexpectations.io/t/failing-expectations-are-not-evaluated-and-displayed/1649
**Category:** GX Core Support
**Created:** [March 2, 2024, 1:21am UTC](https://discourse.greatexpectations.io/t/failing-expectations-are-not-evaluated-and-displayed/1649 "2024-03-02T01:21:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![leehawk787](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@leehawk787](https://discourse.greatexpectations.io/u/leehawk787)
#### Post date: [March 2, 2024, 1:21am UTC](https://discourse.greatexpectations.io/t/failing-expectations-are-not-evaluated-and-displayed/1649/1 "2024-03-02T01:21:41Z")

</div>

Hi there,

i followed the instructions in quickstart [Quickstart | Great Expectations](https://docs.greatexpectations.io/docs/oss/tutorials/quickstart/) and changed the max\_value in the second expectation:

```auto
validator.expect_column_values_to_be_between( "passenger_count", min_value=1, max_value=4)

```

From my understanding this should lead to a failing expectation, which would then be displayed in the generated html. **However, this expectation just completely disappears from the html document.** Via debugger it seems to disappear at the step:

```auto
checkpoint_result = checkpoint.run()

```

This also happens for different data sources and different expectations, different numbers of expectations: as soon as the expectation would fail, it instead disappears.

Advice / Insights welcome. 🙂

```
Operating system: Linux, Kernel 6.7.6
Version numbers: 0.18.10
Programming language: Python 3.11.7

```

---

<div class="post-metadata">

### Author: ![leehawk787](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@leehawk787](https://discourse.greatexpectations.io/u/leehawk787)
#### Post date: [March 4, 2024, 1:57pm UTC](https://discourse.greatexpectations.io/t/failing-expectations-are-not-evaluated-and-displayed/1649/2 "2024-03-04T13:57:46Z")

</div>

Apparently i was interpreting the Doc wrong - it is default to discard failed expectations and in order to change that one needs to add a flag like so:

```auto
validator.save_expectation_suite(discard_failed_expectations=False)

```

---

<div class="post-metadata">

### Author: ![joshzheng](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/joshzheng/32/191_2.png) [@joshzheng](https://discourse.greatexpectations.io/u/joshzheng)
#### Post date: [April 17, 2024, 8:28pm UTC](https://discourse.greatexpectations.io/t/failing-expectations-are-not-evaluated-and-displayed/1649/3 "2024-04-17T20:28:02Z")

</div>

Hey @leehawk787 thanks raising this. We’ve updated our Quickstart to make this more obvious for future users: [Quickstart | Great Expectations](https://deploy-preview-9782.docs.greatexpectations.io/docs/oss/tutorials/quickstart)
