You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6715c50
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Sources/Oatcake/TodosView.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,13 +61,13 @@ struct TodosView: View {
61
61
TextField("Add a to-do, then Return",text:$draft)
62
62
.textFieldStyle(.plain)
63
63
.focused($addFocused)
64
-
.help("Yours unless you name someone: Send the deck - Alex - due Fri, Nov 6")
64
+
.help("Yours unless you name someone: Send the deck - Jane - due Fri, Nov 6")
65
65
.onSubmit(add)
66
66
}
67
67
.padding(.top,22)
68
68
// How adding works, only while adding.
69
69
ifaddFocused{
70
-
Text("Saved in your Meetings folder’s own todo.md, as yours unless you name someone: Send the deck - Alex - due Fri, Nov 6. To add one to a meeting, use the to-dos at the top of its summary.")
70
+
Text("Saved in your Meetings folder’s own todo.md, as yours unless you name someone: Send the deck - Jane - due Fri, Nov 6. To add one to a meeting, use the to-dos at the top of its summary.")
Some speakers are only labelled "Speaker A", "Speaker B" and so on. For each of them, find their real name if the transcript gives it away: when someone says a name while asking a question and the very next line is that speaker answering, the name is theirs; or they introduce themselves ("Alex here"). Take a name only from words in the transcript. If nothing in the transcript shows the name, the name is null; never guess and never invent one.
360
+
Some speakers are only labelled "Speaker A", "Speaker B" and so on. For each of them, find their real name if the transcript gives it away: when someone says a name while asking a question and the very next line is that speaker answering, the name is theirs; or they introduce themselves ("Jane here"). Take a name only from words in the transcript. If nothing in the transcript shows the name, the name is null; never guess and never invent one.
Copy file name to clipboardExpand all lines: Tests/OatcakeCoreTests/AnalysisTests.swift
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -25,45 +25,45 @@ import Testing
25
25
26
26
/// A name is only suggested when it was said: a small model asked for one will sometimes invent it.
27
27
@TestfuncsuggestedNames()asyncthrows{
28
-
lettranscript="Sam Taylor (recorder): Priya, where are we with pricing?\nSpeaker A: Nearly there.\nSpeaker B: I agree with Priya."
29
-
letreply=#"{"speakers":[{"speaker":"Speaker A","name":"Priya","quote":"Priya, where are we"},{"speaker":"B","name":"Jordan Lee","quote":null},{"speaker":"C","name":"Sam","quote":"x"},{"speaker":"Z","name":"Priya","quote":"x"}]}"#
lettranscript="John Doe (recorder): Joe Bloggs, where are we with pricing?\nSpeaker A: Nearly there.\nSpeaker B: I agree with Joe Bloggs."
29
+
letreply=#"{"speakers":[{"speaker":"Speaker A","name":"Joe Bloggs","quote":"Joe Bloggs, where are we"},{"speaker":"B","name":"Richard Roe","quote":null},{"speaker":"C","name":"John","quote":"x"},{"speaker":"Z","name":"Joe Bloggs","quote":"x"}]}"#
// Said means said as a word: "Dan" isn't in "abundant", and "Ann" isn't in "announce". A name in two parts is.
35
-
letsaid="Sam Taylor (recorder): Jean-Luc, the evidence is abundant.\nSpeaker A: I will announce it.\nSpeaker B: Fine."
36
-
letmade=#"{"speakers":[{"speaker":"A","name":"Dan","quote":null},{"speaker":"B","name":"Ann","quote":null},{"speaker":"C","name":"Jean-Luc","quote":"Jean-Luc, the evidence"}]}"#
// Said means said as a word: "Smith" isn't in "blacksmith", and "Roe" isn't in "throes". A name in two parts is.
35
+
letsaid="John Doe (recorder): Joe Bloggs, the blacksmith is here.\nSpeaker A: The work is in its final throes.\nSpeaker B: Fine."
36
+
letmade=#"{"speakers":[{"speaker":"A","name":"Smith","quote":null},{"speaker":"B","name":"Roe","quote":null},{"speaker":"C","name":"Joe Bloggs","quote":"Joe Bloggs, the blacksmith"}]}"#
letserver=tryawaitStandIn.model{_in#"{"speakers":[{"speaker":"A","name":"Priya","quote":"Priya, where are we"},{"speaker":"B","name":"Priya","quote":null}]}"#}
52
+
letserver=tryawaitStandIn.model{_in#"{"speakers":[{"speaker":"A","name":"Joe Bloggs","quote":"Joe Bloggs, where are we"},{"speaker":"B","name":"Joe Bloggs","quote":null}]}"#}
0 commit comments