"Let me think about it for a moment" does not start a thinking hold
Mantenedores costumam responder em até 1 dia
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Observed behavior
Since #192, an explicit spoken request for thinking time starts a thinking hold. requests_thinking_time() does not recognize a request that names what the candidate is thinking about and then how long: "Let me think about it for a moment." and "Let me think about that for a minute." both return false, so no hold starts. Each half is recognized on its own: "Let me think about it" and "Let me think for a moment" both return true. The phrasing is the one from #172 with "about it" added.
Expected behavior
A request with "about it", "about this" or "about that" before a duration, such as "Let me think about it for a moment.", holds the floor the same way "Let me think for a moment." does.
Reproduction
- On main at 4faffce, add "Let me think about it for a moment." to the first list in explicit_requests_keep_the_floor in tests/unit/agent/turn_taking.rs.
- Run cargo test --release explicit_requests_keep_the_floor.
- The test fails at tests/unit/agent/turn_taking.rs:40 with "Let me think about it for a moment."
CodeTrial version
codetrial 0.1.0 (4faffce)
Environment
OS: Ubuntu 26.04 on WSL2 (Windows)
Browser: not applicable, reproduced with a unit test
Language: not applicable
Interview loop: not applicable
Problem: not applicable
REACTO or STAR step: not applicable
Reconnect: not applicable
Sanitized evidence
thread 'agent::turn_taking::tests::explicit_requests_keep_the_floor' panicked at src/agent/../../tests/unit/agent/turn_taking.rs:40:9:
Let me think about it for a moment.
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1087 filtered out
Analysis: is_tail in src/agent/turn_taking.rs:379 accepts the words after a phrase only when they are one entry of TAILS (line 334), or the start of one, plus an optional "please". TAILS lists "about it" and "for a moment" as separate entries, so "about it for a moment" matches neither. "I need to think about this for a second" is missed the same way, through "i need to think" in PHRASES (line 281).
Proposed change: let is_tail take an optional "about it", "about this" or "about that" before one of the existing TAILS, instead of adding every combination to TAILS. The regression test adds the missed requests to the positive list, and adds "Let me think about it for each node" and "Let me think about it for a moment. Okay, I would use a hash map" to the negative list, so an answer that only starts the same way is still not a request. I will open a pull request with this change.
Public data confirmation
- I removed credentials, session tokens, candidate recordings, and personal interview content from this public report.
- Linguagem predominante
- Rust
- Estrelas
- 177
- Forks
- 100
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 209
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de sysprog21/codetrial
-
Allow deselecting a chosen problem card by clicking it againTalvez já em andamento @woohsin assumiu há 5 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
sysprog21/codetrial#392 · 4 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Audio output can be confirmed without playing a test soundTalvez já em andamento @ChenYingHan1121 assumiu há 7 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
sysprog21/codetrial#359 · 5 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Add a Copy code button to the final reportTalvez já em andamento @yansawu assumiu há 8 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
sysprog21/codetrial#318 · 6 comentários · 2 reações · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Add text objects to whiteboard and example drawingTalvez já em andamento @Ethan921001 assumiu hoje. Aberta
sysprog21/codetrial#487 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Navigate to editor lines from compiler diagnosticsTalvez já em andamento @yujoulai assumiu há 1 dia. Aberta
sysprog21/codetrial#486 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de sysprog21/codetrial
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 61/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
rust-embedded/heapless#694 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
farion1231/cc-switch#8899 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
manuscript-lang/manuscript#1364 ·
Mantenedores costumam responder em até 1 dia