Fetch from live bucket

#6
by AndiA - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50) hide show
  1. cref/README.md +2 -2
  2. cref/controls.py +11 -1
  3. cref/data/v1/leaderboard/all_samples/history/2026-07-04.json +0 -0
  4. cref/data/v1/leaderboard/all_samples/history/2026-07-11.json +0 -0
  5. cref/data/v1/leaderboard/all_samples/history/2026-07-18.json +0 -0
  6. cref/data/v1/leaderboard/all_samples/history/2026-07-25.json +0 -0
  7. cref/data/v1/leaderboard/all_samples/history/2026-08-01.json +0 -0
  8. cref/data/v1/leaderboard/all_samples/history/2026-08-08.json +0 -0
  9. cref/data/v1/leaderboard/all_samples/history/2026-08-15.json +0 -0
  10. cref/data/v1/leaderboard/all_samples/history/2026-08-22.json +0 -0
  11. cref/data/v1/leaderboard/all_samples/history/2026-08-29.json +0 -0
  12. cref/data/v1/leaderboard/all_samples/history/2026-09-05.json +0 -0
  13. cref/data/v1/leaderboard/all_samples/history/2026-09-12.json +0 -0
  14. cref/data/v1/leaderboard/all_samples/history/2026-09-19.json +0 -0
  15. cref/data/v1/leaderboard/all_samples/history/2026-09-26.json +0 -0
  16. cref/data/v1/leaderboard/all_samples/history/2026-10-03.json +0 -0
  17. cref/data/v1/leaderboard/all_samples/history/2026-10-10.json +0 -0
  18. cref/data/v1/leaderboard/all_samples/history/2026-10-17.json +0 -0
  19. cref/data/v1/leaderboard/all_samples/history/2026-10-24.json +0 -0
  20. cref/data/v1/leaderboard/all_samples/history/2026-10-31.json +0 -0
  21. cref/data/v1/leaderboard/all_samples/history/2026-11-01.json +0 -0
  22. cref/data/v1/leaderboard/all_samples/history/2026-11-02.json +0 -0
  23. cref/data/v1/leaderboard/all_samples/history/2026-11-03.json +0 -0
  24. cref/data/v1/leaderboard/all_samples/history/2026-11-04.json +0 -0
  25. cref/data/v1/leaderboard/all_samples/history/2026-11-05.json +0 -0
  26. cref/data/v1/leaderboard/all_samples/history/2026-11-06.json +0 -0
  27. cref/data/v1/leaderboard/all_samples/history/2026-11-07.json +0 -0
  28. cref/data/v1/leaderboard/all_samples/history/2026-11-08.json +0 -0
  29. cref/data/v1/leaderboard/all_samples/latest.json +0 -0
  30. cref/data/v1/leaderboard/history/2026-07-04.json +0 -0
  31. cref/data/v1/leaderboard/history/2026-07-11.json +0 -0
  32. cref/data/v1/leaderboard/history/2026-07-18.json +0 -0
  33. cref/data/v1/leaderboard/history/2026-07-25.json +0 -0
  34. cref/data/v1/leaderboard/history/2026-08-01.json +0 -0
  35. cref/data/v1/leaderboard/history/2026-08-08.json +0 -0
  36. cref/data/v1/leaderboard/history/2026-08-15.json +0 -0
  37. cref/data/v1/leaderboard/history/2026-08-22.json +0 -0
  38. cref/data/v1/leaderboard/history/2026-08-29.json +0 -0
  39. cref/data/v1/leaderboard/history/2026-09-05.json +0 -0
  40. cref/data/v1/leaderboard/history/2026-09-12.json +0 -0
  41. cref/data/v1/leaderboard/history/2026-09-19.json +0 -0
  42. cref/data/v1/leaderboard/history/2026-09-26.json +0 -0
  43. cref/data/v1/leaderboard/history/2026-10-03.json +0 -0
  44. cref/data/v1/leaderboard/history/2026-10-10.json +0 -0
  45. cref/data/v1/leaderboard/history/2026-10-17.json +0 -0
  46. cref/data/v1/leaderboard/history/2026-10-24.json +0 -0
  47. cref/data/v1/leaderboard/history/2026-10-31.json +0 -0
  48. cref/data/v1/leaderboard/history/2026-11-01.json +0 -0
  49. cref/data/v1/leaderboard/history/2026-11-02.json +0 -0
  50. cref/data/v1/leaderboard/history/2026-11-03.json +0 -0
cref/README.md CHANGED
@@ -1,5 +1,5 @@
1
  # CREF leaderboard
2
 
3
- The CREF leaderboard, served at `/cref`. It reads the published leaderboards from
4
- `CREF_DATA_URL`, or from `cref/data/` when that is unset. Model names, types and links are
5
  in `models.toml`; the tasks are in `tasks.csv`.
 
1
  # CREF leaderboard
2
 
3
+ The CREF leaderboard, served at `/cref`. It reads the published files from
4
+ `source.PUBLIC_URL`, or from `CREF_DATA_URL` when that is set. Model names, types and links are
5
  in `models.toml`; the tasks are in `tasks.csv`.
cref/controls.py CHANGED
@@ -16,6 +16,16 @@ def history(variant: str = "release") -> source.History:
16
  return source.History.from_env(variant)
17
 
18
 
 
 
 
 
 
 
 
 
 
 
19
  @st.cache_resource
20
  def models() -> views.Models:
21
  return views.load_models()
@@ -61,7 +71,7 @@ def board_controls(models: views.Models) -> tuple[str, str, set[str]]:
61
  if variants:
62
  with cells[1]:
63
  variant = st.segmented_control(
64
- "Pretrained samples counted",
65
  list(views.VARIANTS),
66
  default="release",
67
  required=True,
 
16
  return source.History.from_env(variant)
17
 
18
 
19
+ @st.cache_resource(on_release=source.Source.close)
20
+ def incidents() -> source.Source:
21
+ return source.Source(source.base_from_env(), path=source.INCIDENTS, load=source.parse_text)
22
+
23
+
24
+ def public_url() -> str:
25
+ base = source.base_from_env()
26
+ return (base if base.startswith("https://") else source.PUBLIC_URL).rstrip("/")
27
+
28
+
29
  @st.cache_resource
30
  def models() -> views.Models:
31
  return views.load_models()
 
71
  if variants:
72
  with cells[1]:
73
  variant = st.segmented_control(
74
+ "Mode",
75
  list(views.VARIANTS),
76
  default="release",
77
  required=True,
cref/data/v1/leaderboard/all_samples/history/2026-07-04.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-07-11.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-07-18.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-07-25.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-08-01.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-08-08.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-08-15.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-08-22.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-08-29.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-09-05.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-09-12.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-09-19.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-09-26.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-10-03.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-10-10.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-10-17.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-10-24.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-10-31.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-01.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-02.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-03.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-04.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-05.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-06.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-07.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/history/2026-11-08.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/all_samples/latest.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-07-04.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-07-11.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-07-18.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-07-25.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-08-01.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-08-08.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-08-15.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-08-22.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-08-29.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-09-05.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-09-12.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-09-19.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-09-26.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-10-03.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-10-10.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-10-17.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-10-24.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-10-31.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-11-01.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-11-02.json DELETED
The diff for this file is too large to render. See raw diff
 
cref/data/v1/leaderboard/history/2026-11-03.json DELETED
The diff for this file is too large to render. See raw diff