<commit_before>
#include <ionEngine.h>

#include <GL/glew.h>
#include <GLFW/glfw3.h>


int main()
{
	if (! glfwInit())
	{
		std::cerr << "Error initializing glfw! " << std::endl;
		WaitForUser();
		exit(33);
	}

	int Count;
	GLFWmonitor ** Monitors = glfwGetMonitors(& Count);

	std::cout << "Monitors: " << std::endl;
	for (int i = 0; i < Count; ++ i)
	{
		int X, Y;
		glfwGetMonitorPhysicalSize(Monitors[i], & X, & Y);
		std::cout << "   [" << i << "] " << glfwGetMonitorName(Monitors[i]) << " " 
			<< X << " x " << Y 
			<< std::endl;
	}

	GLFWwindow * window = 0;
	glfwWindowHint(GLFW_VISIBLE, false);
	if (! (window = glfwCreateWindow(640, 480, "Utility Compile Test", 0, 0)))
	{
		std::cerr << "Error opening glfw window! " << std::endl;
		WaitForUser();
		exit(33);
	}
	glfwMakeContextCurrent(window);

	GLenum err = glewInit();
	if (GLEW_OK != err)
	{
		std::cerr << "Error initializing glew! " << glewGetErrorString(err) << std::endl;
		WaitForUser();
		exit(33);
	}
	
	std::cerr << "Version: " << glGetString(GL_VERSION) << std::endl;
	std::cerr << "GLSL Version: " << glGetString(GL_SHADING_LANGUAGE_VERSION) << std::endl << std::endl;
	std::cerr << "Vender: " << glGetString(GL_VENDOR) << std::endl;
	std::cerr << "Renderer: " << glGetString(GL_RENDERER) << std::endl << std::endl;
	glfwDestroyWindow(window);
	glfwTerminate();

	WaitForUser();

	return 0;
}<commit_msg>+ Some extra diagnostic in UCT<commit_after>
#include <ionEngine.h>

#include <GL/glew.h>
#include <GLFW/glfw3.h>


void ErrorCallback(int ErrorCode, char const * Description)
{
	std::cerr << "GLFW Error!" << std::endl;
	std::cerr << "Error code: " << ErrorCode << std::endl;
	std::cerr << "Error description: " << Description << std::endl;
}

int main()
{
	glfwSetErrorCallback(ErrorCallback);

	if (! glfwInit())
	{
		std::cerr << "Error initializing glfw! " << std::endl;
		WaitForUser();
		exit(33);
	}

	int Count;
	GLFWmonitor ** Monitors = glfwGetMonitors(& Count);

	std::cout << "Monitors (" << Count << "): " << std::endl;
	for (int i = 0; i < Count; ++ i)
	{
		int X, Y;
		glfwGetMonitorPhysicalSize(Monitors[i], & X, & Y);
		std::cout << "   [" << i << "] " << glfwGetMonitorName(Monitors[i]) << " " 
			<< X << " x " << Y 
			<< std::endl;
	}

	GLFWwindow * window = 0;
	glfwWindowHint(GLFW_VISIBLE, false);
	if (! (window = glfwCreateWindow(640, 480, "Utility Compile Test", 0, 0)))
	{
		std::cerr << "Error opening glfw window! " << std::endl;
		std::cerr << "Attempting full screen" << std::endl;
		
		if (! (window = glfwCreateWindow(640, 480, "Utility Compile Test", glfwGetPrimaryMonitor(), 0)))
		{
			std::cerr << "Error opening fullscreen glfw window! " << std::endl;
			WaitForUser();
			exit(34);
		}
	}
	glfwMakeContextCurrent(window);

	GLenum err = glewInit();
	if (GLEW_OK != err)
	{
		std::cerr << "Error initializing glew! " << glewGetErrorString(err) << std::endl;
		WaitForUser();
		exit(35);
	}
	
	std::cerr << std::endl << "OpenGL Version: " << glGetString(GL_VERSION) << std::endl;
	std::cerr << "GLSL Version: " << glGetString(GL_SHADING_LANGUAGE_VERSION) << std::endl << std::endl;
	std::cerr << "Vender: " << glGetString(GL_VENDOR) << std::endl;
	std::cerr << "Renderer: " << glGetString(GL_RENDERER) << std::endl << std::endl;
	glfwDestroyWindow(window);
	glfwTerminate();

	WaitForUser();

	return 0;
}
{'fraction_non_alphanumeric': 0.2006015037593985, 'fraction_numerical': 0.012932330827067668, 'mean_word_length': 4.434640522875817, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1655645', 'n_tokens_mistral': 1371, 'n_tokens_neox': 1283, 'n_words': 266}