jofaichow commited on
Commit
05fe1d3
1 Parent(s): f73e469

0.2.7 - removed payout sim

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app/app.R +161 -162
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM rocker/r-ver:4.2.3
4
  RUN R -q -e "install.packages(c('remotes'))"
5
 
6
  # Specific version of Shiny
7
- RUN R -q -e "remotes::install_version('shiny', version = '1.8.0', repos = 'http://cran.us.r-project.org')"
8
 
9
  # basic shiny functionality
10
  RUN R -q -e "install.packages(c('rmarkdown', 'markdown'))"
 
4
  RUN R -q -e "install.packages(c('remotes'))"
5
 
6
  # Specific version of Shiny
7
+ RUN R -q -e "remotes::install_version('shiny', version = '1.7.3', repos = 'http://cran.us.r-project.org')"
8
 
9
  # basic shiny functionality
10
  RUN R -q -e "install.packages(c('rmarkdown', 'markdown'))"
app/app.R CHANGED
@@ -240,7 +240,7 @@ ui <- shinydashboardPlus::dashboardPage(
240
 
241
  pickerInput(inputId = "model",
242
  label = " ",
243
- choices = ls_username,
244
  multiple = TRUE,
245
  width = "100%",
246
  options = list(
@@ -249,7 +249,7 @@ ui <- shinydashboardPlus::dashboardPage(
249
  size = 20,
250
  `actions-box` = TRUE,
251
  `live-search` = TRUE,
252
- `live-search-placeholder` = "For example, try lgbm_v4 or integration_test",
253
  `virtual-scroll` = TRUE,
254
  `multiple-separator` = ", ",
255
  `selected-text-format`= "count > 3",
@@ -554,52 +554,52 @@ ui <- shinydashboardPlus::dashboardPage(
554
  ),
555
 
556
 
557
- tabPanel("Payout (Sim)",
558
-
559
- br(),
560
-
561
- h3(strong(textOutput(outputId = "text_payout_sim"))),
562
-
563
- br(),
564
-
565
- # markdown("![new_tc_change](https://i.ibb.co/XjKwtzr/screenshot-2023-10-05-at-10.png)"),
566
- markdown("![new_mmc](https://forum.numer.ai/uploads/default/optimized/2X/0/0b04785bd7167ff261f26325bc926c107398e26a_2_1035x729.jpeg)"),
567
-
568
-
569
- br(),
570
-
571
- markdown("#### **Notes**:
572
-
573
- - **sum_pay**: Sum of Payouts
574
- - **shp_pay**: Sharpe Ratio of Payouts
575
- - **1C3T**: 1xCORRv2 + 3xTC (Original Degen Mode)
576
- - **1C0T**: 1xCORRv2 + 0xTC (Until the End of 2023)
577
- - **2C0T**: 2xCORRv2 + 0xTC (Until the End of 2023)
578
- - **2C1T**: 2xCORRv2 + 1xTC (Until the End of 2023)
579
- - **05C2M**: 0.5xCORRv2 + 2xMMCv2 (**New Payout Mode**)
580
-
581
-
582
- "),
583
-
584
- br(),
585
-
586
- markdown("### **Payout Simulation (Overall)**"),
587
-
588
- DTOutput("dt_payout_sim_overall"),
589
-
590
- br(),
591
-
592
- br(),
593
-
594
- markdown("### **Payout Simulation (Individual Models)**"),
595
-
596
- br(),
597
-
598
- DTOutput("dt_payout_sim_model"),
599
-
600
- br()
601
-
602
- ),
603
 
604
  tabPanel("Payout Chart (Rounds)",
605
 
@@ -626,121 +626,119 @@ ui <- shinydashboardPlus::dashboardPage(
626
  shinycssloaders::withSpinner(plotlyOutput("plot_payout_individual")),
627
 
628
  br()
629
- ),
630
 
631
 
632
- tabPanel("KPI (x~y)",
633
-
634
- br(),
635
-
636
- markdown("![image](https://media.giphy.com/media/cftSzNoCTfSyAWctcl/giphy.gif)"),
637
-
638
- br(),
639
-
640
- # Controls ============================================================================
641
-
642
- fluidRow(
643
-
644
- column(6,
645
- markdown("#### **X-Axis:**"),
646
- pickerInput(
647
- inputId = "kpi_xy_x",
648
- choices = c("CORRv2: CORRelation with target cyrus_v4_20",
649
- "MMCv2: The Latest and the Greatest MMC",
650
- "TC: True Contribtuion to the hedge fund's returns",
651
- "FNCv3: Feature Neutral Correlation with respect to the FNCv3 features",
652
- "Percentile: MMCv2",
653
- "Percentile: CORRv2",
654
- "Percentile: TC",
655
- "Percentile: FNCv3",
656
- "CWMM: Correlation With the Meta Model",
657
- "MCWNM: Maximum Correlation With Numerai Models staked at least 10 NMR",
658
- "APCWNM: Average Pairwise Correlation With Numerai Models staked at least 10 NMR"),
659
-
660
- multiple = FALSE,
661
- width = "95%")
662
- ),
663
-
664
- column(6,
665
- markdown("#### **Y-Axis:**"),
666
- pickerInput(
667
- inputId = "kpi_xy_y",
668
- choices = c("MMCv2: The Latest and the Greatest MMC",
669
- "CORRv2: CORRelation with target cyrus_v4_20",
670
- "TC: True Contribtuion to the hedge fund's returns",
671
- "FNCv3: Feature Neutral Correlation with respect to the FNCv3 features",
672
- "Percentile: MMCv2",
673
- "Percentile: CORRv2",
674
- "Percentile: TC",
675
- "Percentile: FNCv3",
676
- "CWMM: Correlation With the Meta Model",
677
- "MCWNM: Maximum Correlation With Numerai Models staked at least 10 NMR",
678
- "APCWNM: Average Pairwise Correlation With Numerai Models staked at least 10 NMR"),
679
-
680
- multiple = FALSE,
681
- width = "95%")
682
- ),
683
-
684
- column(2,
685
- markdown("#### **Control 1**"),
686
- switchInput(
687
- inputId = "kpi_xy_ctrl_1",
688
- onLabel = "Yes",
689
- offLabel = "No",
690
- value = TRUE)
691
- ),
692
-
693
- column(2,
694
- markdown("#### **Control 2**"),
695
- switchInput(
696
- inputId = "kpi_xy_ctrl_2",
697
- onLabel = "Yes",
698
- offLabel = "No",
699
- value = FALSE)
700
- ),
701
-
702
- column(2,
703
- markdown("#### **Control 3**"),
704
- switchInput(
705
- inputId = "kpi_xy_ctrl_3",
706
- onLabel = "Yes",
707
- offLabel = "No",
708
- value = FALSE)
709
- ),
710
-
711
- column(2,
712
- markdown("#### **Control 4**"),
713
- switchInput(
714
- inputId = "kpi_xy_ctrl_4",
715
- onLabel = "Yes",
716
- offLabel = "No",
717
- value = FALSE)
718
- ),
719
-
720
- column(2,
721
- markdown("#### **Control 5**"),
722
- switchInput(
723
- inputId = "kpi_xy_ctrl_5",
724
- onLabel = "Yes",
725
- offLabel = "No",
726
- value = FALSE)
727
- ),
728
-
729
- column(2,
730
- markdown("#### **Control 6**"),
731
- switchInput(
732
- inputId = "kpi_xy_ctrl_6",
733
- onLabel = "Yes",
734
- offLabel = "No",
735
- value = FALSE)
736
- )
737
-
738
-
739
- ),
740
-
741
- br()
742
-
743
- )
744
 
745
  ) # end of tabsetPanel
746
 
@@ -918,6 +916,7 @@ ui <- shinydashboardPlus::dashboardPage(
918
  - #### **0.2.4** — Added `MMC` to `Payout Sim`
919
  - #### **0.2.5** — Added more features related to MMC
920
  - #### **0.2.6** — Added survey results - Ref: https://forum.numer.ai/t/around-the-world-with-numeratis-survey-for-upcoming-events
 
921
  "),
922
 
923
  br(),
@@ -936,7 +935,7 @@ ui <- shinydashboardPlus::dashboardPage(
936
 
937
  footer = shinydashboardPlus::dashboardFooter(
938
  left = "Powered by ❤️, ☕, Shiny, and 🤗 Spaces",
939
- right = paste0("Version 0.2.6"))
940
 
941
  )
942
 
 
240
 
241
  pickerInput(inputId = "model",
242
  label = " ",
243
+ choices = ls_username, # Replace this with your own models if needed
244
  multiple = TRUE,
245
  width = "100%",
246
  options = list(
 
249
  size = 20,
250
  `actions-box` = TRUE,
251
  `live-search` = TRUE,
252
+ `live-search-placeholder` = "For example: V43_LGBM_CYRUS20",
253
  `virtual-scroll` = TRUE,
254
  `multiple-separator` = ", ",
255
  `selected-text-format`= "count > 3",
 
554
  ),
555
 
556
 
557
+ # tabPanel("Payout (Sim)",
558
+ #
559
+ # br(),
560
+ #
561
+ # h3(strong(textOutput(outputId = "text_payout_sim"))),
562
+ #
563
+ # br(),
564
+ #
565
+ # # markdown("![new_tc_change](https://i.ibb.co/XjKwtzr/screenshot-2023-10-05-at-10.png)"),
566
+ # markdown("![new_mmc](https://forum.numer.ai/uploads/default/optimized/2X/0/0b04785bd7167ff261f26325bc926c107398e26a_2_1035x729.jpeg)"),
567
+ #
568
+ #
569
+ # br(),
570
+ #
571
+ # markdown("#### **Notes**:
572
+ #
573
+ # - **sum_pay**: Sum of Payouts
574
+ # - **shp_pay**: Sharpe Ratio of Payouts
575
+ # - **1C3T**: 1xCORRv2 + 3xTC (Original Degen Mode)
576
+ # - **1C0T**: 1xCORRv2 + 0xTC (Until the End of 2023)
577
+ # - **2C0T**: 2xCORRv2 + 0xTC (Until the End of 2023)
578
+ # - **2C1T**: 2xCORRv2 + 1xTC (Until the End of 2023)
579
+ # - **05C2M**: 0.5xCORRv2 + 2xMMCv2 (**New Payout Mode**)
580
+ #
581
+ #
582
+ # "),
583
+ #
584
+ # br(),
585
+ #
586
+ # markdown("### **Payout Simulation (Overall)**"),
587
+ #
588
+ # DTOutput("dt_payout_sim_overall"),
589
+ #
590
+ # br(),
591
+ #
592
+ # br(),
593
+ #
594
+ # markdown("### **Payout Simulation (Individual Models)**"),
595
+ #
596
+ # br(),
597
+ #
598
+ # DTOutput("dt_payout_sim_model"),
599
+ #
600
+ # br()
601
+ #
602
+ # ), # End of Payout Sim
603
 
604
  tabPanel("Payout Chart (Rounds)",
605
 
 
626
  shinycssloaders::withSpinner(plotlyOutput("plot_payout_individual")),
627
 
628
  br()
629
+ )
630
 
631
 
632
+ # tabPanel("KPI (x~y)",
633
+ #
634
+ # br(),
635
+ #
636
+ # markdown("![image](https://media.giphy.com/media/cftSzNoCTfSyAWctcl/giphy.gif)"),
637
+ #
638
+ # br(),
639
+ #
640
+ # fluidRow(
641
+ #
642
+ # column(6,
643
+ # markdown("#### **X-Axis:**"),
644
+ # pickerInput(
645
+ # inputId = "kpi_xy_x",
646
+ # choices = c("CORRv2: CORRelation with target cyrus_v4_20",
647
+ # "MMCv2: The Latest and the Greatest MMC",
648
+ # "TC: True Contribtuion to the hedge fund's returns",
649
+ # "FNCv3: Feature Neutral Correlation with respect to the FNCv3 features",
650
+ # "Percentile: MMCv2",
651
+ # "Percentile: CORRv2",
652
+ # "Percentile: TC",
653
+ # "Percentile: FNCv3",
654
+ # "CWMM: Correlation With the Meta Model",
655
+ # "MCWNM: Maximum Correlation With Numerai Models staked at least 10 NMR",
656
+ # "APCWNM: Average Pairwise Correlation With Numerai Models staked at least 10 NMR"),
657
+ #
658
+ # multiple = FALSE,
659
+ # width = "95%")
660
+ # ),
661
+ #
662
+ # column(6,
663
+ # markdown("#### **Y-Axis:**"),
664
+ # pickerInput(
665
+ # inputId = "kpi_xy_y",
666
+ # choices = c("MMCv2: The Latest and the Greatest MMC",
667
+ # "CORRv2: CORRelation with target cyrus_v4_20",
668
+ # "TC: True Contribtuion to the hedge fund's returns",
669
+ # "FNCv3: Feature Neutral Correlation with respect to the FNCv3 features",
670
+ # "Percentile: MMCv2",
671
+ # "Percentile: CORRv2",
672
+ # "Percentile: TC",
673
+ # "Percentile: FNCv3",
674
+ # "CWMM: Correlation With the Meta Model",
675
+ # "MCWNM: Maximum Correlation With Numerai Models staked at least 10 NMR",
676
+ # "APCWNM: Average Pairwise Correlation With Numerai Models staked at least 10 NMR"),
677
+ #
678
+ # multiple = FALSE,
679
+ # width = "95%")
680
+ # ),
681
+ #
682
+ # column(2,
683
+ # markdown("#### **Control 1**"),
684
+ # switchInput(
685
+ # inputId = "kpi_xy_ctrl_1",
686
+ # onLabel = "Yes",
687
+ # offLabel = "No",
688
+ # value = TRUE)
689
+ # ),
690
+ #
691
+ # column(2,
692
+ # markdown("#### **Control 2**"),
693
+ # switchInput(
694
+ # inputId = "kpi_xy_ctrl_2",
695
+ # onLabel = "Yes",
696
+ # offLabel = "No",
697
+ # value = FALSE)
698
+ # ),
699
+ #
700
+ # column(2,
701
+ # markdown("#### **Control 3**"),
702
+ # switchInput(
703
+ # inputId = "kpi_xy_ctrl_3",
704
+ # onLabel = "Yes",
705
+ # offLabel = "No",
706
+ # value = FALSE)
707
+ # ),
708
+ #
709
+ # column(2,
710
+ # markdown("#### **Control 4**"),
711
+ # switchInput(
712
+ # inputId = "kpi_xy_ctrl_4",
713
+ # onLabel = "Yes",
714
+ # offLabel = "No",
715
+ # value = FALSE)
716
+ # ),
717
+ #
718
+ # column(2,
719
+ # markdown("#### **Control 5**"),
720
+ # switchInput(
721
+ # inputId = "kpi_xy_ctrl_5",
722
+ # onLabel = "Yes",
723
+ # offLabel = "No",
724
+ # value = FALSE)
725
+ # ),
726
+ #
727
+ # column(2,
728
+ # markdown("#### **Control 6**"),
729
+ # switchInput(
730
+ # inputId = "kpi_xy_ctrl_6",
731
+ # onLabel = "Yes",
732
+ # offLabel = "No",
733
+ # value = FALSE)
734
+ # )
735
+ #
736
+ #
737
+ # ),
738
+ #
739
+ # br()
740
+ #
741
+ # ) # end of KPI (x~y)
 
 
742
 
743
  ) # end of tabsetPanel
744
 
 
916
  - #### **0.2.4** — Added `MMC` to `Payout Sim`
917
  - #### **0.2.5** — Added more features related to MMC
918
  - #### **0.2.6** — Added survey results - Ref: https://forum.numer.ai/t/around-the-world-with-numeratis-survey-for-upcoming-events
919
+ - #### **0.2.7** — Removed `Payout Simulation`
920
  "),
921
 
922
  br(),
 
935
 
936
  footer = shinydashboardPlus::dashboardFooter(
937
  left = "Powered by ❤️, ☕, Shiny, and 🤗 Spaces",
938
+ right = paste0("Version 0.2.7"))
939
 
940
  )
941