# Rasa Core End-To-End Evaluation

**URL:** <https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960>\
**Category:** Rasa Open Source\
**Created:** [April 12, 2019, 6:15pm UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960 "2019-04-12T18:15:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexf388](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@alexf388](https://forum.rasa.com/u/alexf388)\
**Post date:** [April 12, 2019, 6:15pm UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/1 "2019-04-12T18:15:30Z")

</div>

Hi guys,

I am trying to perform end-to-end evaluation using rasa\_core.evaluate. The following command I am running is this:

> python -m rasa\_core.evaluate default --core models/relocation/dialogue --nlu models/relocation/nlu --stories test/e2e/e2e\_relocation\_stories.md --endpoints endpoints.yml --e2e

I’ve made sure e2e\_relocation\_stories.md contains stories in an end-to-end format. For example:

```
## end-to-end story 3
* hello: hi
   - utter_greet
* non_resident_relocation: moving to Malaysia.
  - action_determine_if_restricted
  - slot{"is_h3" : false}
  - utter_confirm_GPE
  - utter_is_account_personal_or_non_personal
* non_personal_account: non-personal
  - action_set_email_type
  - slot{"email_type" : "non_personal"}
  - utter_escalate_to_compliance
  - action_send_email_to_compliance
  - utter_goodbye

```

I’ve uploaded the exception I got in a log file instead.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [April 23, 2019, 9:01am UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/2 "2019-04-23T09:01:33Z")

</div>

Hey @alexf388, I appreciate your not wanting to muck up the screen with the stack trace, but unfortunately I can’t see your log file. Could you try to upload it again or just post the trace? Then I can help you out.

---

<div class="post-metadata">

**Author:** ![abhi\_bh\_nlp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhi_bh_nlp/32/5905_2.png) [@abhi\_bh\_nlp](https://forum.rasa.com/u/abhi_bh_nlp)\
**Post date:** [February 26, 2020, 5:43pm UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/3 "2020-02-26T17:43:17Z")

</div>

Hi @erohmensing i am using end to end testing framework for testing the bot. The problem is although it evaluates stories on the test data provided, it however after evaluating the stories on test data it defaults back to training NLU data and evaluate the same and in the results only output from the training data is exported for the intent and entity evaluation. I am not sure if it is intended behavior or if it shall be intended behaviour

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [March 2, 2020, 5:36pm UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/4 "2020-03-02T17:36:43Z")

</div>

@abhi_bh_nlp Sounds like you’re running `rasa test` which runs separate core and NLU evaluations. if you only want to run the e2e ones, just do

```auto
rasa test core --e2e

```

---

<div class="post-metadata">

**Author:** ![abhi\_bh\_nlp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhi_bh_nlp/32/5905_2.png) [@abhi\_bh\_nlp](https://forum.rasa.com/u/abhi_bh_nlp)\
**Post date:** [March 3, 2020, 8:27pm UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/5 "2020-03-03T20:27:38Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/ca9f06385bd1eaa2192bbc0abce68cddd4f44aac.png)

@erohmensingNo, i am running the e2e testing, i have 11 samples in test data, so the core evaluation is correct and only test data is considered, however intent evaluation shows support as 1954, which is more like my training data. Below is my code   
rasa test --stories tests/validation\_data/e2e\_stories.md --e2e --out results/e2e

---

<div class="post-metadata">

**Author:** ![abhi\_bh\_nlp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhi_bh_nlp/32/5905_2.png) [@abhi\_bh\_nlp](https://forum.rasa.com/u/abhi_bh_nlp)\
**Post date:** [March 10, 2020, 4:30am UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/6 "2020-03-10T04:30:43Z")

</div>

@erohmensing Also, I realized that while testing the NLU model using the given framework, the nlu threshold is never considered as of now. Basically I got bunch of predictions in the prediction probability range of 10-20 % which is way below my current threshold of 40%.

So, although these predictions are correct but I believe we shall be able to get these examples as well in the intent report. What are your thoughts on this?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [March 10, 2020, 9:10am UTC](https://forum.rasa.com/t/rasa-core-end-to-end-evaluation/6960/7 "2020-03-10T09:10:13Z")

</div>

Re: your first comment, as I mentioned, `rasa test` runs 2 separate tests, an NLU test and a core test. The e2e test is a type of core test. If you only want to run that one, you should run

```auto
rasa test core --stories tests/validation_data/e2e_stories.md --e2e --out results/e2e

```

The intent report does not take the e2e stories into account, as it is the same as running `rasa test nlu` after running the stories command above.
