quantcheck 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. quantcheck/__init__.py +3 -0
  2. quantcheck/auth/__init__.py +6 -0
  3. quantcheck/auth/base.py +74 -0
  4. quantcheck/auth/callback.py +73 -0
  5. quantcheck/auth/fake.py +40 -0
  6. quantcheck/auth/service.py +49 -0
  7. quantcheck/auth/store.py +63 -0
  8. quantcheck/auth/supabase.py +168 -0
  9. quantcheck/bench.py +38 -0
  10. quantcheck/candidates.py +138 -0
  11. quantcheck/cli.py +251 -0
  12. quantcheck/config.py +63 -0
  13. quantcheck/executors/__init__.py +0 -0
  14. quantcheck/hardware.py +52 -0
  15. quantcheck/limits.py +19 -0
  16. quantcheck/pipeline.py +172 -0
  17. quantcheck/prompt.py +67 -0
  18. quantcheck/recommend.py +131 -0
  19. quantcheck/report/__init__.py +0 -0
  20. quantcheck/report/html.py +38 -0
  21. quantcheck/report/templates/report.html.j2 +272 -0
  22. quantcheck/report/terminal.py +90 -0
  23. quantcheck/report/tokens.py +41 -0
  24. quantcheck/report/view.py +161 -0
  25. quantcheck/runners/__init__.py +3 -0
  26. quantcheck/runners/base.py +87 -0
  27. quantcheck/runners/fake.py +68 -0
  28. quantcheck/runners/llamacpp_runner.py +185 -0
  29. quantcheck/runners/mlx_runner.py +153 -0
  30. quantcheck/runners/toolparse.py +107 -0
  31. quantcheck/scoring/__init__.py +0 -0
  32. quantcheck/scoring/checks.py +342 -0
  33. quantcheck/scoring/fake_judge.py +50 -0
  34. quantcheck/scoring/judge.py +171 -0
  35. quantcheck/scoring/language.py +99 -0
  36. quantcheck/scoring/models.py +92 -0
  37. quantcheck/scoring/score.py +167 -0
  38. quantcheck/scoring/stats.py +60 -0
  39. quantcheck/settings.py +14 -0
  40. quantcheck/store.py +88 -0
  41. quantcheck/tests_io.py +169 -0
  42. quantcheck/ui/__init__.py +1 -0
  43. quantcheck/ui/app.py +534 -0
  44. quantcheck/ui/catalog.py +47 -0
  45. quantcheck/ui/chat.py +211 -0
  46. quantcheck/ui/compare.py +63 -0
  47. quantcheck/ui/downloads.py +172 -0
  48. quantcheck/ui/jobs.py +173 -0
  49. quantcheck/ui/modeldetail.py +97 -0
  50. quantcheck/ui/reviews.py +59 -0
  51. quantcheck/ui/security.py +45 -0
  52. quantcheck/ui/static/chat.js +312 -0
  53. quantcheck/ui/static/fonts/JetBrainsMono-latin-b87346.woff2 +0 -0
  54. quantcheck/ui/static/fonts/JetBrainsMono-latin-ext-9326b4.woff2 +0 -0
  55. quantcheck/ui/static/fonts/NotoSansDevanagari-devanagari-3819bb.woff2 +0 -0
  56. quantcheck/ui/static/fonts/NotoSansDevanagari-latin-ext-542103.woff2 +0 -0
  57. quantcheck/ui/static/fonts/NotoSansDevanagari-latin-f3aaed.woff2 +0 -0
  58. quantcheck/ui/static/fonts/NotoSansTamil-latin-17e6dc.woff2 +0 -0
  59. quantcheck/ui/static/fonts/NotoSansTamil-latin-ext-027c12.woff2 +0 -0
  60. quantcheck/ui/static/fonts/NotoSansTamil-tamil-a57d5e.woff2 +0 -0
  61. quantcheck/ui/static/fonts/Outfit-latin-ebadd8.woff2 +0 -0
  62. quantcheck/ui/static/fonts/Outfit-latin-ext-744997.woff2 +0 -0
  63. quantcheck/ui/static/fonts/README.md +14 -0
  64. quantcheck/ui/static/fonts.css +228 -0
  65. quantcheck/ui/static/index.html +24 -0
  66. quantcheck/ui/static/lab.css +768 -0
  67. quantcheck/ui/static/lab.js +896 -0
  68. quantcheck/ui/static/logo.svg +5 -0
  69. quantcheck/ui/static/review.js +127 -0
  70. quantcheck/ui/static/setup.js +132 -0
  71. quantcheck/ui/static/testsets.js +527 -0
  72. quantcheck/ui/summary.py +104 -0
  73. quantcheck/ui/system.py +101 -0
  74. quantcheck/ui/testsets.py +243 -0
  75. quantcheck-0.0.1.dist-info/METADATA +115 -0
  76. quantcheck-0.0.1.dist-info/RECORD +79 -0
  77. quantcheck-0.0.1.dist-info/WHEEL +4 -0
  78. quantcheck-0.0.1.dist-info/entry_points.txt +2 -0
  79. quantcheck-0.0.1.dist-info/licenses/LICENSE +202 -0
@@ -0,0 +1,228 @@
1
+ /* JetBrains Mono latin-ext */
2
+ @font-face {
3
+ font-family: 'JetBrains Mono';
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ font-display: swap;
7
+ src: url(/static/fonts/JetBrainsMono-latin-ext-9326b4.woff2) format('woff2');
8
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
9
+ }
10
+ /* JetBrains Mono latin */
11
+ @font-face {
12
+ font-family: 'JetBrains Mono';
13
+ font-style: normal;
14
+ font-weight: 400;
15
+ font-display: swap;
16
+ src: url(/static/fonts/JetBrainsMono-latin-b87346.woff2) format('woff2');
17
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
18
+ }
19
+ /* JetBrains Mono latin-ext */
20
+ @font-face {
21
+ font-family: 'JetBrains Mono';
22
+ font-style: normal;
23
+ font-weight: 500;
24
+ font-display: swap;
25
+ src: url(/static/fonts/JetBrainsMono-latin-ext-9326b4.woff2) format('woff2');
26
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
27
+ }
28
+ /* JetBrains Mono latin */
29
+ @font-face {
30
+ font-family: 'JetBrains Mono';
31
+ font-style: normal;
32
+ font-weight: 500;
33
+ font-display: swap;
34
+ src: url(/static/fonts/JetBrainsMono-latin-b87346.woff2) format('woff2');
35
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
36
+ }
37
+ /* Noto Sans Devanagari devanagari */
38
+ @font-face {
39
+ font-family: 'Noto Sans Devanagari';
40
+ font-style: normal;
41
+ font-weight: 400;
42
+ font-stretch: 100%;
43
+ font-display: swap;
44
+ src: url(/static/fonts/NotoSansDevanagari-devanagari-3819bb.woff2) format('woff2');
45
+ unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
46
+ }
47
+ /* Noto Sans Devanagari latin-ext */
48
+ @font-face {
49
+ font-family: 'Noto Sans Devanagari';
50
+ font-style: normal;
51
+ font-weight: 400;
52
+ font-stretch: 100%;
53
+ font-display: swap;
54
+ src: url(/static/fonts/NotoSansDevanagari-latin-ext-542103.woff2) format('woff2');
55
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
56
+ }
57
+ /* Noto Sans Devanagari latin */
58
+ @font-face {
59
+ font-family: 'Noto Sans Devanagari';
60
+ font-style: normal;
61
+ font-weight: 400;
62
+ font-stretch: 100%;
63
+ font-display: swap;
64
+ src: url(/static/fonts/NotoSansDevanagari-latin-f3aaed.woff2) format('woff2');
65
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
66
+ }
67
+ /* Noto Sans Devanagari devanagari */
68
+ @font-face {
69
+ font-family: 'Noto Sans Devanagari';
70
+ font-style: normal;
71
+ font-weight: 500;
72
+ font-stretch: 100%;
73
+ font-display: swap;
74
+ src: url(/static/fonts/NotoSansDevanagari-devanagari-3819bb.woff2) format('woff2');
75
+ unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
76
+ }
77
+ /* Noto Sans Devanagari latin-ext */
78
+ @font-face {
79
+ font-family: 'Noto Sans Devanagari';
80
+ font-style: normal;
81
+ font-weight: 500;
82
+ font-stretch: 100%;
83
+ font-display: swap;
84
+ src: url(/static/fonts/NotoSansDevanagari-latin-ext-542103.woff2) format('woff2');
85
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
86
+ }
87
+ /* Noto Sans Devanagari latin */
88
+ @font-face {
89
+ font-family: 'Noto Sans Devanagari';
90
+ font-style: normal;
91
+ font-weight: 500;
92
+ font-stretch: 100%;
93
+ font-display: swap;
94
+ src: url(/static/fonts/NotoSansDevanagari-latin-f3aaed.woff2) format('woff2');
95
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
96
+ }
97
+ /* Noto Sans Tamil tamil */
98
+ @font-face {
99
+ font-family: 'Noto Sans Tamil';
100
+ font-style: normal;
101
+ font-weight: 400;
102
+ font-stretch: 100%;
103
+ font-display: swap;
104
+ src: url(/static/fonts/NotoSansTamil-tamil-a57d5e.woff2) format('woff2');
105
+ unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
106
+ }
107
+ /* Noto Sans Tamil latin-ext */
108
+ @font-face {
109
+ font-family: 'Noto Sans Tamil';
110
+ font-style: normal;
111
+ font-weight: 400;
112
+ font-stretch: 100%;
113
+ font-display: swap;
114
+ src: url(/static/fonts/NotoSansTamil-latin-ext-027c12.woff2) format('woff2');
115
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
116
+ }
117
+ /* Noto Sans Tamil latin */
118
+ @font-face {
119
+ font-family: 'Noto Sans Tamil';
120
+ font-style: normal;
121
+ font-weight: 400;
122
+ font-stretch: 100%;
123
+ font-display: swap;
124
+ src: url(/static/fonts/NotoSansTamil-latin-17e6dc.woff2) format('woff2');
125
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
126
+ }
127
+ /* Noto Sans Tamil tamil */
128
+ @font-face {
129
+ font-family: 'Noto Sans Tamil';
130
+ font-style: normal;
131
+ font-weight: 500;
132
+ font-stretch: 100%;
133
+ font-display: swap;
134
+ src: url(/static/fonts/NotoSansTamil-tamil-a57d5e.woff2) format('woff2');
135
+ unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
136
+ }
137
+ /* Noto Sans Tamil latin-ext */
138
+ @font-face {
139
+ font-family: 'Noto Sans Tamil';
140
+ font-style: normal;
141
+ font-weight: 500;
142
+ font-stretch: 100%;
143
+ font-display: swap;
144
+ src: url(/static/fonts/NotoSansTamil-latin-ext-027c12.woff2) format('woff2');
145
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
146
+ }
147
+ /* Noto Sans Tamil latin */
148
+ @font-face {
149
+ font-family: 'Noto Sans Tamil';
150
+ font-style: normal;
151
+ font-weight: 500;
152
+ font-stretch: 100%;
153
+ font-display: swap;
154
+ src: url(/static/fonts/NotoSansTamil-latin-17e6dc.woff2) format('woff2');
155
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
156
+ }
157
+ /* Outfit latin-ext */
158
+ @font-face {
159
+ font-family: 'Outfit';
160
+ font-style: normal;
161
+ font-weight: 400;
162
+ font-display: swap;
163
+ src: url(/static/fonts/Outfit-latin-ext-744997.woff2) format('woff2');
164
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
165
+ }
166
+ /* Outfit latin */
167
+ @font-face {
168
+ font-family: 'Outfit';
169
+ font-style: normal;
170
+ font-weight: 400;
171
+ font-display: swap;
172
+ src: url(/static/fonts/Outfit-latin-ebadd8.woff2) format('woff2');
173
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
174
+ }
175
+ /* Outfit latin-ext */
176
+ @font-face {
177
+ font-family: 'Outfit';
178
+ font-style: normal;
179
+ font-weight: 500;
180
+ font-display: swap;
181
+ src: url(/static/fonts/Outfit-latin-ext-744997.woff2) format('woff2');
182
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
183
+ }
184
+ /* Outfit latin */
185
+ @font-face {
186
+ font-family: 'Outfit';
187
+ font-style: normal;
188
+ font-weight: 500;
189
+ font-display: swap;
190
+ src: url(/static/fonts/Outfit-latin-ebadd8.woff2) format('woff2');
191
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
192
+ }
193
+ /* Outfit latin-ext */
194
+ @font-face {
195
+ font-family: 'Outfit';
196
+ font-style: normal;
197
+ font-weight: 600;
198
+ font-display: swap;
199
+ src: url(/static/fonts/Outfit-latin-ext-744997.woff2) format('woff2');
200
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
201
+ }
202
+ /* Outfit latin */
203
+ @font-face {
204
+ font-family: 'Outfit';
205
+ font-style: normal;
206
+ font-weight: 600;
207
+ font-display: swap;
208
+ src: url(/static/fonts/Outfit-latin-ebadd8.woff2) format('woff2');
209
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
210
+ }
211
+ /* Outfit latin-ext */
212
+ @font-face {
213
+ font-family: 'Outfit';
214
+ font-style: normal;
215
+ font-weight: 700;
216
+ font-display: swap;
217
+ src: url(/static/fonts/Outfit-latin-ext-744997.woff2) format('woff2');
218
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
219
+ }
220
+ /* Outfit latin */
221
+ @font-face {
222
+ font-family: 'Outfit';
223
+ font-style: normal;
224
+ font-weight: 700;
225
+ font-display: swap;
226
+ src: url(/static/fonts/Outfit-latin-ebadd8.woff2) format('woff2');
227
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
228
+ }
@@ -0,0 +1,24 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>quantcheck lab</title>
7
+ <link rel="icon" href="/static/logo.svg" type="image/svg+xml">
8
+ <link rel="stylesheet" href="/static/tokens.css">
9
+ <link rel="stylesheet" href="/static/fonts.css">
10
+ <link rel="stylesheet" href="/static/lab.css">
11
+ <script>
12
+ // Apply the saved theme before first paint (no flash). Storage may be unavailable.
13
+ try { var t = localStorage.getItem("qc-theme"); if (t === "light" || t === "dark") document.documentElement.dataset.theme = t; } catch (e) {}
14
+ </script>
15
+ </head>
16
+ <body>
17
+ <div id="app"><p class="boot">Loading quantcheck…</p></div>
18
+ <script src="/static/testsets.js"></script>
19
+ <script src="/static/review.js"></script>
20
+ <script src="/static/chat.js"></script>
21
+ <script src="/static/setup.js"></script>
22
+ <script src="/static/lab.js"></script>
23
+ </body>
24
+ </html>