Skip to main content

Logging Format & Events

Typing Logs

note

This is where we derived metrics from in paper 1.

Event Types

Event NameDescription
SUGGESTION_GENERATETriggered when a suggestion is generated based on the current user input.
SUGGESTION_SHOWNFired when a generated suggestion is finshed rendering on VSCode and should be shown to the user.
SUGGESTION_TAB_ACCEPTOccurs when the user accepts a suggestion by pressing the Tab key.
SUGGESTION_LINE_REJECTThe user does not type or accept any part of the suggestion. 🔥 This is never used 🔥
RUNThis event is triggered when the IDE run button is clicked.
TYPINGIndicates that the user is actively typing input with snapshots saved.

Log Shape and Examples

log_idcreated_ateventraw_textshown_bugcorrect_lineincorrect_line
adad0171-b567-4272-81d2-069379855ea22025-12-07 18:37:00.157008 +00:00RUN
// Warmup Assignment: Longest Word Finder
//
// Write a few lines of code that prompts the user to enter a series of words,
// stopping when the user has entered the word "quit". The program should then
// print the length of the longest word entered or "no words entered" if no
// words other than "quit" were entered.
//
// Example:
// Input: hello world programming quit
// Output: 11
//
// Example:
// Input: quit
// Output: no words entered

public class Warmup {
public static void main(String[] args) {
// TODO: Implement the program here
✍️
}
}
nullnullnull
aada1eb8-9d89-4fa6-93e0-b2431601d2662025-12-07 18:37:27.342097 +00:00TYPING
// Warmup Assignment: Longest Word Finder
//
// Write a few lines of code that prompts the user to enter a series of words,
// stopping when the user has entered the word "quit". The program should then
// print the length of the longest word entered or "no words entered" if no
// words other than "quit" were entered.
//
// Example:
// Input: hello world programming quit
// Output: 11
//
// Example:
// Input: quit
// Output: no words entered

public class Warmup {
public static void main(String[] args) {
// TODO: Implement the program here

        ✍️
    }
}
nullnullnull
5c9c0b88-f1f9-4b31-ad3f-713fdaecffcf2025-12-07 18:37:31.346670 +00:00SUGGESTION_GENERATE
// Warmup Assignment: Longest Word Finder
//
// Write a few lines of code that prompts the user to enter a series of words,
// stopping when the user has entered the word "quit". The program should then
// print the length of the longest word entered or "no words entered" if no
// words other than "quit" were entered.
//
// Example:
// Input: hello world programming quit
// Output: 11
//
// Example:
// Input: quit
// Output: no words entered

public class Warmup {
public static void main(String[] args) {
// TODO: Implement the program here

        ✍️
    }
}
false
        Scanner scanner = new Scanner(System.in);
        Scanner scanner = new Scanner(string.in);
98893d3b-713b-4f41-b1b2-26ca2674ddf22025-12-07 18:37:31.521456 +00:00SUGGESTION_SHOWN
// Warmup Assignment: Longest Word Finder
//
// Write a few lines of code that prompts the user to enter a series of words,
// stopping when the user has entered the word "quit". The program should then
// print the length of the longest word entered or "no words entered" if no
// words other than "quit" were entered.
//
// Example:
// Input: hello world programming quit
// Output: 11
//
// Example:
// Input: quit
// Output: no words entered

public class Warmup {
public static void main(String[] args) {
// TODO: Implement the program here

        ✍️
    }
}
false
        Scanner scanner = new Scanner(System.in);
        Scanner scanner = new Scanner(string.in);
6e8ffa60-b8fe-463a-a6a1-ee2f5b487e122025-12-07 18:37:33.144596 +00:00SUGGESTION_TAB_ACCEPT
// Warmup Assignment: Longest Word Finder
//
// Write a few lines of code that prompts the user to enter a series of words,
// stopping when the user has entered the word "quit". The program should then
// print the length of the longest word entered or "no words entered" if no
// words other than "quit" were entered.
//
// Example:
// Input: hello world programming quit
// Output: 11
//
// Example:
// Input: quit
// Output: no words entered

public class Warmup {
public static void main(String[] args) {
// TODO: Implement the program here

        Scanner scanner = new Scanner(System.in);
✍️
}
}
false
        Scanner scanner = new Scanner(System.in);
        Scanner scanner = new Scanner(string.in);
danger

Suggestion Logs (will be deprecated)

These were not used for metrics in CLover and were only used on the Clover Website. V2 will consolidate these, typing_log should be considered source of truth and this is here purely for archival reference.

Event Types

Event NameDescription
SUGGESTION_LINE_ACCEPTTriggered when the user accepts a line suggestion using the Tab key.
SUGGESTION_LINE_REJECTFired when the user types instead of hitting the Tab key.
SUGGESTION_SHOWNFired when a generated suggestion is finshed rendering on VSCode and should be shown to the user.
SUGGESTION_TAB_ACCEPTTriggered when the user accepts a suggestion using the Tab key.
TYPINGIndicates that the user is actively typing input.