Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calcul de variables incorrect (mémo : CTRPS) #848

Closed
2 of 6 tasks
AnneHuSKa opened this issue Jan 15, 2024 · 0 comments · Fixed by #849
Closed
2 of 6 tasks

Calcul de variables incorrect (mémo : CTRPS) #848

AnneHuSKa opened this issue Jan 15, 2024 · 0 comments · Fixed by #849
Assignees
Labels
Type: Bug Something isn't working

Comments

@AnneHuSKa
Copy link

AnneHuSKa commented Jan 15, 2024

Describe the bug

Une enquête souhaite sélectionner 2 individus dans son enquête, en se basant sur les dates d'anniversaire des invididus du logement. On a proposé un algorithme basé sur les dates de naissance.
Cet algo marchait dans l'ancienne version Queen, plus dans la nouvelle. On a testé en Lunatic 2.7 : ko, on a testé en Stromae V2 : ok

En creusant, on constate que la variable INTERROGATION du json joint ne se calcule pas bien alors qu'une déclaration contenant exactement la même chose (en apparence) est ok

  • I tested it on the storybook, which leads me to believe that it's a lunatic bug.

To Reproduce

Steps to reproduce the behavior:

  1. With the survey available here/uploaded in issue
    issue848_jsonetdata.zip
  2. mettre 3 individus
  3. mettre des dates de naissance à 01/01/2000, 02/02/2000 et 11/12/2000
  4. voir page 11/15

Expected behavior

La déclaration et INTERROGATION prennent la même valeur

Screenshots

Queen et Lunatic 2.7
image

StromaeV2
image

Version where the bug appeared

2.7

Browser where the bug was tested

  • Chrome
  • Firefox
  • Safari
  • Edge
  • Other (please specify): ___

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants