zechen-nlp commited on
Commit
b1c4cbb
·
verified ·
1 Parent(s): ff545d2

Update Automated MNLP evaluation report (2026-05-24)

Browse files
Files changed (1) hide show
  1. EVAL_REPORT.md +170 -11
EVAL_REPORT.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  - **Model repo:** [`cs-552-2026-momy/math_model`](https://huggingface.co/cs-552-2026-momy/math_model)
4
  - **Owner(s):** group **momy**
5
- - **Generated at:** 2026-05-23T14:37:35+00:00 (UTC)
6
  - **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
7
 
8
  _This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
@@ -11,20 +11,179 @@ _This PR is opened automatically by the course CI. It is **non-blocking** — yo
11
 
12
  | Benchmark | Accuracy | Status |
13
  |---|---:|---|
14
- | Math | | error (repo_check) |
15
  | Knowledge | — | not run |
16
  | Multilingual | — | not run |
17
  | Safety | — | not run |
18
 
19
- ## Errors
20
 
21
- ### math `repo_check`
22
 
23
- ```
24
- HF repo not accessible: 404 Client Error. (Request ID: Root=1-6a0bc5b5-48e6b56e6cda8ae01a95a2d0;441c45a3-ac35-454d-94a4-62358e33c172)
25
 
26
- Repository Not Found for url: https://huggingface.co/api/models/cs-552-2026-momy/math_model.
27
- Please make sure you specified the correct `repo_id` and `repo_type`.
28
- If you are trying to access a private or gated repo, make sure you are authenticated and your token has the required permissions.
29
- For more details, see https://huggingface.co/docs/huggingface_hub/authentication
30
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  - **Model repo:** [`cs-552-2026-momy/math_model`](https://huggingface.co/cs-552-2026-momy/math_model)
4
  - **Owner(s):** group **momy**
5
+ - **Generated at:** 2026-05-24T16:13:44+00:00 (UTC)
6
  - **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
7
 
8
  _This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
 
11
 
12
  | Benchmark | Accuracy | Status |
13
  |---|---:|---|
14
+ | Math | 0.3700 | ok |
15
  | Knowledge | — | not run |
16
  | Multilingual | — | not run |
17
  | Safety | — | not run |
18
 
19
+ ## Sample completions
20
 
21
+ _Prompts are intentionally omitted to avoid revealing benchmark contents. For multi-completion problems, only one completion is shown per sample._
22
 
23
+ ### Math
 
24
 
25
+ **Correct** (1 shown)
26
+
27
+ - **reference**: `194`
28
+ - **overall** (6/8 completions correct)
29
+ - **extracted** (✓): `194`
30
+ - **completion**:
31
+
32
+ ```text
33
+ We are given a $194 \times 194$ board and asked to find the **least positive integer $k$** such that we can choose $k$ cells to mark, and there exists a **tiling** of the board with **$1 \times 2$ and $2 \times 1$ dominoes**, such that **every domino contains at most one marked cell**.
34
+
35
+ ---
36
+
37
+ ### Step 1: Understand the Problem
38
+
39
+ We are to find the **minimum number of marked cells** such that:
40
+
41
+ - The
42
+
43
+ ... [truncated 821 chars] ...
44
+
45
+ lls.
46
+ - $M$ is a **matching** in the graph (i.e., no two marked cells are adjacent).
47
+ - Then, **every perfect matching** can contain at most one marked cell.
48
+
49
+ This is equivalent to saying that **$M$ is a matching** in the graph, and **every perfect matching** intersects $M$ in at most one vertex.
50
+
51
+ This is a **matching covering** problem with a **constraint**.
52
+
53
+ ---
54
+
55
+ ### Step 10: Use the Concept of a "Matching" and "Covering"
56
+
57
+ Let’s consider the following:
58
+
59
+ - The **maximum number of marked cells** such that **every perfect matching** contains at most one of them is the **maximum matching** in the graph.
60
+
61
+ This is a known result in **matching theory**.
62
+
63
+ ---
64
+
65
+ ### Step 11: Final Answer
66
+
67
+ We are to find the **minimum** $k$ such that **every perfect matching** of the board has **at most one marked cell**.
68
+
69
+ This is equivalent to finding the **maximum matching** in the graph, and then placing $k$ marked cells such that **no perfect matching contains more than one of them**.
70
+
71
+ This is a known result in **matching theory**.
72
+
73
+ ---
74
+
75
+ ### ✅ Final Answer:
76
+
77
+ $$
78
+ \boxed{194}
79
+ $$
80
+
81
+ This is the **minimum number of marked cells** such that **every tiling** of the board has **at most one marked cell per domino**.
82
+ ```
83
+
84
+ **Incorrect** (1 shown)
85
+
86
+ - **reference**: `3069`
87
+ - **overall** (0/8 completions correct)
88
+ - **extracted** (✗): `1168`
89
+ - **completion**:
90
+
91
+ ```text
92
+ We are given a function $ s_k(n) $, which is the **sum of the digits** in the base-$k$ representation of $ n $, and we are told that a positive integer $ n $ is called a **digiroot** if:
93
+
94
+ $$
95
+ s_2(n) = \sqrt{s_4(n)}
96
+ $$
97
+
98
+ We are to find the **sum of all digiroots less than 1000**.
99
+
100
+ ---
101
+
102
+ ### Step 1: Understand the Definitions
103
+
104
+ - $ s_k(n) $: sum of digits in base-$k$ representation of $ n $
105
+ - $ s_2(n) $
106
+
107
+ ... [truncated 204 chars] ...
108
+
109
+ $$
110
+
111
+ This is the key equation we need to solve.
112
+
113
+ ---
114
+
115
+ ### Step 2: Understand the Implications
116
+
117
+ We are to find all $ n < 1000 $ such that:
118
+
119
+ $$
120
+ s_2(n)^2 = s_4(n)
121
+ $$
122
+
123
+ Let’s denote:
124
+
125
+ - $ s_2(n) = a $
126
+ - $ s_4(n) = a^2 $
127
+
128
+ So, we are looking for $ n < 1000 $ such that the **sum of digits in base-2** is $ a $, and the **sum of digits in base-4** is $ a^2 $.
129
+
130
+ ---
131
+
132
+ ### Step 3: Strategy
133
+
134
+ We can iterate over all $ n < 1000 $, compute:
135
+
136
+ - $ s_2(n) $: sum of binary digits
137
+ - $ s_4(n) $: sum of base-4 digits
138
+
139
+ Check if $ s_2(n)^2 = s_4(n) $
140
+
141
+ If so, then $ n $ is a digiroot.
142
+
143
+ ---
144
+
145
+ ### Step 4: Implementation (Code or Computation)
146
+
147
+ We can write a small program or use a brute-force approach to find all such $ n < 1000 $.
148
+
149
+ Let’s do this in code.
150
+
151
+ ---
152
+
153
+ ### Step 5: Code (Python)
154
+
155
+ ```python
156
+ def s_k(n, k):
157
+ return sum(int(digit) for digit in bin(n)[2:])
158
+
159
+ def is_digiroot(n):
160
+ s2 = s_k(n, 2)
161
+ s4 = s_k(n, 4)
162
+ return s2 * s2 == s4
163
+
164
+ digiroots = []
165
+ for n in range(1, 1000):
166
+ if is_digiroot(n):
167
+ digiroots.append(n)
168
+
169
+ print("Sum of all digiroots less than 1000:", sum(digiroots))
170
+ ```
171
+
172
+ ---
173
+
174
+ ### Step 6: Result
175
+
176
+ Running the code gives:
177
+
178
+ $$
179
+ \boxed{1168}
180
+ $$
181
+
182
+ ---
183
+
184
+ ### ✅ Final Answer:
185
+
186
+ $$
187
+ \boxed{1168}
188
+ $$
189
+ ```