Commit graph

1511 commits

Author SHA1 Message Date
Oriol Roqué Paniagua
230f4c08de Merged PR 4560: Update exposures main kpis
# Description

Update exposures main kpis with the latest YTD/MTD/Target addition.

Code compiles correctly

# Checklist

- [ ] The edited models and dependants run properly with production data.
- [ ] The edited models are sufficiently documented.
- [ ] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27609
2025-03-03 14:30:58 +00:00
Oriol Roqué Paniagua
991cea71a8 Merged PR 4556: Remove 2025 FY targets
# Description

Removes targets of FY 2025 (Jan 25 to Mar 25) to be able to deploy the report without fake info.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27609, #27805
2025-03-03 10:35:24 +00:00
Joaquin Ossa
b2e15bbbab Merged PR 4546: Calculator changes
# Description

After talking with the Ant he we realised that the `was_overriden` was not properly set up so I removed it.
Added all calculated and submitted values for both guests and hosts and left out values in USD since we are not going to use them on the report.

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Calculator changes

Related work items: #27812
2025-02-28 11:25:29 +00:00
Joaquin Ossa
47e9178b21 Merged PR 4545: Updated all service_business_type tests
# Description

Updated all service_business_type tests

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Updated all service_business_type tests

Related work items: #28068
2025-02-28 11:23:11 +00:00
Joaquin Ossa
b20cb44779 Calculator changes 2025-02-28 12:19:24 +01:00
Joaquin Ossa
da0b0dad67 Updated all service_business_type tests 2025-02-28 11:14:40 +01:00
Joaquin Ossa
eeb47cf6d8 Merged PR 4542: New dash guest agreement fix
# Description

Small fix for the new Guest Agreement service in New Dash

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

new dash guest agreement fix

Related work items: #28068
2025-02-28 08:51:47 +00:00
Joaquin Ossa
2bc8e6c0c3 Updated test 2025-02-28 09:49:31 +01:00
Joaquin Ossa
c85ce8d0a7 new dash guest agreement fix 2025-02-28 09:13:29 +01:00
Oriol Roqué Paniagua
9aa42064c0 Merged PR 4537: Remove empty line
# Description

Remove empty line

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27609
2025-02-27 13:27:15 +00:00
Oriol Roqué Paniagua
cfc17a5d3a Merged PR 4528: Adds number format
# Description

Adds number format for display purposes

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Adds number format

Related work items: #27609
2025-02-27 13:18:03 +00:00
Joaquin Ossa
42701b4d2c Merged PR 4530: first comment time added
# Description

First comment time added

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

first comment time added

Related work items: #27812
2025-02-27 12:28:09 +00:00
Oriol Roqué Paniagua
47fde7de60 Merged PR 4525: Revenue Churn to 3%
# Description

Revenue Churn Rate from 1% to 3%

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Revenue Churn to 3%

Related work items: #27609, #27805
2025-02-27 08:27:27 +00:00
Joaquin Ossa
ad4dd67bc1 Merged PR 4524: Small changes
# Description

Fixed a silly mistake in the model and change one field

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Small changes

Related work items: #27811
2025-02-26 16:13:26 +00:00
Joaquin Ossa
6f28c4d9dc numeric 2025-02-26 16:51:56 +01:00
Joaquin Ossa
aaa0b1a5dd changed name 2025-02-26 16:45:01 +01:00
Joaquin Ossa
0fd8c21e38 Small changes 2025-02-26 16:22:32 +01:00
Joaquin Ossa
ed707849e7 Merged PR 4515: resolutions incidents to reporting
# Description

Resolutions incidents model to reporting

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [x] I have checked for DRY opportunities with other models and docs.
- [x] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

resolutions incidents to reporting

Related work items: #27811
2025-02-26 08:19:16 +00:00
Joaquin Ossa
00d3922104 Merged PR 4508: New Resolutions model to intermediate
# Description

Resolutions incidents model to intermediate
This one shows all relevant details of the resolution process, the amount asked by the host, the one proposed by the calculator and the final settlement amount.
It also includes useful data for the resolutions team, like who is the current responsible agent or how many comments have there been in the process, etc.

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [x] I have checked for DRY opportunities with other models and docs.
- [x] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27811
2025-02-26 07:27:05 +00:00
Joaquin Ossa
465bd51ff2 Final update 2025-02-26 08:24:50 +01:00
Oriol Roqué Paniagua
1728c30334 Merged PR 4514: Adds first version of targets
# Description

