d+
devoteam
Snowflake Partner

Advanced quiz

Pass threshold: 24/30. Prerequisite: ≥ 3 months of use.

Questions#

0/ 30auto-scored: 0 / 30 · pass 24/30
Q1Multiple choice

What did the 0.1.8 fix change about App Builder's Studio page?#

Q2Multiple choice

What did the 0.1.7 fix change about make audit / CI pip-audit?#

Q3Multiple choice

Which two things did the 0.1.6 fix address?#

Q4Multiple choice

Which JSON Schema error did the 0.1.6 fix specifically avoid?#

Q5Multiple choice

What changed in the 0.1.5 security workflow?#

Q6Multiple choice

What did the 0.1.0 fix change about completed Grep/Glob tool cards?#

Q7Multiple choice

A session raises SDKNotInstalledError. What does this indicate, and what is the fix?#

Q8Multiple choice

A session raises CLIProbeError. What does this mean?#

Q9Multiple choice

A session is stuck on "Starting CoCo…" with no further progress. What is the recommended first diagnostic step?#

Q10Multiple choice

The chat input stays disabled right after the app boots. What is the likely cause and fix?#

Q11Multiple choice

What is the default overwrite behavior of upload_to_cwd(), and how does it differ from chat_input_bar()'s upload default?#

Q12Multiple choice

What does app_viewer()'s log parser look for to detect an error, and what is a known limitation?#

Q13Multiple choice

Why can't app_viewer()'s host app read the previewed app's DOM traceback directly?#

Q14Multiple choice

When does ApprovalTimeoutError fire?#

Q15Multiple choice

Is "Always allow" ever persisted across a Streamlit process restart?#

Q16Multiple choice

What does the CORTEX_CODE_CLI_PATH environment variable override?#

Q17Multiple choice

Which values does is_debug_mode() treat as truthy for STREAMLIT_COCO_DEBUG / COCO_DEBUG?#

Q18Multiple choice

Where is TTS_DATA_MODE read, and what does it affect?#

Q19Multiple choice

What is the status of security finding SEC-01?#

Q20Multiple choice

What is the status of SEC-02?#

Q21Multiple choice

What is the current status of CodeQL in this repository's CI?#

Q22Multiple choice

Which two scanners actually run in security.yml today, and on what triggers?#

Q23multiple choice select all

Which security items are OPEN (not resolved) per the threat model?#

Q24Multiple choice

Per the manual review in findings-report.md (version audited 0.1.0), which of these did the review NOT find in the source?#

Q25Multiple choice

What triggers a CocoSession's background worker to restart?#

Q26Multiple choice

What does wrap_exception() do?#

Q27Multiple choice

What does ApprovalTimeoutError also subclass, alongside CocoError?#

Q28Multiple choice

What does SDKNotInstalledError also subclass, alongside CocoError?#

Q29Multiple choice

What does the CI workflow ci.yml run on every PR to main?#

Q30Multiple choice

Why might make audit have failed spuriously right after a version bump, before the 0.1.7 fix?#

Answer Key#

Every answer is also reachable per question above. This section keeps the full key for offline review and printing.

Show the complete answer key
A1

A — CHANGELOG 0.1.8 Fixed: Save & regenerate now writes BRIEF.md before queuing CoCo, closing the overwrite race.

A2

B — CHANGELOG 0.1.7 Fixed: --skip-editable avoids a false "not found on PyPI" audit failure after a version bump.

A3

B — CHANGELOG 0.1.6 Fixed covers both the $schema/$id stripping and the use_container_width → width="stretch" change.

A4

A — The exact error text cited in 0.1.6's Fixed entry is the draft-URI schema-ref rejection.

A5

B — CHANGELOG 0.1.5 Changed (Security): CodeQL dropped (GHAS license gap), Gitleaks and pip-audit kept.

A6

A — CHANGELOG 0.1.0 Fixed: Grep/Glob completed cards show a compact summary instead of a full dump.

A7

B — SDKNotInstalledError means the optional SDK extra is missing; the fix is pip install streamlit-coco[sdk] or make install.

A8

B — CLIProbeError is specifically "binary found but --version failed," distinct from CLINotFoundError.

A9

B — The troubleshooting table's fix for a stuck connect is checking terminal logs and enabling STREAMLIT_COCO_DEBUG=1.

A10

A — Input disabled after boot maps to SessionNotReadyError/error status; fix the environment and reset from the sidebar.

A11

B — upload_to_cwd()'s own default is overwrite="error"; chat_input_bar() sets its upload_overwrite default to "replace".

A12

A — The parser matches on those two strings; a later timestamped line can be misread as clearing the error.

A13

A — The child preview is another origin (different port), so only the scraped log — not the DOM — is available to "Fix with CoCo."

A14

B — ApprovalTimeoutError fires once approval_timeout_seconds (default 600s) elapses with no decision.

A15

B — "Always allow" lives only in PermissionManager.always_allowed_tools in memory; it clears on reset(), close(), or restart.

A16

B — CORTEX_CODE_CLI_PATH overrides the CLI path lookup when the CLI is not on PATH and cli_path was not passed.

A17

B — is_debug_mode()'s documented truthy set is "1"/"true"/"yes"/"on" (case-insensitive) or a truthy session-state flag.

A18

B — TTS_DATA_MODE is read only inside the bi_to_semantic child preview process, via app_viewer(env=...).

A19

B — SEC-01 is listed open, target v0.2, in threat-model.md §7.

A20

B — SEC-02 is listed open, target v0.2; the security page's current guidance is interim, not the tracked deliverable.

A21

B — 0.1.5 dropped the CodeQL job for license reasons; security.yml today runs only Gitleaks and pip-audit.

A22

B — Gitleaks (CLI) and pip-audit --skip-editable run on PR, push-to-main, and the weekly Monday schedule.

A23

A, B — A, B

A24

A — The manual review explicitly states no shell=True, no hardcoded credentials, and no eval()/exec() were found.

A25

B — options_hash() hashes only the tool-permission-affecting fields; CocoSession restarts its worker only when that hash changes.

A26

B — wrap_exception() message-sniffs the raw exception and uses context= to pick the right CocoError subclass.

A27

B — ApprovalTimeoutError is documented as also a TimeoutError.

A28

A — SDKNotInstalledError is documented as also an ImportError.

A29

A — CI runs unit and e2e tests on every PR to main, without a live CoCo agent; live checks are manual-only.

A30

A — Before 0.1.7, pip-audit without --skip-editable reported the just-bumped local version as missing from PyPI.