facebookexperimental / facebookexperimental/Robyn

Budget Allocator not working properly for target efficiency

Open
#1,216 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.5k
Forks
433
PR merge metrics
No merged PRs in 30d

Description

Hi All,
i'm encountering an issue with the target efficiency budget allocator. No matter how high or low the target_value CPA is, the total spend recomendation never surpasses the initial total spend for the simulated period (and so it never reaches the higher CPA values).

I'm running Robyn in the 3.11.1 version in R, and noticed that this particular feature does work well in version 3.10.3 using the exact same data/model/code.

I'll leave the code snippet below and the output recomendations for each Robyn version:

`AllocatorCollect <- robyn_allocator(
InputCollect = RobynRecreated$InputCollect,
OutputCollect = RobynRecreated$OutputCollect,
select_model = select_model,
scenario = "target_efficiency",
target_value = 7,
date_range = "last_30",
export = TRUE,
quiet=FALSE
)`

![Image](https://github.com/user-attachments/assets/81bb134c-b74f-428c-af65-f1c045fae012)

![Image](https://github.com/user-attachments/assets/c76d7528-5e15-4c15-99d0-544d5c74bd0e)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.