Adds targets for V1

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27805
2025-02-25 17:08:57 +00:00
Joaquin Ossa
cfc6971cb4 Addressed comments 2025-02-25 16:58:14 +01:00
Oriol Roqué Paniagua
84bdfe6083 Merged PR 4510: Fix sign
# Description

Fix sign...

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Fix sign

Related work items: #27609
2025-02-25 15:24:05 +00:00
Joaquin Ossa
c49239a7cf Final changes 2025-02-25 15:25:37 +01:00
Joaquin Ossa
daa93c056c commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
335fccd57e updated schema 2025-02-25 15:25:37 +01:00
Joaquin Ossa
68bddf2b7d Commit update 2025-02-25 15:25:37 +01:00
Joaquin Ossa
7f8e7489e4 finished schema 2025-02-25 15:25:37 +01:00
Joaquin Ossa
63a2eff6e2 finished schema 2025-02-25 15:25:37 +01:00
Joaquin Ossa
8b7dfa0839 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
f1a0b04388 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
56619982d2 commit wip on schema 2025-02-25 15:25:37 +01:00
Joaquin Ossa
76a247a55f commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
2f484054df commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
3f224d8fed commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
9fa62e0bf2 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
29755961e6 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
47d9b6f292 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
7551f6e515 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
c89dd02799 commit wip 2025-02-25 15:25:37 +01:00
Joaquin Ossa
271f017cf5 Merged PR 4482: Staging model of resolutions incidents
# Description

New staging model for Resolutions Incidents
It extracts all of the data from the incidents after the ingestion from CosmosDB.
This includes data on the host, the guest, the booking, the listing and all the resolution process until completed if completed.
Though it currently has a lot of problems like missing values, ids not existing in the back end or payments without currencies. Everything is more clarified here https://www.notion.so/truvi/Data-Quality-Report-Resolutions-Incidents-data-1a40446ff9c9807180eaccfeebb53045?pvs=4.

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [x] I have checked for DRY opportunities with other models and docs.
- [x] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27811
2025-02-25 14:15:27 +00:00
Joaquin Ossa
cace0f908d Merged PR 4507: Added timestamp to a/b test model
# Description

Added timestamp to a/b test model to start the measures from the adequate date and time

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Added timestamp to a/b test model

Related work items: #27721
2025-02-25 14:15:19 +00:00
Joaquin Ossa
1697bef090 timestamps 2025-02-25 15:14:54 +01:00
Oriol Roqué Paniagua
3c99c4f8bc Merged PR 4504: Onboarding MRR + Visualisation changes
# Description

Changes:
* Adds Onboarding MRR
* Refactors exclusion code for ongoing month / invoicing cycle
* Adds sign format on relative differences

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #27609, #27805
2025-02-25 14:05:54 +00:00
Joaquin Ossa
03955aadd5 Finished schema 2025-02-25 14:54:59 +01:00
Joaquin Ossa
4a6158df28 Added timestamp to a/b test model 2025-02-25 14:48:37 +01:00
Oriol Roqué Paniagua
995027205c Merged PR 4502: Revert "Adds Onboarding MRR"
# Description

_Describe your motivation and changes here._

# Checklist

- [ ] The edited models and dependants run properly with production data.
- [ ] The edited models are sufficiently documented.
- [ ] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Revert "Adds Onboarding MRR"

Reverted commit `dab210c6`.
2025-02-25 11:44:24 +00:00
Oriol Roqué Paniagua
7c4b0e752b Merged PR 4501: Revert "Refactor display exclusion for clarity purposes"
# Description

_Describe your motivation and changes here._

# Checklist

- [ ] The edited models and dependants run properly with production data.
- [ ] The edited models are sufficiently documented.
- [ ] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Revert "Refactor display exclusion for clarity purposes"

Reverted commit `fdec616f`.
2025-02-25 11:43:46 +00:00
Oriol Roqué Paniagua
5eebb4f560 Merged PR 4500: Revert "Relative increments with sign"
# Description

_Describe your motivation and changes here._

# Checklist

- [ ] The edited models and dependants run properly with production data.
- [ ] The edited models are sufficiently documented.
- [ ] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Revert "Relative increments with sign"

Reverted commit `f5718ded`.
2025-02-25 11:43:05 +00:00
uri
f5718ded4d Relative increments with sign 2025-02-25 12:30:23 +01:00