From 22fa19e8fd566a5f23c6e50c4d922ea973a71978 Mon Sep 17 00:00:00 2001 From: zogkoa Date: Fri, 17 May 2024 13:52:16 +0100 Subject: [PATCH] Add test data for calculate_links --- tests/calculate_links_test_data.csv | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/calculate_links_test_data.csv diff --git a/tests/calculate_links_test_data.csv b/tests/calculate_links_test_data.csv new file mode 100755 index 00000000..72e6408d --- /dev/null +++ b/tests/calculate_links_test_data.csv @@ -0,0 +1,16 @@ +,identifier,period,group,question,f_predictive_question,b_predictive_question,f_matched_pair,b_matched_pair,f_link,b_link +0,10001,202001,1,547.0,,362.0,False,True,,0.9925133689839573 +1,10001,202002,1,362.0,547.0,895.0,True,True,1.0075431034482758,0.8431018935978359 +2,10001,202003,1,895.0,362.0,,True,False,1.186096256684492, +3,10002,202001,1,381.0,,573.0,False,True,,0.9925133689839573 +4,10002,202002,1,573.0,381.0,214.0,True,True,1.0075431034482758,0.8431018935978359 +5,10002,202003,1,214.0,573.0,,True,False,1.186096256684492, +6,10001,202001,2,961.0,,267.0,False,True,,1.693854748603352 +7,10001,202002,2,267.0,961.0,314.0,True,True,0.5903693931398417,0.8523809523809524 +8,10001,202003,2,314.0,267.0,,True,False,1.1731843575418994, +9,10002,202001,2,555.0,,628.0,False,True,,1.693854748603352 +10,10002,202002,2,628.0,555.0,736.0,True,True,0.5903693931398417,0.8523809523809524 +11,10002,202003,2,736.0,628.0,,True,False,1.1731843575418994, +12,10005,202001,1,,,,False,False,,0.9925133689839573 +13,10005,202002,2,,,100.0,False,False,0.5903693931398417,0.8523809523809524 +14,10005,202003,2,100.0,,,False,False,1.1731843575418994,