# Programmable Reporting Logic and Machine Executable Reports

Using the CDM, executable code automatically generated from the model definitions enabled us to simulate the re-creation of the retail mortgage reports for Singapore and the UK referencing the same model. &#x20;

We took dummy mortgage transactions with the following parameters:&#x20;

* New / first retail mortgage loans
* Owner-occupied &#x20;
* One main borrower
* A 25-year loan, fixed rate for first 5 years
* Reversion to the firm's standard variable mortgage rate after 5 years&#x20;

Taking these data feeds and generating the functional logic code based on each jurisdictional requirement that referenced the Ellipse mortgage model, we were able to execute the regulatory “reports” that we derived the attributes from, namely PSD001 and MAS 645. &#x20;

![](/files/-MlIRr3gYrOzgfFCOYkq)

Links to the technical documentation associated with the CDM can be found in the Annex under [References \[3\]](/ellipse/annex/further-reference-links.md).&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bis.org/ellipse/proof-of-concept/programmable-reporting-logic-and-machine-executable-reports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
